summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2018-04-15 18:39:45 -0700
committerJan Ekström <jeebjp@gmail.com>2018-04-17 01:01:50 +0300
commitb8de7d6ff3749e1edc66b8c675c2cce41ef866d6 (patch)
tree1c15cfd9afffc62b6aa329ef265382debef74367 /player/command.c
parentc2a24323bca735e68b002622c1083157f4efdf0c (diff)
downloadmpv-b8de7d6ff3749e1edc66b8c675c2cce41ef866d6.tar.bz2
mpv-b8de7d6ff3749e1edc66b8c675c2cce41ef866d6.tar.xz
demux, player: mark dependent tracks
ffmpeg marks audio tracks which are not meant to be played standalone as DEPENDENT. these are typically used in DVB broadcasts for audio descriptions, and are meant to be mixed into the main audio track during playback.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index 70a0f824a8..7a144e597b 100644
--- a/player/command.c
+++ b/player/command.c
@@ -2242,6 +2242,7 @@ static int get_track_entry(int item, int action, void *arg, void *ctx)
{"albumart", SUB_PROP_FLAG(track->attached_picture)},
{"default", SUB_PROP_FLAG(track->default_track)},
{"forced", SUB_PROP_FLAG(track->forced_track)},
+ {"dependent", SUB_PROP_FLAG(track->dependent_track)},
{"external", SUB_PROP_FLAG(track->is_external)},
{"selected", SUB_PROP_FLAG(track->selected)},
{"external-filename", SUB_PROP_STR(track->external_filename),