Commit 6e673d47 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

ext: Update for video base classes API changes

parent 7b16eb49
......@@ -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;
......@@ -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),
if (G_UNLIKELY (ret != GST_FLOW_OK))
GST_DEBUG_OBJECT (pngdec, "failed to acquire buffer");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment