av1parse: Use the intersected caps to decide the alignment.
authorHe Junyan <junyan.he@intel.com>
Thu, 3 Mar 2022 14:38:56 +0000 (22:38 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 4 Mar 2022 21:58:15 +0000 (21:58 +0000)
commit81bae87079a85776ace8c7d9c32cb272502df95d
treed5304e19ffe0fa4287f49438f17c52ed8f0e8a93
parentccd1ed9cbc5217887b555f63070c4529eeb380ab
av1parse: Use the intersected caps to decide the alignment.

When we negotiate with downstream, We should use the intersected
caps of input and output to decide the alignment and stream format.
The current code just uses the input caps which may lack the stream
format.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1837>
subprojects/gst-plugins-bad/gst/videoparsers/gstav1parse.c