ext: Update for video base classes API changes

This commit is contained in:
Sebastian Dröge 2012-07-23 10:35:03 +02:00
parent da227c0537
commit b60da6223e
2 changed files with 2 additions and 2 deletions

View file

@ -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),

View file

@ -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);