yvu9,if09,y8,y800 support and multifile fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6532 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-06-23 18:00:42 +00:00
parent b6a0fee350
commit 1f9463e268
2 changed files with 12 additions and 2 deletions

View File

@ -236,6 +236,14 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
case IMGFMT_YUY2:
image_depth = 16;
break;
case IMGFMT_YVU9:
case IMGFMT_IF09:
image_depth = 9;
break;
case IMGFMT_Y800:
case IMGFMT_Y8:
image_depth = 8;
break;
default:
image_depth = 16;
mp_msg(MSGT_VO, MSGL_FATAL, "Unknown image format: %s\n",
@ -478,5 +486,6 @@ static uint32_t control(uint32_t request, void *data, ...)
}
return VO_TRUE;
}
return VO_NOTIMPL;
vidix_control(request, data);
// return VO_NOTIMPL;
}

View File

@ -761,8 +761,9 @@ uint32_t vidix_control(uint32_t request, void *data, ...)
*(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;
// return server_control(request,data); //VO_NOTIMPL;
}
int vidix_preinit(const char *drvname,void *server)