gstreamer/gst
Andy Wingo aa0fb69d49 Make sure that when a pipeline goes to PLAYING, that data has actually hit the sink.
Original commit message from CVS:
2005-08-18  Andy Wingo  <wingo@pobox.com>

Make sure that when a pipeline goes to PLAYING, that data has
actually hit the sink.

* check/states/sinks.c (test_sink): A sink that doesn't get any
data shouldn't return SUCCESS for going to either PLAYING or
PAUSED. Test also the return values on the way back down.

* gst/gstelement.c (gst_element_set_state): When changing the
state of an element currently changing state asynchronously, go to
lost-state after commiting the pending state. Makes future calls
to get_state continue to return ASYNC.

* gst/base/gstbasesink.c (gst_base_sink_change_state): Return
ASYNC when going to PLAYING if we still don't have preroll, as can
happen with live sources.
2005-08-18 16:20:24 +00:00
..
base Make sure that when a pipeline goes to PLAYING, that data has actually hit the sink. 2005-08-18 16:20:24 +00:00
elements docs/gst/gstreamer-sections.txt: made some defines private 2005-08-15 16:57:34 +00:00
indexers ignore more 2005-06-17 09:32:19 +00:00
parse gst/gstmessage.*: Added a bunch of messages for advanced seeking. 2005-07-20 18:02:13 +00:00
registries Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
schedulers Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
.gitignore ignore more; fix README 2005-06-17 08:59:41 +00:00
gettext.h adding i18n tested with nl, seems to work fine 2004-01-13 11:30:00 +00:00
gst-i18n-app.h Enable NLS under Windows 2004-06-12 10:45:54 +00:00
gst-i18n-lib.h A bunch of portability fixes, derived from Steve Lhomme's MSVC 2004-04-28 23:26:06 +00:00
gst.c gst/gst.c: Check whether GST_DEBUG_NO_COLOR environment variable is set and disable coloured debug output if that is ... 2005-08-10 21:19:01 +00:00
gst.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gst_private.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstbin.c gst/base/gstbasetransform.c: Debug changes. 2005-08-17 16:33:27 +00:00
gstbin.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstbuffer.c check/Makefile.am: add a .check target for running the check 2005-08-14 22:29:07 +00:00
gstbuffer.h Some docs updates 2005-07-27 18:33:03 +00:00
gstbus.c check/: I wrote a test! 2005-08-18 15:31:28 +00:00
gstbus.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstcaps.c check/gst/gstvalue.c: Added subtract checks. 2005-08-16 09:42:50 +00:00
gstcaps.h gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro (#157311). 2005-07-15 16:10:41 +00:00
gstclock.c gst/: Fix name lookup in GstBin. 2005-05-05 09:28:01 +00:00
gstclock.h gst/base/gstbasesink.c: Small debug line. 2005-06-29 11:10:44 +00:00
gstcompat.h First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor... 2005-03-07 18:27:42 +00:00
gstconfig.h.in Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstelement.c Make sure that when a pipeline goes to PLAYING, that data has actually hit the sink. 2005-08-18 16:20:24 +00:00
gstelement.h Some docs updates 2005-07-27 18:33:03 +00:00
gstelementfactory.c check/gst/gstbin.c: add test for state change message on a bin 2005-07-09 15:18:53 +00:00
gstelementfactory.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gsterror.c Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gsterror.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstevent.c Some docs updates 2005-07-27 18:33:03 +00:00
gstevent.h check/: I wrote a test! 2005-08-18 15:31:28 +00:00
gstfilter.c Changes to handle compilers that don't have variadic macro support. In particular, glib headers define some inlines ... 2004-05-07 02:36:28 +00:00
gstfilter.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstformat.c First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor... 2005-03-07 18:27:42 +00:00
gstformat.h GstElement::new-pad -> pad-added, GstElement::state-change -> state-changed, GstValueFixedList -> GstValueArray, add ... 2005-07-20 17:16:44 +00:00
gstghostpad.c gst/gstghostpad.c: Actually implement (re)setting the target on a ghostpad as described in the docs. 2005-08-11 14:24:58 +00:00
gstghostpad.h check/gst/gstghostpad.c: Added test for removing an element with ghostpad from a bin. 2005-07-29 19:22:28 +00:00
gstindex.c Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstindex.h fix for #150242 2004-08-16 10:35:36 +00:00
gstinfo.c gst/gstinfo.*: Fix illegal cast on some platforms (#309253). 2005-07-20 16:20:39 +00:00
gstinfo.h gst/gstinfo.*: Fix illegal cast on some platforms (#309253). 2005-07-20 16:20:39 +00:00
gstinterface.c remove gst_info remove gstlog.h, fold back to gstinfo.h update translations 2004-05-03 16:03:24 +00:00
gstinterface.h put symbols in the sections.txt into the right sections (so that we dont get wrong undocumented symbols) added TITLE ... 2004-07-21 11:32:09 +00:00
gstiterator.c Added GstBin test. 2005-03-09 16:10:59 +00:00
gstiterator.h gst/gstiterator.h: Fix wrong include and 'make distcheck'. 2005-08-08 13:55:37 +00:00
gstmacros.h A bunch of portability fixes, derived from Steve Lhomme's MSVC 2004-04-28 23:26:06 +00:00
gstmarshal.list check/Makefile.am: remove GstData checks 2005-05-16 20:21:55 +00:00
gstmemchunk.c pkgconfig/: New files. 2005-04-06 11:08:07 +00:00
gstmemchunk.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstmessage.c gst/base/gstbasetransform.c: Handle PAUSED->READY->PAUSED transition after negotiation occurred already. 2005-08-01 17:26:00 +00:00
gstmessage.h gst/gstmessage.*: Added a bunch of messages for advanced seeking. 2005-07-20 18:02:13 +00:00
gstminiobject.c check/Makefile.am: add two more tests for valgrinding 2005-07-11 18:41:49 +00:00
gstminiobject.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstobject.c Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstobject.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstpad.c check/: I wrote a test! 2005-08-18 15:31:28 +00:00
gstpad.h gst/gstpad.h: Fix inline docs for GstPadLinkReturn. 2005-07-31 11:59:33 +00:00
gstparse.c gst/gstparse.c: Free the GString used in _gst_parse_escape() 2004-04-21 22:56:59 +00:00
gstparse.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstpipeline.c gst/gstpipeline.c (gst_pipeline_change_state): Interpret play-timeout==0 to mean no timeout at all. In that case, don... 2005-08-17 16:57:01 +00:00
gstpipeline.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstplugin.c gst/gstplugin.c: apply patch from #172526 to make register work on MacOSX 2005-05-03 12:46:47 +00:00
gstplugin.h gst/: Remove gst_library_load as it does more harm than good with the new g_module flags. 2005-04-25 13:00:47 +00:00
gstpluginfeature.c First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor... 2005-03-07 18:27:42 +00:00
gstpluginfeature.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gstprobe.c check/Makefile.am: remove GstData checks 2005-05-16 20:21:55 +00:00
gstprobe.h check/Makefile.am: remove GstData checks 2005-05-16 20:21:55 +00:00
gstquery.c gst/gstquery.*: Remove old types 2005-07-07 08:43:17 +00:00
gstquery.h GstElement::new-pad -> pad-added, GstElement::state-change -> state-changed, GstValueFixedList -> GstValueArray, add ... 2005-07-20 17:16:44 +00:00
gstqueryutils.c Remove old query functions. Ported old code. 2005-05-09 10:53:13 +00:00
gstqueryutils.h Remove old query functions. Ported old code. 2005-05-09 10:53:13 +00:00
gstqueue.c check/: I wrote a test! 2005-08-18 15:31:28 +00:00
gstqueue.h gst/gstqueue.*: Propagate GstFlowReturn more intelligently upstream and output an ERROR/EOS when streaming stopped du... 2005-07-19 17:46:37 +00:00
gstregistry.c add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will only scan the GST_PLUGIN_PATH locations, and not add system... 2005-06-29 12:25:05 +00:00
gstregistry.h gst/: Fix macro's for Mingw (fixes #162276). 2005-01-05 11:15:04 +00:00
gstregistrypool.c remove gst_info remove gstlog.h, fold back to gstinfo.h update translations 2004-05-03 16:03:24 +00:00
gstregistrypool.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gststructure.c gst/gstpad.h: Fix inline docs for GstPadLinkReturn. 2005-07-31 11:59:33 +00:00
gststructure.h gst/gstpad.h: Fix inline docs for GstPadLinkReturn. 2005-07-31 11:59:33 +00:00
gstsystemclock.c valgrind unit tests as check-local; add gst_deinit 2005-07-11 15:10:40 +00:00
gstsystemclock.h Small typo fixes, doc updates. 2005-05-30 15:48:45 +00:00
gsttag.c Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't spew out a warning if a tag that is already registered is re-r... 2005-08-13 10:33:22 +00:00
gsttag.h Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't spew out a warning if a tag that is already registered is re-r... 2005-08-13 10:33:22 +00:00
gsttaginterface.c gst/gsttaginterface.c: Some documentation fixes (#307394 and #307397). 2005-06-30 10:59:34 +00:00
gsttaginterface.h Next big merge. 2005-03-21 17:34:02 +00:00
gsttaglist.c Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't spew out a warning if a tag that is already registered is re-r... 2005-08-13 10:33:22 +00:00
gsttaglist.h Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't spew out a warning if a tag that is already registered is re-r... 2005-08-13 10:33:22 +00:00
gsttagsetter.c gst/gsttaginterface.c: Some documentation fixes (#307394 and #307397). 2005-06-30 10:59:34 +00:00
gsttagsetter.h Next big merge. 2005-03-21 17:34:02 +00:00
gsttask.c Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gsttask.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gsttrace.c gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gsttrace.h gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gsttrashstack.c Changes to handle compilers that don't have variadic macro support. In particular, glib headers define some inlines ... 2004-05-07 02:36:28 +00:00
gsttrashstack.h gst/gsttrashstack.h: Ooohh. a nasty one! After having a failed pop() from the stack, it's possible that the stack is ... 2005-04-26 18:07:45 +00:00
gsttypefind.c gst/: Make gst_caps_replace() work like other _replace() functions. 2005-04-20 09:10:42 +00:00
gsttypefind.h Removed plugable schedulers. 2005-07-18 12:49:53 +00:00
gsturi.c *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large source-munging commit!!! 2005-06-28 09:59:01 +00:00
gsturi.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gsturitype.c GST_DEBUG reorganization containing loads of stuff: 2003-06-29 14:05:49 +00:00
gsturitype.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstutils.c gst/base/gstbasetransform.c: Debug changes. 2005-08-17 16:33:27 +00:00
gstutils.h gst/base/gstbasetransform.c: Debug changes. 2005-08-17 16:33:27 +00:00
gstvalue.c check/gst/gstvalue.c: Added subtract checks. 2005-08-16 09:42:50 +00:00
gstvalue.h GstElement::new-pad -> pad-added, GstElement::state-change -> state-changed, GstValueFixedList -> GstValueArray, add ... 2005-07-20 17:16:44 +00:00
gstversion.h.in gst/gstversion.h.in: Protect header. 2004-12-09 13:37:18 +00:00
gstxml.c docs/gst/gstreamer-sections.txt: made some defines private 2005-08-15 16:57:34 +00:00
gstxml.h docs/gst/Makefile.am: Remove --ignore-fail-on-non-empty (#150331) 2004-08-18 21:46:55 +00:00
Makefile.am Removed plugable schedulers. 2005-07-18 12:49:53 +00:00