diff options
Diffstat (limited to 'ext/webp/gstwebpdec.c')
-rw-r--r-- | ext/webp/gstwebpdec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/webp/gstwebpdec.c b/ext/webp/gstwebpdec.c index 585840d5f..6877cd457 100644 --- a/ext/webp/gstwebpdec.c +++ b/ext/webp/gstwebpdec.c @@ -139,6 +139,9 @@ gst_webp_dec_init (GstWebPDec * dec) dec->bypass_filtering = FALSE; dec->no_fancy_upsampling = FALSE; dec->use_threads = FALSE; + 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 gboolean |