[gst-cvs] CVS: gstreamer/plugins/oss gstosssink.c,1.23,1.24

Steve Baker sbaker3 at users.sourceforge.net
Sun Oct 21 10:50:02 PDT 2001


Update of /cvsroot/gstreamer/gstreamer/plugins/oss
In directory usw-pr-cvs1:/tmp/cvs-serv28095

Modified Files:
	gstosssink.c 
Log Message:
no other plugins do this. and its giving me crashes

Index: gstosssink.c
===================================================================
RCS file: /cvsroot/gstreamer/gstreamer/plugins/oss/gstosssink.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- gstosssink.c	2001/10/17 22:19:33	1.23
+++ gstosssink.c	2001/10/21 17:49:51	1.24
@@ -580,10 +580,6 @@
     if (GST_FLAG_IS_SET (element, GST_OSSSINK_OPEN))
       gst_osssink_close_audio (osssink);
 
-    if (GST_PAD_CAPS (osssink->sinkpad)) {
-      gst_caps_unref (GST_PAD_CAPS (osssink->sinkpad));
-      GST_PAD_CAPS (osssink->sinkpad) = NULL;
-    }
   /* otherwise (READY or higher) we need to open the sound card */
   } else {
     if (!GST_FLAG_IS_SET (element, GST_OSSSINK_OPEN)) {





More information about the Gstreamer-commits mailing list