From e615e4c2cffbc0e5443f706651884642e1d91ef2 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 9 Feb 2012 16:03:35 +0100 Subject: [PATCH] video: add performance log for frame copy --- gst-libs/gst/video/video.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c index d15551f..1c5f37e 100644 --- a/gst-libs/gst/video/video.c +++ b/gst-libs/gst/video/video.c @@ -28,6 +28,8 @@ #include "video.h" #include "gstvideometa.h" +GST_DEBUG_CATEGORY_EXTERN (GST_CAT_PERFORMANCE); + static int fill_planes (GstVideoInfo * info); typedef struct @@ -1154,7 +1156,7 @@ gst_video_frame_copy (GstVideoFrame * dest, const GstVideoFrame * src) n_planes = dinfo->finfo->n_planes; - GST_DEBUG ("doing video frame copy"); + GST_CAT_DEBUG (GST_CAT_PERFORMANCE, "doing video frame copy"); for (i = 0; i < n_planes; i++) { guint w, h, j; -- 2.7.4