diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2013-08-15 15:46:58 +0200 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2013-08-15 15:46:58 +0200 |
commit | 2e8af6973fb2cf9c239305d56b3a290fcaa93216 (patch) | |
tree | 4185463b202c8cd23b0e9549dd458fa2bf908fab /sys/vdpau | |
parent | d0ab9172c57379263c019bb4ae835de71e690038 (diff) | |
download | gstreamer-plugins-bad-2e8af6973fb2cf9c239305d56b3a290fcaa93216.tar.gz |
ext: Use new flush vfunc of video codec base classes and remove reset implementations
Diffstat (limited to 'sys/vdpau')
-rw-r--r-- | sys/vdpau/h264/gstvdph264dec.c | 4 | ||||
-rw-r--r-- | sys/vdpau/mpeg/gstvdpmpegdec.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/vdpau/h264/gstvdph264dec.c b/sys/vdpau/h264/gstvdph264dec.c index e5d26ce5b..3fa2488f5 100644 --- a/sys/vdpau/h264/gstvdph264dec.c +++ b/sys/vdpau/h264/gstvdph264dec.c @@ -497,7 +497,7 @@ render_fail: static gboolean -gst_vdp_h264_dec_reset (GstVideoDecoder * video_decoder, gboolean hard) +gst_vdp_h264_dec_flush (GstVideoDecoder * video_decoder) { GstVdpH264Dec *h264_dec = GST_VDP_H264_DEC (video_decoder); @@ -574,7 +574,7 @@ gst_vdp_h264_dec_class_init (GstVdpH264DecClass * klass) video_decoder_class->start = gst_vdp_h264_dec_start; video_decoder_class->stop = gst_vdp_h264_dec_stop; - video_decoder_class->reset = gst_vdp_h264_dec_reset; + video_decoder_class->flush = gst_vdp_h264_dec_flush; video_decoder_class->set_format = gst_vdp_h264_dec_set_format; diff --git a/sys/vdpau/mpeg/gstvdpmpegdec.c b/sys/vdpau/mpeg/gstvdpmpegdec.c index 68cd48ff8..efa836d0d 100644 --- a/sys/vdpau/mpeg/gstvdpmpegdec.c +++ b/sys/vdpau/mpeg/gstvdpmpegdec.c @@ -461,7 +461,7 @@ render_fail: } static gboolean -gst_vdp_mpeg_dec_reset (GstVideoDecoder * video_decoder, gboolean hard) +gst_vdp_mpeg_dec_flush (GstVideoDecoder * video_decoder) { GstVdpMpegDec *mpeg_dec = GST_VDP_MPEG_DEC (video_decoder); @@ -530,7 +530,7 @@ gst_vdp_mpeg_dec_class_init (GstVdpMpegDecClass * klass) video_decoder_class->start = gst_vdp_mpeg_dec_start; video_decoder_class->stop = gst_vdp_mpeg_dec_stop; - video_decoder_class->reset = gst_vdp_mpeg_dec_reset; + video_decoder_class->flush = gst_vdp_mpeg_dec_flush; video_decoder_class->handle_frame = gst_vdp_mpeg_dec_handle_frame; video_decoder_class->set_format = gst_vdp_mpeg_dec_set_format; |