ext: Update for video base classes API changes
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 23 Jul 2012 08:32:36 +0000 (10:32 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 23 Jul 2012 08:32:36 +0000 (10:32 +0200)
ext/jpeg/gstjpegdec.c
ext/libpng/gstpngdec.c

index ea6756d2496cf70b83e502db953b78f5e1e14ce9..0bfce3ed89fb15d74b17872f216270d013f225da 100644 (file)
@@ -1169,7 +1169,7 @@ gst_jpeg_dec_handle_frame (GstVideoDecoder * bdec, GstVideoCodecFrame * frame)
   gst_jpeg_dec_negotiate (dec, width, height, dec->cinfo.jpeg_color_space);
 
   state = gst_video_decoder_get_output_state (bdec);
-  ret = gst_video_decoder_alloc_output_frame (bdec, frame);
+  ret = gst_video_decoder_allocate_output_frame (bdec, frame);
   if (G_UNLIKELY (ret != GST_FLOW_OK))
     goto alloc_failed;
 
index eefe3c98bd1126c17630b23e2836fd09b51202b2..c173343fa71bd0ec2b31f03e9305fb53411fc809 100644 (file)
@@ -134,7 +134,7 @@ user_info_callback (png_structp png_ptr, png_infop info)
 
   /* Allocate output buffer */
   ret =
-      gst_video_decoder_alloc_output_frame (GST_VIDEO_DECODER (pngdec),
+      gst_video_decoder_allocate_output_frame (GST_VIDEO_DECODER (pngdec),
       pngdec->current_frame);
   if (G_UNLIKELY (ret != GST_FLOW_OK))
     GST_DEBUG_OBJECT (pngdec, "failed to acquire buffer");