summaryrefslogtreecommitdiffstats
path: root/audio/chmap.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-29 12:46:12 +0200
committerwm4 <wm4@nowhere>2016-08-29 12:46:12 +0200
commit0110b738d5d37a0f7cafd522b89017436f7cfd73 (patch)
treefe5ee235a24d6e51804b3a959f535c0f19661513 /audio/chmap.c
parentbda614bfd81ae4660ed6356bc124e015645ff3b0 (diff)
downloadmpv-0110b738d5d37a0f7cafd522b89017436f7cfd73.tar.bz2
mpv-0110b738d5d37a0f7cafd522b89017436f7cfd73.tar.xz
vd_lavc, ad_lavc: set pkt_timebase, not time_base
These are different AVCodecContext fields. pkt_timebase is the correct one for identifying the unit of packet/frame timestamps when decoding, while time_base is for encoding. Some decoders also overwrite the time_base field with some unrelated codec metadata. pkt_timebase does not exist in Libav, so an #if is required.
Diffstat (limited to 'audio/chmap.c')
0 files changed, 0 insertions, 0 deletions