mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only warn if sync=true.
Original commit message from CVS: 2006-02-07 Andy Wingo <wingo@pobox.com> * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only warn if sync=true.
This commit is contained in:
parent
d887b44ee9
commit
e8f2242503
2 changed files with 17 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-02-07 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
|
||||
warn if sync=true.
|
||||
|
||||
2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -1222,9 +1222,18 @@ gst_base_sink_chain_unlocked (GstBaseSink * basesink, GstPad * pad,
|
|||
goto flushing;
|
||||
|
||||
if (G_UNLIKELY (!basesink->have_newsegment)) {
|
||||
GST_ELEMENT_WARNING (basesink, STREAM, FAILED,
|
||||
(_("Internal data flow problem.")),
|
||||
("Received buffer without a new-segment. Cannot sync to clock."));
|
||||
gboolean sync;
|
||||
|
||||
GST_OBJECT_LOCK (basesink);
|
||||
sync = basesink->sync;
|
||||
GST_OBJECT_UNLOCK (basesink);
|
||||
|
||||
if (sync) {
|
||||
GST_ELEMENT_WARNING (basesink, STREAM, FAILED,
|
||||
(_("Internal data flow problem.")),
|
||||
("Received buffer without a new-segment. Cannot sync to clock."));
|
||||
}
|
||||
|
||||
basesink->have_newsegment = TRUE;
|
||||
/* this means this sink will not be able to sync to the clock */
|
||||
basesink->abidata.ABI.clip_segment->start = -1;
|
||||
|
|
Loading…
Reference in a new issue