diff options
Diffstat (limited to 'gst/vmnc/vmncdec.c')
-rw-r--r-- | gst/vmnc/vmncdec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/vmnc/vmncdec.c b/gst/vmnc/vmncdec.c index 54a42ed08..34e63c7bc 100644 --- a/gst/vmnc/vmncdec.c +++ b/gst/vmnc/vmncdec.c @@ -105,6 +105,9 @@ gst_vmnc_dec_class_init (GstVMncDecClass * klass) static void gst_vmnc_dec_init (GstVMncDec * dec) { + 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 |