0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/common
wm4 f762fc4230 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.
2017-01-24 08:36:40 +01:00
..
av_common.c av_common: remove old/unused timestamp passthrough code 2017-01-24 08:36:40 +01:00
av_common.h av_common: drop unused function 2017-01-24 08:15:38 +01:00
av_log.c Remove compatibility things 2016-12-07 19:53:11 +01:00
av_log.h player: fatal error if linked and compiled FFmpeg versions mismatch 2016-07-01 20:56:59 +02:00
codecs.c options: drop deprecated --vd/--ad codecs selection features 2017-01-19 15:38:58 +01:00
codecs.h options: deprecate codec family selection in --vd/--ad 2016-12-23 18:12:29 +01:00
common.c Initial Android support 2016-02-10 21:29:36 +01:00
common.h common: use char array for version string 2016-09-06 20:08:44 +02:00
encode_lavc.c Prefix libavcodec CODEC_FLAG_ constants with AV_ 2016-12-29 07:37:31 +01:00
encode_lavc.h encode_lavc: Migrate to codecpar API. 2016-04-11 14:57:20 -04:00
encode.h encode: make option struct local 2014-06-11 02:05:07 +02:00
global.h m_config: introduce basic mechanism to synchronize global option updates 2016-09-02 15:50:40 +02:00
msg_control.h player: make --log-file and --dump-stats freely settable at runtime 2016-09-19 19:56:40 +02:00
msg.c msg: flush after every message for --log-file 2016-09-30 14:55:59 +02:00
msg.h Update license headers 2015-04-13 12:10:01 +02:00
playlist.c playlist: improve shuffle algorithm 2016-03-20 19:51:22 +01:00
playlist.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
tags.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
tags.h player: filter tags, add --display-tags option 2014-12-29 22:51:18 +01:00
version.c common: use char array for version string 2016-09-06 20:08:44 +02:00