comparison libmpcodecs/vd_ffmpeg.c @ 6835:a9ba8559ca6f

10l to dunno
author atmos4
date Sun, 28 Jul 2002 22:29:04 +0000
parents 2d7dfcc79651
children 591a6c942551
comparison
equal deleted inserted replaced
6834:2d7dfcc79651 6835:a9ba8559ca6f
84 case VDCTRL_QUERY_FORMAT: 84 case VDCTRL_QUERY_FORMAT:
85 switch(*((int*)arg)){ 85 switch(*((int*)arg)){
86 case IMGFMT_YV12: 86 case IMGFMT_YV12:
87 case IMGFMT_IYUV: 87 case IMGFMT_IYUV:
88 case IMGFMT_I420: 88 case IMGFMT_I420:
89 #if LIBAVCODEC_BUILD >= 4615
89 if(ctx->yvu9_support) return CONTROL_FALSE; 90 if(ctx->yvu9_support) return CONTROL_FALSE;
90 else return CONTROL_TRUE; 91 else
92 #endif
93 return CONTROL_TRUE;
91 case IMGFMT_YUY2: 94 case IMGFMT_YUY2:
92 if(ctx->yuy2_support) return CONTROL_TRUE; 95 if(ctx->yuy2_support) return CONTROL_TRUE;
93 return CONTROL_FALSE; 96 return CONTROL_FALSE;
94 #if LIBAVCODEC_BUILD >= 4615 97 #if LIBAVCODEC_BUILD >= 4615
95 case IMGFMT_YVU9: 98 case IMGFMT_YVU9: