mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gst/: Fix build with --disable-gst-debug. Fixes #497859.
Original commit message from CVS: * gst/gstbin.c: * gst/gstdebugutils.c: Fix build with --disable-gst-debug. Fixes #497859. Spotted by Sameer Naik.
This commit is contained in:
parent
d8e77f9bf8
commit
f3d71f7ef5
3 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2007-11-18 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* gst/gstbin.c:
|
||||||
|
* gst/gstdebugutils.c:
|
||||||
|
Fix build with --disable-gst-debug. Fixes #497859.
|
||||||
|
Spotted by Sameer Naik.
|
||||||
|
|
||||||
2007-11-17 Stefan Kost <ensonic@users.sf.net>
|
2007-11-17 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/gstevent.c:
|
* gst/gstevent.c:
|
||||||
|
|
|
@ -1531,10 +1531,9 @@ static GstStateChangeReturn
|
||||||
gst_bin_get_state_func (GstElement * element, GstState * state,
|
gst_bin_get_state_func (GstElement * element, GstState * state,
|
||||||
GstState * pending, GstClockTime timeout)
|
GstState * pending, GstClockTime timeout)
|
||||||
{
|
{
|
||||||
GstBin *bin = GST_BIN (element);
|
|
||||||
GstStateChangeReturn ret;
|
GstStateChangeReturn ret;
|
||||||
|
|
||||||
GST_CAT_INFO_OBJECT (GST_CAT_STATES, bin, "getting state");
|
GST_CAT_INFO_OBJECT (GST_CAT_STATES, element, "getting state");
|
||||||
|
|
||||||
ret = parent_class->get_state (element, state, pending, timeout);
|
ret = parent_class->get_state (element, state, pending, timeout);
|
||||||
|
|
||||||
|
|
|
@ -19,16 +19,16 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef GST_DISABLE_GST_DEBUG
|
|
||||||
|
|
||||||
#include "gst_private.h"
|
#include "gst_private.h"
|
||||||
|
#include "gstdebugutils.h"
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "gstinfo.h"
|
#include "gstinfo.h"
|
||||||
#include "gstdebugutils.h"
|
|
||||||
#include "gstbin.h"
|
#include "gstbin.h"
|
||||||
#include "gstobject.h"
|
#include "gstobject.h"
|
||||||
#include "gstghostpad.h"
|
#include "gstghostpad.h"
|
||||||
|
|
Loading…
Reference in a new issue