plugins: when debug disabled, default category is NULL
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 20 Mar 2017 15:45:01 +0000 (16:45 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 20 Mar 2017 18:15:39 +0000 (19:15 +0100)
commit152217064f1192bb836620ad7eaadbc031624f4c
tree2dc74519e90f1ce2bc29b316771fcea59fe0f6a5
parent9ed6ac1f763589dd3f77fdccfe6b3487c3a836ba
plugins: when debug disabled, default category is NULL

As in gstreamer-vaapi a common base class is used, the specific
default category is passed to the base-plugin initializator, thus
the log messages are categorized with the used plugin.

Nonetheless, when the gst-debug is disabled in compilation time,
it is needed to pass NULL to the base-plugin initializator. This
patch does that.

https://bugzilla.gnome.org/show_bug.cgi?id=780302
gst/vaapi/gstvaapidecode.c
gst/vaapi/gstvaapiencode.c
gst/vaapi/gstvaapipostproc.c
gst/vaapi/gstvaapisink.c