Commit cd7c7dba authored by Thiago Santos's avatar Thiago Santos

theoraenc: use template subset check for accept-caps

It is faster than doing a query that propagates downstream and
should be enough
parent 5a0bee3f
......@@ -306,6 +306,8 @@ gst_theora_enc_class_init (GstTheoraEncClass * klass)
static void
gst_theora_enc_init (GstTheoraEnc * enc)
{
GST_PAD_SET_ACCEPT_TEMPLATE (GST_VIDEO_ENCODER_SINK_PAD (enc));
enc->video_bitrate = THEORA_DEF_BITRATE;
enc->video_quality = THEORA_DEF_QUALITY;
enc->keyframe_auto = THEORA_DEF_KEYFRAME_AUTO;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment