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

Alexandre Julliard julliard at winehq.org
Tue Jan 26 15:54:06 CST 2021


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

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Mon Jan 25 23:29:02 2021 -0600

winegstreamer: Avoid using Wine debug functions in event_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 5401d942a41..8ded4aeef31 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -705,7 +705,7 @@ static gboolean event_sink(GstPad *pad, GstObject *parent, GstEvent *event)
     struct parser_source *pin = gst_pad_get_element_private(pad);
     struct parser *filter = impl_from_strmbase_filter(pin->pin.pin.filter);
 
-    TRACE("pin %p, type \"%s\".\n", pin, GST_EVENT_TYPE_NAME(event));
+    GST_LOG("pin %p, type \"%s\".", pin, GST_EVENT_TYPE_NAME(event));
 
     switch (event->type)
     {
@@ -719,7 +719,7 @@ static gboolean event_sink(GstPad *pad, GstObject *parent, GstEvent *event)
 
                 if (segment->format != GST_FORMAT_TIME)
                 {
-                    FIXME("Unhandled format \"%s\".\n", gst_format_get_name(segment->format));
+                    GST_FIXME("Unhandled format \"%s\".", gst_format_get_name(segment->format));
                     break;
                 }
 
@@ -798,7 +798,7 @@ static gboolean event_sink(GstPad *pad, GstObject *parent, GstEvent *event)
         }
 
         default:
-            WARN("Ignoring \"%s\" event.\n", GST_EVENT_TYPE_NAME(event));
+            GST_WARNING("Ignoring \"%s\" event.", GST_EVENT_TYPE_NAME(event));
     }
     gst_event_unref(event);
     return TRUE;




More information about the wine-cvs mailing list