avwait: Don't print warnings for every buffer passed
This commit is contained in:
parent
1ec231b85d
commit
50075616f2
@ -940,7 +940,7 @@ gst_avwait_vsink_chain (GstPad * pad, GstObject * parent, GstBuffer * inbuf)
|
|||||||
g_mutex_unlock (&self->mutex);
|
g_mutex_unlock (&self->mutex);
|
||||||
|
|
||||||
if (inbuf) {
|
if (inbuf) {
|
||||||
GST_WARNING_OBJECT (self, "Pass video buffer ending at %" GST_TIME_FORMAT,
|
GST_DEBUG_OBJECT (self, "Pass video buffer ending at %" GST_TIME_FORMAT,
|
||||||
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (inbuf) +
|
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (inbuf) +
|
||||||
GST_BUFFER_DURATION (inbuf)));
|
GST_BUFFER_DURATION (inbuf)));
|
||||||
ret = gst_pad_push (self->vsrcpad, inbuf);
|
ret = gst_pad_push (self->vsrcpad, inbuf);
|
||||||
@ -1146,7 +1146,7 @@ gst_avwait_asink_chain (GstPad * pad, GstObject * parent, GstBuffer * inbuf)
|
|||||||
GstClockTime new_running_time_at_end =
|
GstClockTime new_running_time_at_end =
|
||||||
gst_segment_to_running_time (&self->asegment, GST_FORMAT_TIME,
|
gst_segment_to_running_time (&self->asegment, GST_FORMAT_TIME,
|
||||||
self->asegment.position + new_duration);
|
self->asegment.position + new_duration);
|
||||||
GST_WARNING_OBJECT (self, "Pass audio buffer ending at %" GST_TIME_FORMAT,
|
GST_DEBUG_OBJECT (self, "Pass audio buffer ending at %" GST_TIME_FORMAT,
|
||||||
GST_TIME_ARGS (new_running_time_at_end));
|
GST_TIME_ARGS (new_running_time_at_end));
|
||||||
ret = gst_pad_push (self->asrcpad, inbuf);
|
ret = gst_pad_push (self->asrcpad, inbuf);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user