trav90
74ccd45360
[FFmpeg] Don't define AV_CODEC_ID_VPx with libavcodec 58
2019-02-16 00:23:11 +08:00
trav90
5949fc61dc
[FFmpeg] Use new decode API with recent FFmpeg version.
...
In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.
2019-02-16 00:23:10 +08:00
trav90
ecc55bc615
Add missing includes to FFmpegLibWrapper
2019-02-16 00:16:54 +08:00
trav90
c582c801da
[ffmpeg] Always allocate memory to pass extradata
...
Despite wording of the documentation to the contrary, we can't provide a static pointer to an immutable object.
2019-02-16 00:15:04 +08:00
trav90
d87cc84005
Add support for libavcodec 58/FFmpeg 4.0
2019-02-15 23:55:35 +08:00
trav90
e44a157583
Import FFmpeg 4.0 header files
2019-02-15 23:55:34 +08:00
trav90
aeea23c315
[FFmpeg] Work around a bug with corrupted data
...
According to FFmpeg documentation, the out parameter is "set to size of parsed buffer or zero if not yet finished." however this is only the case if no error occurred; otherwise it is left untouched. We want the invalid content to generate a decoding error, so we set size to inputSize to ensure decoding failed later.
2019-02-15 23:51:53 +08:00
Roy Tam
dcd9973243
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
2018-01-19 03:59:58 +08:00