[gst-cvs] CVS: gstreamer/plugins/mpeg1/parse mpeg1parse.c,1.47,1.48

Erik Walthinsen omegahacker at users.sourceforge.net
Wed Oct 17 03:22:31 PDT 2001


Update of /cvsroot/gstreamer/gstreamer/plugins/mpeg1/parse
In directory usw-pr-cvs1:/tmp/cvs-serv21419/plugins/mpeg1/parse

Modified Files:
	mpeg1parse.c 
Log Message:
merge from EVENTS1 on 20011016

Index: mpeg1parse.c
===================================================================
RCS file: /cvsroot/gstreamer/gstreamer/plugins/mpeg1/parse/mpeg1parse.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- mpeg1parse.c	2001/08/21 20:16:47	1.47
+++ mpeg1parse.c	2001/10/17 10:21:25	1.48
@@ -426,7 +426,7 @@
     // create the pad and add it to self if it does not yet exist
     // this should trigger the NEW_PAD signal, which should be caught by
     // the app and used to attach to desired streams.
-    if (*outpad == NULL) {
+    if (outpad && *outpad == NULL) {
       (*outpad) = gst_pad_new_from_template (newtemp, name);
       gst_pad_set_caps (*outpad, gst_pad_get_padtemplate_caps (*outpad));
       gst_element_add_pad(GST_ELEMENT(mpeg1parse),(*outpad));





More information about the Gstreamer-commits mailing list