From 7044965988cb6aa63f2e493c80050ae39aab5bf8 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Wed, 2 Dec 2009 12:50:56 +0200 Subject: 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. --- mencoder.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mencoder.c') diff --git a/mencoder.c b/mencoder.c index 9620e2abe3..1f00adc7f0 100644 --- a/mencoder.c +++ b/mencoder.c @@ -205,6 +205,7 @@ int vo_config(struct vo *vo, uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) { abort(); } int vo_control(struct vo *vo, uint32_t request, void *data) { abort(); } +void vo_seek_reset(struct vo *vo) { abort(); } int vo_draw_image(struct vo *vo, struct mp_image *mpi, double pts) { abort(); } int vo_draw_frame(struct vo *vo, uint8_t *src[]) { abort(); } int vo_draw_slice(struct vo *vo, uint8_t *src[], int stride[], int w, int h, int x, int y) { abort(); } -- cgit v1.2.3