From 0adb8a9aaf1e1c76300d717a0a3dd04849e70d1d Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 24 Feb 2014 22:49:07 +0100 Subject: client API: report pause/unpause reason Not sure about this... might redo. At least this provides a case of a broadcasted event, which requires per-event data allocation. See github issue #576. --- player/loadfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/loadfile.c') diff --git a/player/loadfile.c b/player/loadfile.c index b5b42fe67c..90b2484ccf 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -1339,7 +1339,7 @@ goto_reopen_demuxer: ; get_relative_time(mpctx); // reset current delta if (mpctx->opts->pause) - pause_player(mpctx); + pause_player(mpctx, PAUSE_BY_COMMAND); mp_notify(mpctx, MPV_EVENT_PLAYBACK_START, NULL); -- cgit v1.2.3