From 6e673d47967e320bb3c12e3a6c7a42e2808ba170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 23 Jul 2012 10:32:36 +0200 Subject: [PATCH] ext: Update for video base classes API changes --- ext/jpeg/gstjpegdec.c | 2 +- ext/libpng/gstpngdec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index ea6756d249..0bfce3ed89 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -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; diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c index eefe3c98bd..c173343fa7 100644 --- a/ext/libpng/gstpngdec.c +++ b/ext/libpng/gstpngdec.c @@ -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");