[MPlayer-cvslog] CVS: main mplayer.c,1.874,1.875
Oded Shimon CVS
syncmail at mplayerhq.hu
Wed Oct 12 16:37:06 CEST 2005
- Previous message: [MPlayer-cvslog] CVS: main/postproc rgb2rgb.c, 1.63, 1.64 rgb2rgb.h, 1.31, 1.32 rgb2rgb_template.c, 1.73, 1.74 swscale_template.c, 1.120, 1.121
- Next message: [MPlayer-cvslog] CVS: main m_option.c,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Oded Shimon CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv619
Modified Files:
mplayer.c
Log Message:
change to switch/case for dumpsub
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.874
retrieving revision 1.875
diff -u -r1.874 -r1.875
--- mplayer.c 11 Oct 2005 15:51:46 -0000 1.874
+++ mplayer.c 12 Oct 2005 14:37:03 -0000 1.875
@@ -3627,12 +3627,14 @@
vo_osd_changed(OSDTYPE_SUBTITLE);
// FIXME: is this the correct place for these?
- if(stream_dump_type==3) list_sub_file(subdata);
- if(stream_dump_type==4) dump_mpsub(subdata, sh_video->fps);
- if(stream_dump_type==6) dump_srt(subdata, sh_video->fps);
- if(stream_dump_type==7) dump_microdvd(subdata, sh_video->fps);
- if(stream_dump_type==8) dump_jacosub(subdata, sh_video->fps);
- if(stream_dump_type==9) dump_sami(subdata, sh_video->fps);
+ switch (stream_dump_type) {
+ case 3: list_sub_file(subdata); break;
+ case 4: dump_mpsub(subdata, sh_video->fps); break;
+ case 6: dump_srt(subdata, sh_video->fps); break;
+ case 7: dump_microdvd(subdata, sh_video->fps); break;
+ case 8: dump_jacosub(subdata, sh_video->fps); break;
+ case 9: dump_sami(subdata, sh_video->fps); break;
+ }
#endif
} else if (source == SUB_SOURCE_DEMUX) {
dvdsub_id = global_sub_pos - global_sub_indices[SUB_SOURCE_DEMUX];
- Previous message: [MPlayer-cvslog] CVS: main/postproc rgb2rgb.c, 1.63, 1.64 rgb2rgb.h, 1.31, 1.32 rgb2rgb_template.c, 1.73, 1.74 swscale_template.c, 1.120, 1.121
- Next message: [MPlayer-cvslog] CVS: main m_option.c,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list