mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
timecodestamper: Require a non-0/1 framerate on the pad templates
We reject caps with other framerates as it's impossible to generate timecodes unless we actually know a constant framerate. Reflect this also in the pad template caps.
This commit is contained in:
parent
2386385822
commit
5002efbf8d
1 changed files with 2 additions and 2 deletions
|
@ -87,14 +87,14 @@ static GstStaticPadTemplate gst_timecodestamper_src_template =
|
|||
GST_STATIC_PAD_TEMPLATE ("src",
|
||||
GST_PAD_SRC,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("video/x-raw")
|
||||
GST_STATIC_CAPS ("video/x-raw, framerate=[1/2147483647, 2147483647/1]")
|
||||
);
|
||||
|
||||
static GstStaticPadTemplate gst_timecodestamper_sink_template =
|
||||
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("video/x-raw")
|
||||
GST_STATIC_CAPS ("video/x-raw, framerate=[1/2147483647, 2147483647/1]")
|
||||
);
|
||||
|
||||
static GstStaticPadTemplate gst_timecodestamper_ltc_template =
|
||||
|
|
Loading…
Reference in a new issue