diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-12-02 12:50:56 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-12-02 12:50:56 +0200 |
commit | 7044965988cb6aa63f2e493c80050ae39aab5bf8 (patch) | |
tree | 99341066f4ddc8a4c14608621b1cc05b5c7f5d8f /libvo/video_out.c | |
parent | de11a44bba877d46cfa3b5150cc191453bf97fed (diff) | |
download | mpv-7044965988cb6aa63f2e493c80050ae39aab5bf8.tar.bz2 mpv-7044965988cb6aa63f2e493c80050ae39aab5bf8.tar.xz |
vf_vo: Use vo_seek_reset() instead of vo_control()
Change the vo_control(vo, VOCTRL_RESET, NULL) call done when the vf_vo
filter is uninited to vo_seek_reset(vo). The latter also sets
vo->frame_loaded to false.
Remove the vo->config_ok check from vo_seek_reset(). The reset call
should be doable even if config failed.
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r-- | libvo/video_out.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c index e2d42f4900..1241b65537 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -354,8 +354,6 @@ void vo_check_events(struct vo *vo) void vo_seek_reset(struct vo *vo) { - if (!vo->config_ok) - return; vo_control(vo, VOCTRL_RESET, NULL); vo->frame_loaded = false; } |