Zebediah Figura : winegstreamer: Avoid using Wine debug functions in got_data_sink().

Alexandre Julliard julliard at winehq.org
Mon Jan 25 16:42:05 CST 2021


Module: wine
Branch: master
Commit: 2cdb12b08e632b38296b26cb9a68df67e5eeb23f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2cdb12b08e632b38296b26cb9a68df67e5eeb23f

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Sat Jan 23 12:43:46 2021 -0600

winegstreamer: Avoid using Wine debug functions in got_data_sink().

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winegstreamer/gstdemux.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index ea1268ef0dd..f51137344f9 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -690,13 +690,13 @@ static GstFlowReturn queue_stream_event(struct parser_source *pin, const struct
     if (pin->flushing)
     {
         pthread_mutex_unlock(&filter->mutex);
-        TRACE("Filter is flushing; discarding event.\n");
+        GST_DEBUG("Filter is flushing; discarding event.");
         return GST_FLOW_FLUSHING;
     }
     pin->event = *event;
     pthread_mutex_unlock(&filter->mutex);
     pthread_cond_signal(&pin->event_cond);
-    TRACE("Event queued.\n");
+    GST_LOG("Event queued.");
     return GST_FLOW_OK;
 }
 
@@ -880,7 +880,7 @@ static GstFlowReturn got_data_sink(GstPad *pad, GstObject *parent, GstBuffer *bu
     struct parser_event stream_event;
     GstFlowReturn ret;
 
-    TRACE("pad %p, pin %p, buffer %p.\n", pad, pin, buffer);
+    GST_LOG("pin %p, buffer %p.", pin, buffer);
 
     if (!pin->pin.pin.peer)
     {




More information about the wine-cvs mailing list