winegstreamer: Avoid using Wine debug functions in got_data_sink().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-01-23 12:43:46 -06:00 committed by Alexandre Julliard
parent 13ea906985
commit 2cdb12b08e
1 changed files with 3 additions and 3 deletions

View File

@ -690,13 +690,13 @@ static GstFlowReturn queue_stream_event(struct parser_source *pin, const struct
if (pin->flushing) if (pin->flushing)
{ {
pthread_mutex_unlock(&filter->mutex); pthread_mutex_unlock(&filter->mutex);
TRACE("Filter is flushing; discarding event.\n"); GST_DEBUG("Filter is flushing; discarding event.");
return GST_FLOW_FLUSHING; return GST_FLOW_FLUSHING;
} }
pin->event = *event; pin->event = *event;
pthread_mutex_unlock(&filter->mutex); pthread_mutex_unlock(&filter->mutex);
pthread_cond_signal(&pin->event_cond); pthread_cond_signal(&pin->event_cond);
TRACE("Event queued.\n"); GST_LOG("Event queued.");
return GST_FLOW_OK; return GST_FLOW_OK;
} }
@ -880,7 +880,7 @@ static GstFlowReturn got_data_sink(GstPad *pad, GstObject *parent, GstBuffer *bu
struct parser_event stream_event; struct parser_event stream_event;
GstFlowReturn ret; GstFlowReturn ret;
TRACE("pad %p, pin %p, buffer %p.\n", pad, pin, buffer); GST_LOG("pin %p, buffer %p.", pin, buffer);
if (!pin->pin.pin.peer) if (!pin->pin.pin.peer)
{ {