Commit d6108b8f authored by Julien Moutte's avatar Julien Moutte
Browse files

subtitleoverlay: relax caps template on sink pads

Allow any caps on sink pad templates as we could do passthrough with non raw
video caps.
parent e4b68a36
...@@ -57,13 +57,13 @@ GST_DEBUG_CATEGORY_STATIC (subtitle_overlay_debug); ...@@ -57,13 +57,13 @@ GST_DEBUG_CATEGORY_STATIC (subtitle_overlay_debug);
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src", static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-raw-rgb; video/x-raw-yuv")); GST_STATIC_CAPS_ANY);
static GstStaticPadTemplate video_sinktemplate = static GstStaticPadTemplate video_sinktemplate =
GST_STATIC_PAD_TEMPLATE ("video_sink", GST_STATIC_PAD_TEMPLATE ("video_sink",
GST_PAD_SINK, GST_PAD_SINK,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-raw-rgb; video/x-raw-yuv")); GST_STATIC_CAPS_ANY);
static GstStaticPadTemplate subtitle_sinktemplate = static GstStaticPadTemplate subtitle_sinktemplate =
GST_STATIC_PAD_TEMPLATE ("subtitle_sink", GST_STATIC_PAD_TEMPLATE ("subtitle_sink",
......
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