[PATCH 3/4] winegstreamer: Avoid using Wine debug functions in activate_mode().
Zebediah Figura
z.figura12 at gmail.com
Thu Jan 28 18:40:15 CST 2021
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/winegstreamer/gstdemux.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index e7178bb4dfc..5747cce1dd2 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -1422,7 +1422,6 @@ static gboolean activate_push(GstPad *pad, gboolean activate)
struct parser *This = gst_pad_get_element_private(pad);
if (!activate) {
- TRACE("Deactivating\n");
if (This->push_thread) {
pthread_join(This->push_thread, NULL);
This->push_thread = 0;
@@ -1432,7 +1431,6 @@ static gboolean activate_push(GstPad *pad, gboolean activate)
} else if (!This->push_thread) {
int ret;
- TRACE("Activating\n");
if ((ret = pthread_create(&This->push_thread, NULL, push_data, This)))
{
GST_ERROR("Failed to create push thread: %s", strerror(errno));
@@ -1447,7 +1445,7 @@ static gboolean activate_mode(GstPad *pad, GstObject *parent, GstPadMode mode, g
{
struct parser *filter = gst_pad_get_element_private(pad);
- TRACE("%s source pad for filter %p in %s mode.\n",
+ GST_DEBUG("%s source pad for filter %p in %s mode.",
activate ? "Activating" : "Deactivating", filter, gst_pad_mode_get_name(mode));
switch (mode) {
--
2.30.0
More information about the wine-devel
mailing list