[PATCH 5/6] winegstreamer: Avoid using Wine debugging functions in query_function().
Zebediah Figura
z.figura12 at gmail.com
Mon Jan 25 23:29:06 CST 2021
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
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 b6c92e4807c..a6ecaafd81b 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -1321,7 +1321,7 @@ static gboolean query_function(GstPad *pad, GstObject *parent, GstQuery *query)
struct parser *This = gst_pad_get_element_private(pad);
GstFormat format;
- TRACE("filter %p, type %s.\n", This, GST_QUERY_TYPE_NAME(query));
+ GST_LOG("filter %p, type %s.", This, GST_QUERY_TYPE_NAME(query));
switch (GST_QUERY_TYPE(query)) {
case GST_QUERY_DURATION:
@@ -1341,7 +1341,7 @@ static gboolean query_function(GstPad *pad, GstObject *parent, GstQuery *query)
gst_query_parse_seeking (query, &format, NULL, NULL, NULL);
if (format != GST_FORMAT_BYTES)
{
- WARN("Cannot seek using format \"%s\".\n", gst_format_get_name(format));
+ GST_WARNING("Cannot seek using format \"%s\".", gst_format_get_name(format));
return FALSE;
}
gst_query_set_seeking(query, GST_FORMAT_BYTES, 1, 0, This->filesize);
@@ -1352,7 +1352,7 @@ static gboolean query_function(GstPad *pad, GstObject *parent, GstQuery *query)
gst_query_add_scheduling_mode(query, GST_PAD_MODE_PULL);
return TRUE;
default:
- WARN("Unhandled query type %s.\n", GST_QUERY_TYPE_NAME(query));
+ GST_WARNING("Unhandled query type %s.", GST_QUERY_TYPE_NAME(query));
return FALSE;
}
}
--
2.30.0
More information about the wine-devel
mailing list