diff options
Diffstat (limited to 'ext/daala/gstdaaladec.c')
-rw-r--r-- | ext/daala/gstdaaladec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/daala/gstdaaladec.c b/ext/daala/gstdaaladec.c index 74302bf39..0cf4f63da 100644 --- a/ext/daala/gstdaaladec.c +++ b/ext/daala/gstdaaladec.c @@ -131,6 +131,9 @@ gst_daala_dec_init (GstDaalaDec * dec) * but is not marked that way so data gets parsed and keyframes marked */ gst_video_decoder_set_packetized (GST_VIDEO_DECODER (dec), FALSE); gst_video_decoder_set_needs_format (GST_VIDEO_DECODER (dec), TRUE); + gst_video_decoder_set_use_default_pad_acceptcaps (GST_VIDEO_DECODER_CAST + (dec), TRUE); + GST_PAD_SET_ACCEPT_TEMPLATE (GST_VIDEO_DECODER_SINK_PAD (dec)); } static void |