vp8dec: Call gst_video_decoder_negotiate()

This commit is contained in:
Edward Hervey 2012-07-19 09:05:28 +02:00
parent 54bfdebd9f
commit 508e4e7e9f

View file

@ -416,6 +416,7 @@ open_codec (GstVP8Dec * dec, GstVideoCodecFrame * frame)
dec->output_state =
gst_video_decoder_set_output_state (GST_VIDEO_DECODER (dec),
GST_VIDEO_FORMAT_I420, stream_info.w, stream_info.h, state);
gst_video_decoder_negotiate (GST_VIDEO_DECODER (dec));
gst_vp8_dec_send_tags (dec);
cfg.w = stream_info.w;