From 2496d0e859829e3970d8a1ac2a695e1561f61f2e Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 21 Jul 2016 02:29:57 +1000 Subject: [PATCH] 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. --- sys/rpicamsrc/gstrpicamsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/rpicamsrc/gstrpicamsrc.c b/sys/rpicamsrc/gstrpicamsrc.c index e8e3b7a21a..e5cb5afb21 100644 --- a/sys/rpicamsrc/gstrpicamsrc.c +++ b/sys/rpicamsrc/gstrpicamsrc.c @@ -184,7 +184,7 @@ enum "height = " GST_VIDEO_SIZE_RANGE ", " \ "framerate = " GST_VIDEO_FPS_RANGE ", " \ "stream-format = (string) byte-stream, " \ - "alignment = (string) au, " \ + "alignment = (string) nal, " \ "profile = (string) { baseline, main, high }" static GstStaticPadTemplate video_src_template = GST_STATIC_PAD_TEMPLATE ("src",