]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commit
libs/gst/base/gstbasesrc.*: Don't unconditionally send EOS when going from PAUSED to
authorTim-Philipp Müller <tim@centricular.net>
Thu, 23 Feb 2006 16:24:36 +0000 (16:24 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 23 Feb 2006 16:24:36 +0000 (16:24 +0000)
commit47f270951484310211912db6f8051f67d07a2f2f
treeda101f3eeb93cbcaae3f1bf4f5473f2ab4f18daa
parent62b3d96e7f9187c3acc5c764e61af556b66621c9
libs/gst/base/gstbasesrc.*: Don't unconditionally send EOS when going from PAUSED to

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_init), (gst_base_src_loop),
(gst_base_src_activate_push), (gst_base_src_activate_pull),
(gst_base_src_change_state):
* libs/gst/base/gstbasesrc.h:
Don't unconditionally send EOS when going from PAUSED to
READY state, esp. make sure we don't send two EOS events
in some cases (e.g. one when reaching EOS and one when
going from PAUSED to READY). Also, we don't want to send
EOS events when operating in pull mode. However, we do
want to send an EOS event when shutting down a live
source explicitly, for example (fixes #330996).
ChangeLog
libs/gst/base/gstbasesrc.c
libs/gst/base/gstbasesrc.h