vp8dec: Call gst_video_decoder_negotiate()
authorEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 19 Jul 2012 07:05:28 +0000 (09:05 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 14 Aug 2012 17:07:47 +0000 (19:07 +0200)
ext/vp8/gstvp8dec.c

index 61171296803c7d8b15b2a7ee05561bae0f355d97..98ef61cf123f230222a04c4152cedd7c50c900fc 100644 (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;