summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-17 02:52:26 +0100
committerwm4 <wm4@nowhere>2014-02-17 02:52:59 +0100
commit5fcf4b46f7e1eea43a2e675a6be3fa99c2dd4dd6 (patch)
treee46f60111fa1655b6c9b394330050eaa84d2b9ab /player/playloop.c
parentb3b59b9a2d51d57656eda965d02762131b0bd5b7 (diff)
downloadmpv-5fcf4b46f7e1eea43a2e675a6be3fa99c2dd4dd6.tar.bz2
mpv-5fcf4b46f7e1eea43a2e675a6be3fa99c2dd4dd6.tar.xz
client API: add events for video and audio reconfig
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/playloop.c b/player/playloop.c
index 57d5281240..261deaf217 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -51,7 +51,6 @@
#include "core.h"
#include "screenshot.h"
#include "command.h"
-#include "libmpv/client.h"
#define WAKEUP_PERIOD 0.5
@@ -893,6 +892,7 @@ void handle_force_window(struct MPContext *mpctx, bool reconfig)
};
vo_reconfig(vo, &p, 0);
redraw_osd(mpctx);
+ mp_notify(mpctx, MPV_EVENT_VIDEO_RECONFIG, NULL);
}
}