[Mplayer-cvslog] CVS: main/libmpdemux tv.c,1.45,1.46

Jindrich Makovicka CVS henry at mplayerhq.hu
Sun Jan 5 15:58:08 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv19545

Modified Files:
	tv.c 
Log Message:
-nosound fix

Index: tv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tv.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- tv.c	28 Dec 2002 22:57:39 -0000	1.45
+++ tv.c	5 Jan 2003 14:58:05 -0000	1.46
@@ -404,6 +404,11 @@
         tv_param_noaudio = 1; 
         }
 
+    /* disable TV audio if -nosound is present */
+    if (!demuxer->audio || demuxer->audio->id == -2) {
+        tv_param_noaudio = 1; 
+    }
+
     /* set width */
     funcs->control(tvh->priv, TVI_CONTROL_VID_GET_WIDTH, &sh_video->disp_w);
 



More information about the MPlayer-cvslog mailing list