summaryrefslogtreecommitdiffstats
path: root/video/decode/vd_lavc.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-19 18:28:46 +0100
committerwm4 <wm4@nowhere>2016-02-19 18:28:46 +0100
commitb3804e71af34fa76e17d9bf6d6575383a3a4aa21 (patch)
tree3b25aa697066039ec32d19b37e97dbcfdbfcc770 /video/decode/vd_lavc.c
parentee5ba9678a17368428e0f69029786dfd767d9a63 (diff)
downloadmpv-b3804e71af34fa76e17d9bf6d6575383a3a4aa21.tar.bz2
mpv-b3804e71af34fa76e17d9bf6d6575383a3a4aa21.tar.xz
video: move packet timestamp fudging
There is some strange code which sets the DTS of the packet to PTS (but only if it's not AVI), which apparently helps with timestamp determination with some broken files. This code is annoying because it tries to avoid mutating the packet (which it logically doesn't own). Move it to where it does and get rid of the packet_copy mess. Needed for the following commit.
Diffstat (limited to 'video/decode/vd_lavc.c')
0 files changed, 0 insertions, 0 deletions