summaryrefslogtreecommitdiffstats
path: root/gst/avi/gstavimux.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-06-29 19:46:12 +0000
committerBenjamin Otte <otte@gnome.org>2003-06-29 19:46:12 +0000
commit90da904f1e435812ce245928b80cfd325785ff37 (patch)
tree308c8167f16721bbfe4a047e6d798ade33aa968e /gst/avi/gstavimux.c
parent7519af569b22f502f88b9c80e7ce26522e1e9aad (diff)
compatibility fix for new GST_DEBUG stuff.
Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
Diffstat (limited to 'gst/avi/gstavimux.c')
-rw-r--r--gst/avi/gstavimux.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c
index c54700b4..8dfa50fa 100644
--- a/gst/avi/gstavimux.c
+++ b/gst/avi/gstavimux.c
@@ -25,6 +25,9 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <config.h>
#include <stdlib.h>
@@ -308,7 +311,7 @@ gst_avimux_sinkconnect (GstPad *pad, GstCaps *vscaps)
if (!GST_CAPS_IS_FIXED (vscaps))
return GST_PAD_LINK_DELAYED;
- GST_DEBUG (0, "avimux: sinkconnect triggered on %s", gst_pad_get_name (pad));
+ GST_DEBUG ("avimux: sinkconnect triggered on %s", gst_pad_get_name (pad));
for (caps = vscaps; caps != NULL; caps = vscaps = vscaps->next)
{
@@ -438,7 +441,7 @@ gst_avimux_sinkconnect (GstPad *pad, GstCaps *vscaps)
gst_caps_has_property(caps, "layer"))
gst_caps_get_int(caps, "layer", &layer);
else
- GST_DEBUG(GST_CAT_PLUGIN_INFO,
+ GST_DEBUG (
"No layer specified, assuming layer 3");
/* we don't need to do anything here, compressed mp3 contains it all */
@@ -497,7 +500,7 @@ gst_avimux_pad_link (GstPad *pad,
return;
}
- GST_DEBUG(GST_CAT_PLUGIN_INFO, "pad '%s' connected", padname);
+ GST_DEBUG ("pad '%s' connected", padname);
}
static void
@@ -524,7 +527,7 @@ gst_avimux_pad_unlink (GstPad *pad,
return;
}
- GST_DEBUG(GST_CAT_PLUGIN_INFO, "pad '%s' unlinked", padname);
+ GST_DEBUG ("pad '%s' unlinked", padname);
}
static GstPad*