aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_mpeg4.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2011-04-20 21:43:29 -0700
committerPhilip Langdale <philipl@overt.org>2011-04-30 09:47:28 -0700
commit8de45adb37bb0591626645e1f7d1303339b2bc9f (patch)
tree9ffa3296040ccfd5cc726ff0b32f5375511e0f81 /libavcodec/vaapi_mpeg4.c
parentd5551265f3004d70bb349aa06bc16ce3225c6f4d (diff)
downloadffmpeg-8de45adb37bb0591626645e1f7d1303339b2bc9f.tar.gz
CrystalHD: Add auto-detection of packed b-frame bug.
I still don't fully understand the cause but the difference between the samples that trigger the bug and the samples that don't is that the former uses delay frames and the later uses drop frames as placeholders for the packed frame. So, if we see the one type of frame, we can assume the bug will or won't be present. Right now, I'm detecting the frame types by size, which may not be safe in general, but given the specific codec and file type, I expect any scenario where we encounter these frames where they aren't being used for b-frame packing won't care one way or another whether the work around is in effect or not. Signed-off-by: Philip Langdale <philipl@overt.org>
Diffstat (limited to 'libavcodec/vaapi_mpeg4.c')
0 files changed, 0 insertions, 0 deletions