diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2021-04-20 20:04:33 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-08-24 23:42:27 +0100 |
commit | 67a49be61fadaf264daf08619d66e92d86d9a333 (patch) | |
tree | f9bc53748d291545a920dcc9509a1c729cbd1fac /docs | |
parent | 90c1732849c0233dd428d578ebbc481c23a36f4d (diff) | |
download | gstreamer-plugins-bad-67a49be61fadaf264daf08619d66e92d86d9a333.tar.gz |
openh264enc: fix broken header AU emission by base class
This encoder advertises alignment=au as output format, which means
each output frame should contain a full decodable access unit.
The video encoder base class is not aware of our output alignment
and will output spurious buffers with just the SPS/PPS inside when
we call gst_video_encoder_set_headers(), which is broken because
each buffer is supposed to contain a full decodable access unit
in our case.
Just don't tell the base class about our headers, they will be
sent at the beginning of each IDR frame anyway.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2178>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions