mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 23:42:28 +00:00
h264parse: Put stream-format and alignment into the src template caps
Also remove the parsed field from the sink template caps.
This commit is contained in:
parent
456335eab4
commit
d4147a2798
1 changed files with 4 additions and 2 deletions
|
@ -62,12 +62,14 @@ enum
|
||||||
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("video/x-h264, parsed = (boolean) false"));
|
GST_STATIC_CAPS ("video/x-h264"));
|
||||||
|
|
||||||
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-h264, parsed = (boolean) true"));
|
GST_STATIC_CAPS ("video/x-h264, parsed = (boolean) true, "
|
||||||
|
"stream-format=(string) { avc, byte-stream }, "
|
||||||
|
"alignment=(string) { au, nal }"));
|
||||||
|
|
||||||
GST_BOILERPLATE (GstH264Parse, gst_h264_parse, GstBaseParse,
|
GST_BOILERPLATE (GstH264Parse, gst_h264_parse, GstBaseParse,
|
||||||
GST_TYPE_BASE_PARSE);
|
GST_TYPE_BASE_PARSE);
|
||||||
|
|
Loading…
Reference in a new issue