diff options
author | wm4 <wm4@nowhere> | 2013-01-24 12:43:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-24 12:43:36 +0100 |
commit | c162b6d64d696e2a7bab2dc6b6e6fe19f671e654 (patch) | |
tree | 0a64497a911c2dffa29ff8c1f133669a92750c87 /stream/cookies.h | |
parent | 64b0395e21ccc3c79f95e37792f66f19245046e7 (diff) | |
download | mpv-c162b6d64d696e2a7bab2dc6b6e6fe19f671e654.tar.bz2 mpv-c162b6d64d696e2a7bab2dc6b6e6fe19f671e654.tar.xz |
vd_lavc: add stupid hack to fix decoding of some files with Libav 0.8.x
The decoder returns with AVFrame.format not correctly set for some h264
files (strangely only some). We have to access AVCodecContext.pix_fmt
instead. On newer libavcodec versions, it's the other way around: the
AVCodecContext.pix_fmt may be incorrectly set on pixel format changes,
and you are supposed to use AVFrame.format.
The same problem probably exists on older ffmpeg versions too.
Diffstat (limited to 'stream/cookies.h')
0 files changed, 0 insertions, 0 deletions