ffmpegviddec: Update for video base classes API changes

This commit is contained in:
Sebastian Dröge 2012-07-23 10:34:23 +02:00
parent 7cdd4fdbe1
commit 941f4c331b

View file

@ -577,7 +577,7 @@ gst_ffmpegviddec_get_buffer (AVCodecContext * context, AVFrame * picture)
goto no_dr;
ret =
gst_video_decoder_alloc_output_frame (GST_VIDEO_DECODER (ffmpegdec),
gst_video_decoder_allocate_output_frame (GST_VIDEO_DECODER (ffmpegdec),
frame);
if (ret != GST_FLOW_OK)
goto alloc_failed;
@ -934,7 +934,7 @@ get_output_buffer (GstFFMpegVidDec * ffmpegdec, GstVideoCodecFrame * frame)
GST_LOG_OBJECT (ffmpegdec, "get output buffer");
ret =
gst_video_decoder_alloc_output_frame (GST_VIDEO_DECODER (ffmpegdec),
gst_video_decoder_allocate_output_frame (GST_VIDEO_DECODER (ffmpegdec),
frame);
if (G_UNLIKELY (ret != GST_FLOW_OK))
goto alloc_failed;