libs/gst/base/gstbasesrc.c: Allow sending EOS to the source to make it send out an...
authorWim Taymans <wim.taymans@gmail.com>
Wed, 19 Dec 2007 17:49:38 +0000 (17:49 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 19 Dec 2007 17:49:38 +0000 (17:49 +0000)
commitb0076d395d1ae97bc5d76c856aa433c1acb72ab3
tree27df8025ef049d224da575d6f6a8c87e836704ef
parenta332964e6c25c12a0c87be7d4007fb83b22e0325
libs/gst/base/gstbasesrc.c: Allow sending EOS to the source to make it send out an EOS event from the streaming thread.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
(gst_base_src_get_range), (gst_base_src_pad_get_range),
(gst_base_src_loop), (gst_base_src_set_flushing),
(gst_base_src_change_state):
Allow sending EOS to the source to make it send out an EOS event from
the streaming thread.
Update docs and deprecate the old NULL/READY shutdown method.
* tests/check/libs/basesrc.c: (GST_START_TEST),
(gst_basesrc_suite):
Add unit test for controlled shutdown.
ChangeLog
libs/gst/base/gstbasesrc.c
tests/check/libs/basesrc.c