summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-06-30 17:19:50 +0300
committerStefan Kost <ensonic@users.sf.net>2009-07-06 09:42:12 +0100
commit8e5a0000dc905e20e99bc2ab99868c5f1a072ed8 (patch)
tree952739f0c87340480844c8283d736a964845635e
parentc3adf8862135050fd410a85000b0634e8e06f893 (diff)
downloadgstreamer-plugins-base-8e5a0000dc905e20e99bc2ab99868c5f1a072ed8.tar.gz
xvimagesink: use core performance log category
-rw-r--r--sys/xvimage/xvimagesink.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c
index 02b2bbf6e..2750eedc6 100644
--- a/sys/xvimage/xvimagesink.c
+++ b/sys/xvimage/xvimagesink.c
@@ -127,6 +127,7 @@
#include <gst/gstinfo.h>
GST_DEBUG_CATEGORY_STATIC (gst_debug_xvimagesink);
#define GST_CAT_DEFAULT gst_debug_xvimagesink
+GST_DEBUG_CATEGORY_STATIC (GST_CAT_PERFORMANCE);
typedef struct
{
@@ -2324,7 +2325,8 @@ gst_xvimagesink_show_frame (GstBaseSink * bsink, GstBuffer * buf)
GST_XVIMAGE_BUFFER_CAST (buf)))
goto no_window;
} else {
- GST_LOG_OBJECT (xvimagesink, "slow copy into bufferpool buffer %p", buf);
+ GST_CAT_LOG_OBJECT (GST_CAT_PERFORMANCE, xvimagesink,
+ "slow copy into bufferpool buffer %p", buf);
/* Else we have to copy the data into our private image, */
/* if we have one... */
if (!xvimagesink->xvimage) {
@@ -3578,6 +3580,7 @@ plugin_init (GstPlugin * plugin)
GST_DEBUG_CATEGORY_INIT (gst_debug_xvimagesink, "xvimagesink", 0,
"xvimagesink element");
+ GST_DEBUG_CATEGORY_GET (GST_CAT_PERFORMANCE, "GST_PERFORMANCE");
return TRUE;
}