Zebediah Figura : winegstreamer: Avoid using Wine debug functions in query_sink().
Alexandre Julliard
julliard at winehq.org
Wed Feb 10 15:34:01 CST 2021
Module: wine
Branch: master
Commit: 29cea50d27bf611d1dc64520c1b6bd9c0241b315
URL: https://source.winehq.org/git/wine.git/?a=commit;h=29cea50d27bf611d1dc64520c1b6bd9c0241b315
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Tue Feb 9 17:13:58 2021 -0600
winegstreamer: Avoid using Wine debug functions in query_sink().
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winegstreamer/gstdemux.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index e6abc50e41b..8fc1e8608a1 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -920,7 +920,7 @@ static gboolean query_sink(GstPad *pad, GstObject *parent, GstQuery *query)
struct parser_source *pin = gst_pad_get_element_private(pad);
struct wg_parser_stream *stream = pin->wg_stream;
- TRACE("pin %p, type \"%s\".\n", pin, gst_query_type_get_name(query->type));
+ GST_LOG("pin %p, type \"%s\".", pin, gst_query_type_get_name(query->type));
switch (query->type)
{
@@ -966,7 +966,7 @@ static gboolean query_sink(GstPad *pad, GstObject *parent, GstQuery *query)
if (!ret && WARN_ON(gstreamer))
{
gchar *str = gst_caps_to_string(caps);
- WARN("Rejecting caps \"%s\".\n", debugstr_a(str));
+ GST_WARNING("Rejecting caps \"%s\".", str);
g_free(str);
}
gst_query_set_accept_caps_result(query, ret);
More information about the wine-cvs
mailing list