diff --git a/ext/vpx/gstvp8dec.c b/ext/vpx/gstvp8dec.c index d583e1f4e3..5efcdd3967 100644 --- a/ext/vpx/gstvp8dec.c +++ b/ext/vpx/gstvp8dec.c @@ -205,6 +205,8 @@ gst_vp8_dec_init (GstVP8Dec * gst_vp8_dec) gst_vp8_dec->post_processing_flags = DEFAULT_POST_PROCESSING_FLAGS; gst_vp8_dec->deblocking_level = DEFAULT_DEBLOCKING_LEVEL; gst_vp8_dec->noise_level = DEFAULT_NOISE_LEVEL; + + gst_video_decoder_set_needs_format (decoder, TRUE); } static void diff --git a/ext/vpx/gstvp9dec.c b/ext/vpx/gstvp9dec.c index b5babc2cb3..e8d5941ff1 100644 --- a/ext/vpx/gstvp9dec.c +++ b/ext/vpx/gstvp9dec.c @@ -205,6 +205,8 @@ gst_vp9_dec_init (GstVP9Dec * gst_vp9_dec) gst_vp9_dec->post_processing_flags = DEFAULT_POST_PROCESSING_FLAGS; gst_vp9_dec->deblocking_level = DEFAULT_DEBLOCKING_LEVEL; gst_vp9_dec->noise_level = DEFAULT_NOISE_LEVEL; + + gst_video_decoder_set_needs_format (decoder, TRUE); } static void