diff options
author | wm4 <wm4@nowhere> | 2015-05-26 21:42:34 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-26 21:42:34 +0200 |
commit | 51654d2ad54712599bc6c0b1141e0d0b7a9f6959 (patch) | |
tree | 21813c61bc65c5426a5fe9e8eeca99ff16f2c65f /misc/bstr.c | |
parent | 3c24250c143237c86d0b3db0b7f8bf429034a448 (diff) | |
download | mpv-51654d2ad54712599bc6c0b1141e0d0b7a9f6959.tar.bz2 mpv-51654d2ad54712599bc6c0b1141e0d0b7a9f6959.tar.xz |
command: better choice when to allow playback-related commands
For certain reasons, we allow adding external tracks even before the
main file is loaded. This somewhat breaks in old assumption, which uses
mpctx->num_sources to determine whether a command can be applied in the
current state. Use the newer playback_initialized instead, which is a
much better choice for this purpose.
Diffstat (limited to 'misc/bstr.c')
0 files changed, 0 insertions, 0 deletions