summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapidebug.h
diff options
context:
space:
mode:
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-03-16 09:17:41 +0000
committergb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-03-16 09:17:41 +0000
commitd6f883f73a725b099d7be385953e9df9297f8640 (patch)
tree5c099744cb5d2861168d2772f4f9548db1363f93 /gst-libs/gst/vaapi/gstvaapidebug.h
parent4e2db9d8e4700c35e27a6742ce4437084adb2257 (diff)
Rename vaapi_debug.h to gstvaapidebug.h.
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapidebug.h')
-rw-r--r--gst-libs/gst/vaapi/gstvaapidebug.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidebug.h b/gst-libs/gst/vaapi/gstvaapidebug.h
new file mode 100644
index 00000000..1430937b
--- /dev/null
+++ b/gst-libs/gst/vaapi/gstvaapidebug.h
@@ -0,0 +1,36 @@
+/*
+ * gstvaapidebug.h - VA-API debugging utilities
+ *
+ * gstreamer-vaapi (C) 2010 Splitted-Desktop Systems
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef VAAPI_DEBUG_H
+#define VAAPI_DEBUG_H
+
+#include "gstvaapiutils.h"
+
+#if DEBUG
+# define D(x) x
+#else
+# define D(x)
+#endif
+#define bug vaapi_dprintf
+
+GST_DEBUG_CATEGORY_EXTERN(gst_debug_vaapi);
+#define GST_CAT_DEFAULT gst_debug_vaapi
+
+#endif /* VAAPI_DEBUG_H */