Mercurial > mplayer.hg
changeset 5319:83e6e16e9670
fallback to server's control() - patch by KotH
author | arpi |
---|---|
date | Sun, 24 Mar 2002 21:17:16 +0000 |
parents | 207c13e15ffc |
children | 0409c865d9e4 |
files | libvo/vosub_vidix.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vosub_vidix.c Sun Mar 24 20:55:06 2002 +0000 +++ b/libvo/vosub_vidix.c Sun Mar 24 21:17:16 2002 +0000 @@ -658,8 +658,6 @@ return VO_TRUE; case VOCTRL_QUERY_FORMAT: return vidix_query_fourcc(*((uint32_t*)data)); - case VOCTRL_SCREENSHOT: - return (*server_control)(request,data); case VOCTRL_GET_IMAGE: return vidix_get_image(data); case VOCTRL_GET_FRAME_NUM: @@ -672,7 +670,8 @@ *(uint32_t *)data = vidix_play.num_frames; return VO_TRUE; } - return VO_NOTIMPL; + // WARNING: we drop extra parameters (...) here! + return server_control(request,data); //VO_NOTIMPL; } int vidix_preinit(const char *drvname,void *server)