gst/: Don't queue buffers in basesink when we are flushing.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 17 May 2005 17:37:43 +0000 (17:37 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 17 May 2005 17:37:43 +0000 (17:37 +0000)
commit576b2181d856ce2009c6e48991cdfb06ff75a5e6
tree3c5b11b9e5086ae7a81de7c571f75d19f1e0582b
parent1c175ed067215681bba561e4990d23a950160da2
gst/: Don't queue buffers in basesink when we are flushing.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
(gst_basesink_chain_unlocked), (gst_basesink_activate):
* gst/gstminiobject.c: (gst_mini_object_get_type),
(gst_mini_object_free):
* gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
(gst_pad_push), (gst_pad_push_event):
* gst/gstqueue.c: (gst_queue_change_state):
Don't queue buffers in basesink when we are flushing.
Unref buffer when flushing in basesink.
Flush queue when going to READY
Unref buffer when _push() returns an error.
Don't free MiniObject instance when refcount is incremented
in _finalize() so that we can recover objects.
ChangeLog
gst/base/gstbasesink.c
gst/gstminiobject.c
gst/gstpad.c
gst/gstqueue.c
libs/gst/base/gstbasesink.c
plugins/elements/gstqueue.c