[vlc-devel] [PATCH 5/7] vout: reset pause state from ThreadReinit()
Thomas Guillem
thomas at gllm.fr
Wed Jan 11 09:13:12 CET 2017
---
src/video_output/video_output.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index ad668ebb86..258291422d 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1536,6 +1536,8 @@ static int ThreadReinit(vout_thread_t *vout,
vout_display_state_t state;
memset(&state, 0, sizeof(state));
+ vout->p->pause.is_on = false;
+ vout->p->pause.date = VLC_TS_INVALID;
ThreadStop(vout, &state);
if (!state.cfg.is_fullscreen) {
--
2.11.0
More information about the vlc-devel
mailing list