mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
gst-libs/gst/audio/gstbaseaudiosink.c: Remove g_print
Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_get_offset), (gst_base_audio_sink_render): Remove g_print Use sync property from baseclass to disable sync.
This commit is contained in:
parent
cfadd55297
commit
a878cbdfe1
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-10-24 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
||||
(gst_base_audio_sink_get_offset), (gst_base_audio_sink_render):
|
||||
Remove g_print
|
||||
Use sync property from baseclass to disable sync.
|
||||
|
||||
2005-10-24 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
||||
|
|
|
@ -363,8 +363,6 @@ gst_base_audio_sink_get_offset (GstBaseAudioSink * sink)
|
|||
sample = (segdone + 1) * sps;
|
||||
}
|
||||
|
||||
g_print ("diff: %d\n", diff);
|
||||
|
||||
return sample;
|
||||
}
|
||||
|
||||
|
@ -406,7 +404,9 @@ gst_base_audio_sink_render (GstBaseSink * bsink, GstBuffer * buf)
|
|||
GST_DEBUG ("time %" GST_TIME_FORMAT ", offset %llu, start %" GST_TIME_FORMAT,
|
||||
GST_TIME_ARGS (time), in_offset, GST_TIME_ARGS (bsink->segment_start));
|
||||
|
||||
if (!GST_CLOCK_TIME_IS_VALID (time)) {
|
||||
/* if not valid timestamp or we don't need to sync, try to play
|
||||
* sample ASAP */
|
||||
if (!GST_CLOCK_TIME_IS_VALID (time) || !bsink->sync) {
|
||||
render_offset = gst_base_audio_sink_get_offset (sink);
|
||||
goto no_sync;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue