mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
rtph264depay: add stream-format and alignment fields to src template caps
Because we can. And so we get a warning if we try to output avc with nal alignment or somesuch. https://bugzilla.gnome.org/show_bug.cgi?id=606662
This commit is contained in:
parent
dca42d4767
commit
6872b40873
1 changed files with 5 additions and 2 deletions
|
@ -46,10 +46,13 @@ enum
|
|||
static const guint8 sync_bytes[] = { 0, 0, 0, 1 };
|
||||
|
||||
static GstStaticPadTemplate gst_rtp_h264_depay_src_template =
|
||||
GST_STATIC_PAD_TEMPLATE ("src",
|
||||
GST_STATIC_PAD_TEMPLATE ("src",
|
||||
GST_PAD_SRC,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("video/x-h264")
|
||||
GST_STATIC_CAPS ("video/x-h264, "
|
||||
"stream-format = (string) avc, alignment = (string) au; "
|
||||
"video/x-h264, "
|
||||
"stream-format = (string) byte-stream, alignment = (string) { nal, au }")
|
||||
);
|
||||
|
||||
static GstStaticPadTemplate gst_rtp_h264_depay_sink_template =
|
||||
|
|
Loading…
Reference in a new issue