diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-02-05 16:43:27 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-05 21:16:26 +0100 |
commit | a83b6b077c56341300a271ef4a1aaff19af5235d (patch) | |
tree | d1102b581eafe3be0daa3889080f78bd7dfb16a4 /libavcodec/mpegaudiodecheader.c | |
parent | 15574c505b81d6e92370096eaca6764c13b5fbfc (diff) | |
download | ffmpeg-a83b6b077c56341300a271ef4a1aaff19af5235d.tar.gz |
vp9: assign PTS to visible instead of invisible frames
All the webm/vp9 files I have seen so far can have packets that contain
1 invisible and 1 visible frame. The vp9 parser separates them. Since
the invisible frame is always (?) the first sub-packet, the new packet
is assigned the PTS of the original packet, while the packet containing
the visible frame has no PTS.
This patch essentially reassigns the PTS from the invisible to the
visible frame.
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegaudiodecheader.c')
0 files changed, 0 insertions, 0 deletions