mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
v4l2slh264dec: Support avc and avc3 formats
h264decoder baseclass provides parsed sps/pps (from codec data) for subclass. Also, since current implementation is putting start code prefix manually, the format of stream should not be matter for subclass. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1214>
This commit is contained in:
parent
4e9030a0b6
commit
ac850fd25d
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ static GstStaticPadTemplate sink_template =
|
|||
GST_STATIC_PAD_TEMPLATE (GST_VIDEO_DECODER_SINK_NAME,
|
||||
GST_PAD_SINK, GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("video/x-h264, "
|
||||
"stream-format=(string) byte-stream, alignment=(string) au")
|
||||
"stream-format=(string) { avc, avc3, byte-stream }, "
|
||||
"alignment=(string) au")
|
||||
);
|
||||
|
||||
static GstStaticPadTemplate src_template =
|
||||
|
|
Loading…
Reference in a new issue