summaryrefslogtreecommitdiff
path: root/ext/webp/gstwebpenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webp/gstwebpenc.c')
-rw-r--r--ext/webp/gstwebpenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/webp/gstwebpenc.c b/ext/webp/gstwebpenc.c
index b813e4e37..75891eafe 100644
--- a/ext/webp/gstwebpenc.c
+++ b/ext/webp/gstwebpenc.c
@@ -163,6 +163,8 @@ gst_webp_enc_class_init (GstWebpEncClass * klass)
static void
gst_webp_enc_init (GstWebpEnc * webpenc)
{
+ GST_PAD_SET_ACCEPT_TEMPLATE (GST_VIDEO_ENCODER_SINK_PAD (webpenc));
+
webpenc->lossless = DEFAULT_LOSSLESS;
webpenc->quality = DEFAULT_QUALITY;
webpenc->speed = DEFAULT_SPEED;