From f4a7caa418d3a283392b1142fe9863ae870ce3b8 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 29 Jun 2003 19:46:13 +0000 Subject: 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. --- gst-libs/gst/video/video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst-libs/gst/video') diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c index a265c5e6..6eba0d7b 100644 --- a/gst-libs/gst/video/video.c +++ b/gst-libs/gst/video/video.c @@ -43,7 +43,7 @@ gst_video_frame_rate (GstPad *pad) fps = ((gdouble) dest_value) / NUM_UNITS; - GST_DEBUG(GST_CAT_ELEMENT_PADS, "Framerate request on pad %s:%s - %f fps", + GST_DEBUG ("Framerate request on pad %s:%s - %f fps", GST_ELEMENT_NAME(gst_pad_get_parent (pad)), GST_PAD_NAME(pad), fps); return fps; @@ -75,7 +75,7 @@ gst_video_get_size (GstPad *pad, if (height) gst_caps_get_int(caps, "height", height); - GST_DEBUG(GST_CAT_ELEMENT_PADS, "size request on pad %s:%s: %dx%d", + GST_DEBUG ("size request on pad %s:%s: %dx%d", GST_ELEMENT_NAME(gst_pad_get_parent (pad)), GST_PAD_NAME(pad), width?*width:0, height?*height:0); -- cgit v1.2.1