summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-26 21:33:34 +0200
committerwm4 <wm4@nowhere>2015-05-26 21:33:34 +0200
commit3c24250c143237c86d0b3db0b7f8bf429034a448 (patch)
tree0c6e8c90e148d3f362dc0b4f4d468d27954b4981 /player/playloop.c
parent88249baf5bb66e164b17bc53e10441c3c3111e45 (diff)
downloadmpv-3c24250c143237c86d0b3db0b7f8bf429034a448.tar.bz2
mpv-3c24250c143237c86d0b3db0b7f8bf429034a448.tar.xz
command: fix track property when no file is loaded
The previous commit removed this. Although mp_switch_track() can now be called in all situations, we still don't want it to be called here. Setting a track property while no file is loaded would simply deselect the track instead of setting the underlying option to the requested value. Likewise, if the "cycle" command (M_PROPERTY_SWITCH) is used, don't just deselect the track.
Diffstat (limited to 'player/playloop.c')
0 files changed, 0 insertions, 0 deletions