diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-09-23 15:36:28 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-09-23 15:36:28 +0000 |
commit | 3f519e30e9fe194e7228f1e0c1549eb44ebc8471 (patch) | |
tree | a1f4f684e43d70e110b856e61eb4cdc26eab9d6a /gst/base/gstbasesink.c | |
parent | 5afb6e6809ad1d8eb73e2e347d32a9239c3f845d (diff) |
various doc updates
Original commit message from CVS:
* docs/README:
* gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
* gst/gstpluginfeature.c:
* gst/gstutils.c:
various doc updates
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
change an assert into an error until it gets fixed properly
Diffstat (limited to 'gst/base/gstbasesink.c')
-rw-r--r-- | gst/base/gstbasesink.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gst/base/gstbasesink.c b/gst/base/gstbasesink.c index f7be1c4578..7c8c1387b7 100644 --- a/gst/base/gstbasesink.c +++ b/gst/base/gstbasesink.c @@ -650,9 +650,16 @@ gst_base_sink_handle_object (GstBaseSink * basesink, GstPad * pad, if (!basesink->need_preroll) goto no_preroll; + length = basesink->preroll_queued; - g_assert (length == 1); + /* FIXME: a pad probe could have made us lose the buffer, according + * to one of the python tests */ + if (length == 0) { + GST_ERROR_OBJECT (basesink, + "preroll_queued dropped from 1 to 0 while committing state change"); + } + g_assert (length <= 1); } /* see if we need to block now. We cannot block on events, only |