diff options
author | wm4 <wm4@nowhere> | 2014-08-06 19:25:30 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-06 20:30:47 +0200 |
commit | b38ac38aec46dc6f36d928731ba138a1d4347c7f (patch) | |
tree | 65633f8a6032ba902f0e567a75f7447a05a5a681 | |
parent | be64535a4e8eeed123c3c91715863366fefeac82 (diff) | |
download | mpv-b38ac38aec46dc6f36d928731ba138a1d4347c7f.tar.bz2 mpv-b38ac38aec46dc6f36d928731ba138a1d4347c7f.tar.xz |
client API: trigger MPV_EVENT_VIDEO_RECONFIG on vf recreation
Until now, it was done only on VO reconfig, but this easily can miss
some events, in case the VO output format doesn't change.
-rw-r--r-- | player/video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/player/video.c b/player/video.c index c0e1101858..23c49f7ae3 100644 --- a/player/video.c +++ b/player/video.c @@ -127,6 +127,8 @@ static void filter_reconfig(struct MPContext *mpctx, struct mp_image_params params = d_video->decoder_output; + mp_notify(mpctx, MPV_EVENT_VIDEO_RECONFIG, NULL); + set_allowed_vo_formats(d_video->vfilter, mpctx->video_out); if (video_reconfig_filters(d_video, ¶ms) < 0) { |