diff options
author | wm4 <wm4@nowhere> | 2017-01-24 08:36:40 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-24 08:36:40 +0100 |
commit | f762fc42308590c609a42d23c1f2d75091acdcee (patch) | |
tree | 59bdc24bb39de0caf23c95ac6508f8db5c756307 /.travis.yml | |
parent | d16ba1f7f6f95f4f2116ae75e939a732592334d0 (diff) | |
download | mpv-f762fc42308590c609a42d23c1f2d75091acdcee.tar.bz2 mpv-f762fc42308590c609a42d23c1f2d75091acdcee.tar.xz |
av_common: remove old/unused timestamp passthrough code
This attempted to pass through double float timestamps in a bit exact
way by reinterpret casting them to int64_t. This usually worked, because
libavcodec (in decoding mode) is mostly not allowed to interpret
timestamps. libavcodec doesn't even know the unit of the timestamps,
unless the API user sets a timebase.
We've stopped doing this, and always set a timebase. Only ad_spdif.c
still used this (indirectly through mp_set_av_packet()), but doesn't
actually need timestamps on the packet. In fact, it's already explicitly
setting the packet timestamp fields to 0 before passing it to FFmpeg
API.
This code is unused, and the passthrough method wasn't terribly elegant
to begin with. Drop this code. Arbitrarily use AV_TIME_BASE_Q as
fallback in situations the passthrough was used.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions