From b60da6223e3cc5f10cac799228c85ec2a7562456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 23 Jul 2012 10:35:03 +0200 Subject: [PATCH] ext: Update for video base classes API changes --- ext/schroedinger/gstschrodec.c | 2 +- ext/vp8/gstvp8dec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/schroedinger/gstschrodec.c b/ext/schroedinger/gstschrodec.c index 77ce8a3ba5..939588dd39 100644 --- a/ext/schroedinger/gstschrodec.c +++ b/ext/schroedinger/gstschrodec.c @@ -455,7 +455,7 @@ gst_schro_dec_process (GstSchroDec * schro_dec, gboolean eos) state = gst_video_decoder_get_output_state (GST_VIDEO_DECODER (schro_dec)); outbuf = - gst_video_decoder_alloc_output_buffer (GST_VIDEO_DECODER + gst_video_decoder_allocate_output_buffer (GST_VIDEO_DECODER (schro_dec)); schro_frame = gst_schro_buffer_wrap (outbuf, GST_VIDEO_INFO_FORMAT (&state->info), diff --git a/ext/vp8/gstvp8dec.c b/ext/vp8/gstvp8dec.c index 027e04cb0f..ed647bb616 100644 --- a/ext/vp8/gstvp8dec.c +++ b/ext/vp8/gstvp8dec.c @@ -487,7 +487,7 @@ gst_vp8_dec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame) (double) -deadline / GST_SECOND); gst_video_decoder_drop_frame (decoder, frame); } else { - ret = gst_video_decoder_alloc_output_frame (decoder, frame); + ret = gst_video_decoder_allocate_output_frame (decoder, frame); if (ret == GST_FLOW_OK) { gst_vp8_dec_image_to_buffer (dec, img, frame->output_buffer);