mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
Only enable GST_DEBUG() if DEBUG is defined. Drop old D(bug()) stuff.
This commit is contained in:
parent
fddeb54248
commit
d56fcd0c2b
1 changed files with 2 additions and 7 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue