From a20ba81f9a49e46e56c84c1ec48856affbe15ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 23 Jul 2012 10:33:33 +0200 Subject: [PATCH] ext: Update for video base classes API changes --- ext/mpeg2dec/gstmpeg2dec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/mpeg2dec/gstmpeg2dec.c b/ext/mpeg2dec/gstmpeg2dec.c index 07cd14c48c..1d9a4697ec 100644 --- a/ext/mpeg2dec/gstmpeg2dec.c +++ b/ext/mpeg2dec/gstmpeg2dec.c @@ -330,7 +330,8 @@ gst_mpeg2dec_crop_buffer (GstMpeg2dec * dec, GstVideoCodecFrame * in_frame, dinfo->size, info->width, info->height, info->size); ret = - gst_video_decoder_alloc_output_frame (GST_VIDEO_DECODER (dec), in_frame); + gst_video_decoder_allocate_output_frame (GST_VIDEO_DECODER (dec), + in_frame); if (ret != GST_FLOW_OK) goto beach; @@ -396,7 +397,7 @@ gst_mpeg2dec_alloc_sized_buf (GstMpeg2dec * mpeg2dec, guint size, if (!mpeg2dec->need_cropping || mpeg2dec->has_cropping) { ret = - gst_video_decoder_alloc_output_frame (GST_VIDEO_DECODER (mpeg2dec), + gst_video_decoder_allocate_output_frame (GST_VIDEO_DECODER (mpeg2dec), frame); *buffer = frame->output_buffer; } else {