mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +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
|
||||
#define GST_VAAPI_DEBUG_H
|
||||
|
||||
#include "gstvaapiutils.h"
|
||||
#include <gst/gstinfo.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
|
||||
|
||||
#endif /* GST_VAAPI_DEBUG_H */
|
||||
|
|
Loading…
Reference in a new issue