mpv/player
wm4 80d43ee4e6 player: when loading external file, always add all track types
Until now, using --sub-file would add only subtitle tracks from the
given file. (E.g. if you passed a video file, only the subtitle tracks
from it were added, not the video or audio tracks.)

This is slightly messy (because streams are hidden), and users don't
even want it, as shown by #5132. Change it to always add all streams.
But if there's no stream of the wanted type, we still report an error
and do not add any streams. It's also made sure none of the other track
types are autoselected.

Also adjust the error messages on load failure slightly.

Fixes #5132.
2017-12-07 23:48:16 -08:00
..
javascript js: add javascript scripting support using MuJS 2017-06-14 12:29:32 +02:00
lua Revert "ytdl: handle HLS with FFmpeg" 2017-12-07 00:46:27 -08:00
audio.c audio: fix missing volume update on init and reinit 2017-12-01 21:18:06 +01:00
client.c client: Allow "C.UTF-8" as LC_NUMERIC locale 2017-11-30 21:06:37 +02:00
client.h
command.c vd_lavc: rewrite how --hwdec is handled 2017-12-01 21:11:43 +01:00
command.h build: add preliminary LGPL mode 2017-09-21 13:56:27 +02:00
configfiles.c player: change default section when loading encoding-profiles.conf 2017-07-12 13:11:14 +02:00
core.h player: use start timestamp for ab-looping if --ab-loop-a is absent 2017-12-03 22:23:24 -05:00
external_files.c player: match subtitles with language tags with --sub-auto=exact 2017-11-27 19:45:13 +01:00
external_files.h external_files: change license to LGPL 2017-06-20 14:22:10 +02:00
javascript.c js: fix broken mp.set_property_number, mp.set_property_native 2017-09-23 14:41:17 +03:00
lavfi.c lavfi: fix warnings with newer libavfilter versions 2017-10-27 18:09:08 +02:00
lavfi.h audio: introduce a new type to hold audio frames 2017-08-16 21:10:54 +02:00
loadfile.c player: when loading external file, always add all track types 2017-12-07 23:48:16 -08:00
lua.c lua: integrate stats.lua script 2017-10-09 20:47:33 +02:00
main.c player: log if NDEBUG is defined 2017-11-04 17:48:30 +01:00
misc.c player/misc.c: allow both --length and --end to control play endpoint 2017-12-04 12:34:02 -05:00
osd.c player/osd.c: fix putting --start time on OSD 2017-12-05 17:15:08 -05:00
playloop.c player/playloop.c: fix --loop-file without --start 2017-12-05 14:36:47 -05:00
screenshot.c screenshot: create directories from template 2017-11-02 17:07:35 +01:00
screenshot.h
scripting.c scripting: report dlerror() output 2017-12-01 21:13:48 +01:00
sub.c player: change license of most core files to LGPL 2017-06-23 16:55:02 +02:00
video.c Fix various typos in log messages 2017-12-03 21:24:18 +01:00