1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 17:12:36 +00:00
mpv/player
wm4 8135838018 player: eliminate demux_get_next_pts()
This slightly changes behavior when seeking with external audio/subtitle
tracks if transport streams and mpeg files are played, as well as
behavior when seeking with such external tracks.

get_main_demux_pts() is evil because it always blocks on the demuxer (if
there isn't already a packet queued). Thus it could lock up the player,
which is a shame because all other possible causes have been removed.

The reduced "precision" when seeking in the ts/mpeg cases (where
SEEK_FACTOR is used, resulting in byte seeks instead of timestamp seeks)
might lead to issues. We should probably drop this heuristic. (It was
introduced because there is no other way to seek in files with PTS
resets with libavformat, but its value is still questionable.)
2016-01-11 20:36:23 +01:00
..
lua ytdl: Include Referer header as well 2016-01-10 14:30:31 +01:00
audio.c player: detect audio PTS jumps, make video PTS heuristic less aggressive 2016-01-09 20:39:28 +01:00
client.c client API: disallow masking MPV_EVENT_SHUTDOWN 2015-12-02 23:08:43 +01:00
client.h vo_opengl_cb: don't render OSD while VO is not created 2015-03-23 16:32:59 +01:00
command.c command: replace ROUND() with lrint() 2015-12-26 18:36:45 +01:00
command.h video: always re-probe auto deint filter on filter reconfig 2015-07-21 21:54:15 +02:00
configfiles.c player: make watch later/resume work when "playing" directories 2016-01-06 22:40:55 +01:00
core.h player: eliminate demux_get_next_pts() 2016-01-11 20:36:23 +01:00
external_files.c player: fix previous commit 2015-12-25 13:40:06 +01:00
external_files.h player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
loadfile.c player: eliminate demux_get_next_pts() 2016-01-11 20:36:23 +01:00
lua.c osd: delay libass initialization as far as possible 2015-09-07 14:26:01 +02:00
main.c Update copyright year 2016-01-01 00:18:40 +01:00
misc.c player: eliminate demux_get_next_pts() 2016-01-11 20:36:23 +01:00
osd.c osd: do not let OSD messages overwrite --osd-msgN text 2015-11-29 17:56:08 +01:00
playloop.c player: eliminate demux_get_next_pts() 2016-01-11 20:36:23 +01:00
screenshot.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
screenshot.h client API: add a screenshot_raw command 2015-04-20 23:11:03 +02:00
scripting.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
sub.c sub: change how subtitles are read 2015-12-29 01:35:52 +01:00
video.c player: detect audio PTS jumps, make video PTS heuristic less aggressive 2016-01-09 20:39:28 +01:00