Mercurial > mplayer.hg
changeset 10714:240e212130d3
10l
author | iive |
---|---|
date | Thu, 28 Aug 2003 22:11:42 +0000 |
parents | 6193f96a04d5 |
children | 6549152f1f11 |
files | libvo/vo_xvmc.c |
diffstat | 1 files changed, 11 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_xvmc.c Thu Aug 28 22:01:44 2003 +0000 +++ b/libvo/vo_xvmc.c Thu Aug 28 22:11:42 2003 +0000 @@ -598,20 +598,19 @@ printf(" Subpicture id 0x%08X\n",xvfmv[s].id); } - if(verbose > 0) for(s=0;s<num_subpic;s++){ - for(k=0;osd_render[k].draw_func_ptr!=NULL;k++) + for(k=0;osd_render[k].draw_func_ptr!=NULL;k++){ + if(xvfmv[s].id == osd_render[k].id) + { + init_osd_fnc = osd_render[k].init_func_ptr; + draw_osd_fnc = osd_render[k].draw_func_ptr; + clear_osd_fnc = osd_render[k].clear_func_ptr; - if(xvfmv[s].id == osd_render[k].id) - { - init_osd_fnc = osd_render[k].init_func_ptr; - draw_osd_fnc = osd_render[k].draw_func_ptr; - clear_osd_fnc = osd_render[k].clear_func_ptr; - - subpicture_mode = BLEND_SUBPICTURE; - subpicture_info = xvfmv[s]; - print_xvimage_format_values(&subpicture_info); - goto found_subpic; + subpicture_mode = BLEND_SUBPICTURE; + subpicture_info = xvfmv[s]; + print_xvimage_format_values(&subpicture_info); + goto found_subpic; + } } } found_subpic: