mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
compile with debug disabled
Original commit message from CVS: compile with debug disabled
This commit is contained in:
parent
7ffe8406a4
commit
b9adc22e24
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/schedulers/fairscheduler.c:
|
||||||
|
compile with debug disabled
|
||||||
|
|
||||||
2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -783,7 +783,10 @@ gst_fair_scheduler_reset (GstScheduler * sched)
|
||||||
g_timer_stop (fsched->iter_timer);
|
g_timer_stop (fsched->iter_timer);
|
||||||
{
|
{
|
||||||
gulong msecs;
|
gulong msecs;
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
double elapsed = g_timer_elapsed (fsched->iter_timer, &msecs);
|
double elapsed = g_timer_elapsed (fsched->iter_timer, &msecs);
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_INFO_OBJECT (fsched,
|
GST_INFO_OBJECT (fsched,
|
||||||
"%u iterations in %0.3fs, %.0f iterations/sec.",
|
"%u iterations in %0.3fs, %.0f iterations/sec.",
|
||||||
|
@ -855,7 +858,9 @@ gst_fair_scheduler_add_element (GstScheduler * sched, GstElement * element)
|
||||||
static void
|
static void
|
||||||
gst_fair_scheduler_remove_element (GstScheduler * sched, GstElement * element)
|
gst_fair_scheduler_remove_element (GstScheduler * sched, GstElement * element)
|
||||||
{
|
{
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
GstFairScheduler *fsched = GST_FAIR_SCHEDULER (sched);
|
GstFairScheduler *fsched = GST_FAIR_SCHEDULER (sched);
|
||||||
|
#endif
|
||||||
GstFairSchedulerPrivElem *priv = ELEM_PRIVATE (element);
|
GstFairSchedulerPrivElem *priv = ELEM_PRIVATE (element);
|
||||||
|
|
||||||
if (GST_FLAG_IS_SET (element, GST_ELEMENT_DECOUPLED)) {
|
if (GST_FLAG_IS_SET (element, GST_ELEMENT_DECOUPLED)) {
|
||||||
|
@ -998,7 +1003,9 @@ static void
|
||||||
gst_fair_scheduler_pad_unlink (GstScheduler * sched, GstPad * srcpad,
|
gst_fair_scheduler_pad_unlink (GstScheduler * sched, GstPad * srcpad,
|
||||||
GstPad * sinkpad)
|
GstPad * sinkpad)
|
||||||
{
|
{
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
GstFairScheduler *fsched = GST_FAIR_SCHEDULER (sched);
|
GstFairScheduler *fsched = GST_FAIR_SCHEDULER (sched);
|
||||||
|
#endif
|
||||||
GstFairSchedulerPrivLink *priv;
|
GstFairSchedulerPrivLink *priv;
|
||||||
GstElement *src_parent, *sink_parent;
|
GstElement *src_parent, *sink_parent;
|
||||||
|
|
||||||
|
@ -1051,7 +1058,9 @@ static GstElementStateReturn
|
||||||
gst_fair_scheduler_state_transition (GstScheduler * sched,
|
gst_fair_scheduler_state_transition (GstScheduler * sched,
|
||||||
GstElement * element, gint transition)
|
GstElement * element, gint transition)
|
||||||
{
|
{
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
GstFairScheduler *fsched = GST_FAIR_SCHEDULER (sched);
|
GstFairScheduler *fsched = GST_FAIR_SCHEDULER (sched);
|
||||||
|
#endif
|
||||||
gint old_state, new_state;
|
gint old_state, new_state;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (sched, "Element %s changing from %s to %s",
|
GST_DEBUG_OBJECT (sched, "Element %s changing from %s to %s",
|
||||||
|
@ -1111,7 +1120,9 @@ static void
|
||||||
gst_fair_scheduler_scheduling_change (GstScheduler * sched,
|
gst_fair_scheduler_scheduling_change (GstScheduler * sched,
|
||||||
GstElement * element)
|
GstElement * element)
|
||||||
{
|
{
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
GstFairScheduler *fsched = GST_FAIR_SCHEDULER (sched);
|
GstFairScheduler *fsched = GST_FAIR_SCHEDULER (sched);
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_WARNING_OBJECT (fsched, "operation not implemented");
|
GST_WARNING_OBJECT (fsched, "operation not implemented");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue