diff options
author | wm4 <wm4@nowhere> | 2013-11-10 00:49:13 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-10 00:49:13 +0100 |
commit | 1a5c863a326f775d94dd995155d1d78448aef6d1 (patch) | |
tree | 5e6eefff5aa747dd5e1868888ba95a9c5d5105c0 /mpvcore/player/video.c | |
parent | 87ab30669c07ec4282cafb0f7ce86015a64b5cc0 (diff) | |
download | mpv-1a5c863a326f775d94dd995155d1d78448aef6d1.tar.bz2 mpv-1a5c863a326f775d94dd995155d1d78448aef6d1.tar.xz |
player: set PulseAudio stream title to window title
Set the PulseAudio stream title, just like the VO window title is set.
Refactor update_vo_window_title() so that we can use it for AOs too.
The ao_pulse.c bit is stolen from MPlayer.
Diffstat (limited to 'mpvcore/player/video.c')
-rw-r--r-- | mpvcore/player/video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/player/video.c b/mpvcore/player/video.c index 8f57bd97ad..aec5d1c703 100644 --- a/mpvcore/player/video.c +++ b/mpvcore/player/video.c @@ -125,7 +125,7 @@ int reinit_video_chain(struct MPContext *mpctx) sh_video->hwdec_info = talloc_zero(sh_video, struct mp_hwdec_info); vo_control(mpctx->video_out, VOCTRL_GET_HWDEC_INFO, sh_video->hwdec_info); - update_vo_window_title(mpctx); + update_window_title(mpctx, true); if (stream_control(mpctx->sh_video->gsh->demuxer->stream, STREAM_CTRL_GET_ASPECT_RATIO, &ar) != STREAM_UNSUPPORTED) |