comparison libvo/vo_corevideo.m @ 31737:38999f9d3c7e

Remove yet more useless ()
author reimar
date Sun, 25 Jul 2010 11:16:40 +0000
parents 8d6697e4838e
children 781904280cd7
comparison
equal deleted inserted replaced
31736:8d6697e4838e 31737:38999f9d3c7e
415 switch (request) 415 switch (request)
416 { 416 {
417 case VOCTRL_DRAW_IMAGE: return draw_image(data); 417 case VOCTRL_DRAW_IMAGE: return draw_image(data);
418 case VOCTRL_PAUSE: return int_pause = 1; 418 case VOCTRL_PAUSE: return int_pause = 1;
419 case VOCTRL_RESUME: return int_pause = 0; 419 case VOCTRL_RESUME: return int_pause = 0;
420 case VOCTRL_QUERY_FORMAT: return query_format(*((uint32_t*)data)); 420 case VOCTRL_QUERY_FORMAT: return query_format(*(uint32_t*)data);
421 case VOCTRL_ONTOP: vo_ontop = (!(vo_ontop)); if(!shared_buffer){ [mpGLView ontop]; } else { [mplayerosxProto ontop]; } return VO_TRUE; 421 case VOCTRL_ONTOP: vo_ontop = !vo_ontop; if(!shared_buffer){ [mpGLView ontop]; } else { [mplayerosxProto ontop]; } return VO_TRUE;
422 case VOCTRL_ROOTWIN: vo_rootwin = (!(vo_rootwin)); [mpGLView rootwin]; return VO_TRUE; 422 case VOCTRL_ROOTWIN: vo_rootwin = !vo_rootwin; [mpGLView rootwin]; return VO_TRUE;
423 case VOCTRL_FULLSCREEN: vo_fs = (!(vo_fs)); if(!shared_buffer){ [mpGLView fullscreen: NO]; } else { [mplayerosxProto toggleFullscreen]; } return VO_TRUE; 423 case VOCTRL_FULLSCREEN: vo_fs = !vo_fs; if(!shared_buffer){ [mpGLView fullscreen: NO]; } else { [mplayerosxProto toggleFullscreen]; } return VO_TRUE;
424 case VOCTRL_GET_PANSCAN: return VO_TRUE; 424 case VOCTRL_GET_PANSCAN: return VO_TRUE;
425 case VOCTRL_SET_PANSCAN: [mpGLView panscan]; return VO_TRUE; 425 case VOCTRL_SET_PANSCAN: [mpGLView panscan]; return VO_TRUE;
426 case VOCTRL_UPDATE_SCREENINFO: update_screen_info(); return VO_TRUE; 426 case VOCTRL_UPDATE_SCREENINFO: update_screen_info(); return VO_TRUE;
427 } 427 }
428 return VO_NOTIMPL; 428 return VO_NOTIMPL;