summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-07-23 10:35:03 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-07-23 10:35:03 +0200
commitb60da6223e3cc5f10cac799228c85ec2a7562456 (patch)
tree8fbdac4067cdf9c222c665be52c6545f09d165a3
parentda227c05377f7d49846bccf5699b1c1cf37988ea (diff)
ext: Update for video base classes API changes
-rw-r--r--ext/schroedinger/gstschrodec.c2
-rw-r--r--ext/vp8/gstvp8dec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/schroedinger/gstschrodec.c b/ext/schroedinger/gstschrodec.c
index 77ce8a3ba..939588dd3 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 027e04cb0..ed647bb61 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);