GNOME Bugzilla – Bug 750635
vtenc: add alignment=au to sink caps
Last modified: 2015-06-10 08:44:14 UTC
VT compression callback gets a CMSampleBuffer per frame, so vtenc_h264 should indicate 'alignment=au' in caps. This will allow 'vtenc_h264 ! vtdec' to work as expected.
Created attachment 304900 [details] [review] vtenc: add alignment=au to sink caps
commit 5db08a8b89d0b9f2db16b0dff315242ae0b59c1f Author: Ilya Konstantinov <ilya.konstantinov@gmail.com> Date: Wed Jun 10 00:16:27 2015 +0300 vtenc: add alignment=au to sink caps VT compression callback gets a CMSampleBuffer per frame, so vtenc_h264 should set 'alignment=au' in sink caps to indicate this. https://bugzilla.gnome.org/show_bug.cgi?id=750635
Just to be sure, stream-format=avc is always au-aligned, so perhaps something else needs fixing for this too. It's good to put it into the caps of course.
vtdec just has stream-format=avc,alignment=au in the caps. I don't think it should drop the alignment, even if it's strictly speaking redundant