Mercurial > mplayer.hg
comparison libvo/sub.c @ 21443:862b3942429c
100l typo in 21380 disabled OSD with at least xvmc.
Patch by Andrew Cohen [cohen bu edu]
author | reimar |
---|---|
date | Sun, 03 Dec 2006 09:59:55 +0000 |
parents | d81ffbf9615f |
children | 8a710a7b68ea |
comparison
equal
deleted
inserted
replaced
21442:f95a872702d5 | 21443:862b3942429c |
---|---|
1004 mp_osd_obj_t* obj=vo_osd_list; | 1004 mp_osd_obj_t* obj=vo_osd_list; |
1005 while(obj){ | 1005 while(obj){ |
1006 if(obj->flags&OSDFLAG_VISIBLE){ | 1006 if(obj->flags&OSDFLAG_VISIBLE){ |
1007 if( (obj->bbox.x1<=x2 && obj->bbox.x2>=x1) && | 1007 if( (obj->bbox.x1<=x2 && obj->bbox.x2>=x1) && |
1008 (obj->bbox.y1<=y2 && obj->bbox.y2>=y1) && | 1008 (obj->bbox.y1<=y2 && obj->bbox.y2>=y1) && |
1009 obj->bbox.y2 > obj->bbox.y1 && obj->bbox.x1 > obj->bbox.x2 | 1009 obj->bbox.y2 > obj->bbox.y1 && obj->bbox.x2 > obj->bbox.x1 |
1010 ) return 1; | 1010 ) return 1; |
1011 } | 1011 } |
1012 obj=obj->next; | 1012 obj=obj->next; |
1013 } | 1013 } |
1014 return 0; | 1014 return 0; |