summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-04-23 21:52:54 +0300
committerUoti Urpala <uau@mplayer2.org>2012-04-23 22:40:57 +0300
commitb255b5ad32fe49e4c01060ae01c67d246b5d6d38 (patch)
treef935dcb5d4b3d6f732319bb17b93e96696492f50 /stream
parente48c6f446c4de708dd9d3b47d3479620208f7430 (diff)
downloadmpv-b255b5ad32fe49e4c01060ae01c67d246b5d6d38.tar.bz2
mpv-b255b5ad32fe49e4c01060ae01c67d246b5d6d38.tar.xz
core: uninitialize VO and AO when no track plays
Uninitialize video and audio outputs when switching to a file without a corresponding track (audio-only file / file with no sound), or when entering --idle mode. Switching track choice to "off" during playback already did this. It could be useful to have a mode where the video window stays open even when no video plays, but implementing that properly would require more than just leaving the window on screen like the code did before this commit.
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions