author | Tim-Philipp Müller <tim@centricular.net> | |
Thu, 23 Feb 2006 16:24:36 +0000 (16:24 +0000) | ||
committer | Tim-Philipp Müller <tim@centricular.net> | |
Thu, 23 Feb 2006 16:24:36 +0000 (16:24 +0000) | ||
commit | 47f270951484310211912db6f8051f67d07a2f2f | |
tree | da101f3eeb93cbcaae3f1bf4f5473f2ab4f18daa | tree | snapshot (tar.xz tar.gz zip) |
parent | 62b3d96e7f9187c3acc5c764e61af556b66621c9 | commit | diff |
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).
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 | diff | blob | history | |
libs/gst/base/gstbasesrc.c | diff | blob | history | |
libs/gst/base/gstbasesrc.h | diff | blob | history |