0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/player
wm4 78f0cb9281 command: sub_add with "auto" should not always select a subtitle track
Running "sub_add file.srt auto" during hook execution automatically
selected the first added track. This happened because all tracks added
with sub_add are marked as "external", and external subtitles are always
selected by default.

Fix this by negating the "external" flag when autoselecting subtitles
during loading. The no_default flag exists for this purpose; it was
probably added for libquvi originally, where we had the same issue.
2014-11-27 18:57:18 +01:00
..
lua ytdl: bump requrired youtube-dl version to 2014.11.26 2014-11-26 17:41:15 +01:00
timeline player: always use demux_chapter 2014-11-02 17:29:41 +01:00
audio.c audio: alternative fix for previous commit 2014-11-27 18:52:22 +01:00
client.c client API: make sure youtube-dl is not used by default 2014-11-25 17:27:19 +01:00
client.h input, lua: redo input handling 2014-11-23 15:13:35 +01:00
command.c command: sub_add with "auto" should not always select a subtitle track 2014-11-27 18:57:18 +01:00
command.h command: add window-minimized property (X11 only) 2014-11-02 20:55:07 +01:00
configfiles.c Remove some superfluous NULL checks 2014-11-21 05:18:09 +01:00
core.h command: improve A-B loop behavior 2014-11-18 20:28:54 +01:00
discnav.c sd_lavc: strictly letter-box PGS subtitles 2014-10-21 11:37:32 +02:00
loadfile.c sub: workaround braindead libass API 2014-11-15 19:43:43 +01:00
lua.c lua, ipc: remove leftovers 2014-11-24 10:33:55 +01:00
main_fn.c cocoa: fix build by using the correct HAVE_* macro 2014-08-06 09:31:59 +02:00
main.c player: improve exit message in some scenarios 2014-10-31 00:51:52 +01:00
misc.c player: don't display zero duration for files with unknown duration 2014-10-29 21:54:59 +01:00
osd.c command: improve A-B loop behavior 2014-11-18 20:28:54 +01:00
playloop.c player: don't try to use duration 0 2014-11-10 18:11:33 +01:00
screenshot.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
screenshot.h Move mpvcore/player/ to player/ 2013-12-17 00:53:22 +01:00
scripting.c player: integrate ytdl_hook.lua 2014-11-19 18:59:38 +01:00
sub.c player: don't crash when using sub_seek without subtitles 2014-11-23 15:13:35 +01:00
video.c Remove some superfluous NULL checks 2014-11-21 05:18:09 +01:00