diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-10-25 00:15:55 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-11-12 15:59:45 +0000 |
commit | ff007e30d8d45ba1ff2b2a4615f1cd5bafb50626 (patch) | |
tree | 8ab3df25bcabcecaaabd7eea5bd02931761f0514 /libavcodec/lzf.h | |
parent | 5c22c90c1d5050f1206e46494b193320ac2397cb (diff) | |
download | ffmpeg-ff007e30d8d45ba1ff2b2a4615f1cd5bafb50626.tar.gz |
vaapi_h264: Add workaround for bad SEI in old Intel drivers
With pre-2.0 Intel drivers in CBR mode, if an explicit SEI message with
the old (now deprecated) type is not included, the driver generates and
inserts some timing SEI which is almost certainly invlaid. Before
7a4fac5e91789b73e07bd4ad20493cfde028df76 we always inserted our own SEI
so this would not be visible, but since then it has been possible to
disable that. We would also like to avoid using the deprecated type,
and using the new type, while working in old drivers, does not suppress
the spurious message like the old type does.
Therefore, suppress the bad SEI insertion by providing a zero-length
buffer with the old type, which the driver can insert harmlessly.
Diffstat (limited to 'libavcodec/lzf.h')
0 files changed, 0 insertions, 0 deletions