av1parse: set the default alignment for input and output.
authorHe Junyan <junyan.he@intel.com>
Sat, 23 Jan 2021 15:25:30 +0000 (23:25 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 26 Jan 2021 12:22:31 +0000 (12:22 +0000)
commitdb134d27a078c21c249d5c6e77ba4c6bbd3b72ea
tree6d38f1608655e14cba1f06f59e834a5a14cadbd2
parentbe7a9e29df36875bf7b755f07e22b236fb0fa511
av1parse: set the default alignment for input and output.

1. Set the default output alignment to frame, rather than current
   alignment of obu. This make it the same behaviour as h264/h265
   parse, which default align to AU.
2. Set the default input alignment to byte. It can handle the "not
   enough data" error while the OBU alignment can not. Also make it
   conform to the comments.

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