Commit d56fcd0c authored by gb's avatar gb

Only enable GST_DEBUG() if DEBUG is defined. Drop old D(bug()) stuff.

parent fddeb542
...@@ -21,16 +21,11 @@ ...@@ -21,16 +21,11 @@
#ifndef GST_VAAPI_DEBUG_H #ifndef GST_VAAPI_DEBUG_H
#define GST_VAAPI_DEBUG_H #define GST_VAAPI_DEBUG_H
#include "gstvaapiutils.h" #include <gst/gstinfo.h>
#if DEBUG #if DEBUG
# define D(x) x
#else
# define D(x)
#endif
#define bug vaapi_dprintf
GST_DEBUG_CATEGORY_EXTERN(gst_debug_vaapi); GST_DEBUG_CATEGORY_EXTERN(gst_debug_vaapi);
#define GST_CAT_DEFAULT gst_debug_vaapi #define GST_CAT_DEFAULT gst_debug_vaapi
#endif
#endif /* GST_VAAPI_DEBUG_H */ #endif /* GST_VAAPI_DEBUG_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment