1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 23:00:41 +00:00

fallback to server's control() - patch by KotH

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5320 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-03-24 21:17:16 +00:00
parent b0fce04640
commit 6cedc58e73

View File

@ -658,8 +658,6 @@ uint32_t vidix_control(uint32_t request, void *data, ...)
return VO_TRUE; return VO_TRUE;
case VOCTRL_QUERY_FORMAT: case VOCTRL_QUERY_FORMAT:
return vidix_query_fourcc(*((uint32_t*)data)); return vidix_query_fourcc(*((uint32_t*)data));
case VOCTRL_SCREENSHOT:
return (*server_control)(request,data);
case VOCTRL_GET_IMAGE: case VOCTRL_GET_IMAGE:
return vidix_get_image(data); return vidix_get_image(data);
case VOCTRL_GET_FRAME_NUM: case VOCTRL_GET_FRAME_NUM:
@ -672,7 +670,8 @@ uint32_t vidix_control(uint32_t request, void *data, ...)
*(uint32_t *)data = vidix_play.num_frames; *(uint32_t *)data = vidix_play.num_frames;
return VO_TRUE; 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) int vidix_preinit(const char *drvname,void *server)