Zebediah Figura : winegstreamer: Avoid using Wine debug functions in activate_mode().
Alexandre Julliard
julliard at winehq.org
Fri Jan 29 15:10:21 CST 2021
Module: wine
Branch: master
Commit: 1dc7015cdbcc863a57c89cc81b94440c10686da5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1dc7015cdbcc863a57c89cc81b94440c10686da5
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Thu Jan 28 18:40:15 2021 -0600
winegstreamer: Avoid using Wine debug functions in activate_mode().
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, 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) {
More information about the wine-cvs
mailing list