rpicamsrc: MMAL gives buffers with nal alignment, not AU
Fix the output caps, our buffers are not AU aligned, since the SPS / PPS are given in separate packets at the start.
This commit is contained in:
parent
c785d4f5db
commit
2496d0e859
@ -184,7 +184,7 @@ enum
|
|||||||
"height = " GST_VIDEO_SIZE_RANGE ", " \
|
"height = " GST_VIDEO_SIZE_RANGE ", " \
|
||||||
"framerate = " GST_VIDEO_FPS_RANGE ", " \
|
"framerate = " GST_VIDEO_FPS_RANGE ", " \
|
||||||
"stream-format = (string) byte-stream, " \
|
"stream-format = (string) byte-stream, " \
|
||||||
"alignment = (string) au, " \
|
"alignment = (string) nal, " \
|
||||||
"profile = (string) { baseline, main, high }"
|
"profile = (string) { baseline, main, high }"
|
||||||
|
|
||||||
static GstStaticPadTemplate video_src_template = GST_STATIC_PAD_TEMPLATE ("src",
|
static GstStaticPadTemplate video_src_template = GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user