[MPlayer-cvslog] CVS: main mplayer.c,1.903,1.904
Nico Sabbi CVS
syncmail at mplayerhq.hu
Fri Jan 13 21:07:02 CET 2006
- Previous message: [MPlayer-cvslog] CVS: main/libmpcodecs vf_boxblur.c, 1.5, 1.6 vf_delogo.c, 1.5, 1.6 vf_denoise3d.c, 1.9, 1.10 vf_fspp.c, 1.11, 1.12 vf_hqdn3d.c, 1.6, 1.7 vf_il.c, 1.6, 1.7 vf_noise.c, 1.15, 1.16 vf_perspective.c, 1.3, 1.4 vf_pp7.c, 1.5, 1.6 vf_qp.c, 1.4, 1.5 vf_sab.c, 1.7, 1.8 vf_smartblur.c, 1.10, 1.11 vf_spp.c, 1.32, 1.33 vf_swapuv.c, 1.6, 1.7 vf_test.c, 1.6, 1.7 vf_tinterlace.c, 1.3, 1.4 vf_unsharp.c, 1.8, 1.9 vf_uspp.c, 1.3, 1.4
- Next message: [MPlayer-cvslog] CVS: main Makefile,1.334,1.335
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv8971
Modified Files:
mplayer.c
Log Message:
dvd subtitles should be disabled by default, and enabled specifying -sid or -slang; this fix also restores the display of other subtitles types when dvd subs are present
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.903
retrieving revision 1.904
diff -u -r1.903 -r1.904
--- mplayer.c 12 Jan 2006 20:04:32 -0000 1.903
+++ mplayer.c 13 Jan 2006 20:06:59 -0000 1.904
@@ -266,7 +266,7 @@
// streaming:
int audio_id=-1;
int video_id=-1;
-int dvdsub_id=-1;
+int dvdsub_id=-2;
int vobsub_id=-1;
char* audio_lang=NULL;
char* dvdsub_lang=NULL;
@@ -1945,6 +1945,7 @@
if(stream->type==STREAMTYPE_DVD){
current_module="dvd lang->id";
if(audio_id==-1) audio_id=dvd_aid_from_lang(stream,audio_lang);
+ if(dvdsub_lang && dvdsub_id==-2) dvdsub_id=-1;
if(dvdsub_lang && dvdsub_id==-1) dvdsub_id=dvd_sid_from_lang(stream,dvdsub_lang);
// setup global sub numbering
global_sub_indices[SUB_SOURCE_DEMUX] = global_sub_size; // the global # of the first demux-specific sub.
- Previous message: [MPlayer-cvslog] CVS: main/libmpcodecs vf_boxblur.c, 1.5, 1.6 vf_delogo.c, 1.5, 1.6 vf_denoise3d.c, 1.9, 1.10 vf_fspp.c, 1.11, 1.12 vf_hqdn3d.c, 1.6, 1.7 vf_il.c, 1.6, 1.7 vf_noise.c, 1.15, 1.16 vf_perspective.c, 1.3, 1.4 vf_pp7.c, 1.5, 1.6 vf_qp.c, 1.4, 1.5 vf_sab.c, 1.7, 1.8 vf_smartblur.c, 1.10, 1.11 vf_spp.c, 1.32, 1.33 vf_swapuv.c, 1.6, 1.7 vf_test.c, 1.6, 1.7 vf_tinterlace.c, 1.3, 1.4 vf_unsharp.c, 1.8, 1.9 vf_uspp.c, 1.3, 1.4
- Next message: [MPlayer-cvslog] CVS: main Makefile,1.334,1.335
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list