ext: Update for video base classes API changes
This commit is contained in:
parent
da227c0537
commit
b60da6223e
@ -455,7 +455,7 @@ gst_schro_dec_process (GstSchroDec * schro_dec, gboolean eos)
|
|||||||
state =
|
state =
|
||||||
gst_video_decoder_get_output_state (GST_VIDEO_DECODER (schro_dec));
|
gst_video_decoder_get_output_state (GST_VIDEO_DECODER (schro_dec));
|
||||||
outbuf =
|
outbuf =
|
||||||
gst_video_decoder_alloc_output_buffer (GST_VIDEO_DECODER
|
gst_video_decoder_allocate_output_buffer (GST_VIDEO_DECODER
|
||||||
(schro_dec));
|
(schro_dec));
|
||||||
schro_frame =
|
schro_frame =
|
||||||
gst_schro_buffer_wrap (outbuf, GST_VIDEO_INFO_FORMAT (&state->info),
|
gst_schro_buffer_wrap (outbuf, GST_VIDEO_INFO_FORMAT (&state->info),
|
||||||
|
@ -487,7 +487,7 @@ gst_vp8_dec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame)
|
|||||||
(double) -deadline / GST_SECOND);
|
(double) -deadline / GST_SECOND);
|
||||||
gst_video_decoder_drop_frame (decoder, frame);
|
gst_video_decoder_drop_frame (decoder, frame);
|
||||||
} else {
|
} else {
|
||||||
ret = gst_video_decoder_alloc_output_frame (decoder, frame);
|
ret = gst_video_decoder_allocate_output_frame (decoder, frame);
|
||||||
|
|
||||||
if (ret == GST_FLOW_OK) {
|
if (ret == GST_FLOW_OK) {
|
||||||
gst_vp8_dec_image_to_buffer (dec, img, frame->output_buffer);
|
gst_vp8_dec_image_to_buffer (dec, img, frame->output_buffer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user