mirror of
https://github.com/mpv-player/mpv
synced 2024-10-30 04:46:41 +01:00
VDCTRL_QUERY_FORMAT isn't required for constant csp support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7248 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
35d84da38b
commit
49f2da7ee9
@ -96,13 +96,6 @@ typedef struct {
|
||||
// to set/get/query special features/parameters
|
||||
static int control(sh_video_t *sh,int cmd,void* arg,...)
|
||||
{
|
||||
switch(cmd) {
|
||||
case VDCTRL_QUERY_FORMAT:
|
||||
if (*((int*)arg) == IMGFMT_BGR24)
|
||||
return CONTROL_TRUE;
|
||||
else
|
||||
return CONTROL_FALSE;
|
||||
}
|
||||
return CONTROL_UNKNOWN;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user