gstreamer/gst
Olivier Crete ee0eaf824b gst/gstbin.c: Keep track of pads that are being linked/unlinked and resync the state changes.
Original commit message from CVS:
Base on Patch by: Olivier Crete <tester at tester dot ca>
* gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
(gst_bin_remove_func), (update_degree),
(gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
Keep track of pads that are being linked/unlinked and resync the state
changes.
* gst/gstpad.c: (gst_pad_get_direction),
(gst_pad_set_chain_function), (gst_pad_set_getrange_function),
(gst_pad_set_checkgetrange_function), (gst_pad_unlink),
(gst_pad_link_prepare), (gst_pad_link),
(gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
(gst_pad_check_pull_range), (gst_pad_get_range),
(gst_pad_pull_range):
Some code cleanups, use macros to check pad direction.
Don't need to take the lock on the pad direction.
Post structure change when pads are linked/unlinked.
Change some checks into _return_if_fail().
* tests/check/gst/gstbin.c:
(test_link_structure_change_state_changed_sync_cb),
(GST_START_TEST), (gst_bin_suite):
Add testcase for pad link/unlinke resync during a state change.
Fixes #510354.
2008-10-06 16:15:02 +00:00
..
parse gst/parse/grammar.y: Remove unneeded casts. 2008-05-25 14:13:22 +00:00
.gitignore ignore more 2006-07-02 12:52:09 +00:00
gettext.h adding i18n tested with nl, seems to work fine 2004-01-13 11:30:00 +00:00
glib-compat-private.h configure.ac: Require GLib 2.12. 2008-04-01 13:55:20 +00:00
glib-compat.c gst/: remove GLib 2.6 compatibility code 2006-06-13 08:20:24 +00:00
glib-compat.h Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and use it everywhere for GParamSpecs that use static... 2008-03-22 14:56:17 +00:00
gst-i18n-app.h The attached patch will make the inclusion of gettext.h unconditional in gst/gst-i18n-app.h and gst/gst-i18n-lib.h, a... 2006-07-03 14:14:48 +00:00
gst-i18n-lib.h Make --disable-nls to work 2007-04-18 10:58:31 +00:00
gst.c gst/gst.c: Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#5468... 2008-08-07 15:49:00 +00:00
gst.h configure.ac: Add DATADIR for storing presets. 2008-05-27 15:11:35 +00:00
gst_private.h gst/gst_private.h: Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes build with --disable-gst-debug. 2008-08-29 14:12:02 +00:00
gstbin.c gst/gstbin.c: Keep track of pads that are being linked/unlinked and resync the state changes. 2008-10-06 16:15:02 +00:00
gstbin.h gst/gstbin.h: Move priv to the right place. 2007-09-20 07:42:35 +00:00
gstbuffer.c gst/gstbuffer.c: Copy selected buffer-flags when creating subbuffers. 2008-02-15 12:33:00 +00:00
gstbuffer.h gst/: Move declaration of private _gst_foo_initialize() functions into our private header file where they should have... 2007-11-02 18:35:37 +00:00
gstbus.c gst/gstbus.c: Make it known that gst_bus_poll() is pure evil (fixes #538810). 2008-06-20 10:20:08 +00:00
gstbus.h API: add gst_bus_pop_filtered 2007-10-16 20:30:13 +00:00
gstcaps.c gst/gstcaps.c: Fix subset test. 2008-08-07 12:28:28 +00:00
gstcaps.h gst/gstcaps.*: Constify the field gchar * params in set_simple and friends. 2008-03-24 10:33:41 +00:00
gstchildproxy.c gst/gstchildproxy.c: Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature of the the child-added / -removed si... 2008-07-08 09:04:25 +00:00
gstchildproxy.h gst/: Remove double interface from doc-string. 2008-08-12 06:27:35 +00:00
gstclock.c gst/gstclock.c: Add some more debugging to the clock slaving code. 2008-08-25 11:06:34 +00:00
gstclock.h gst/: Fixed a bunch of typos. 2008-05-26 10:07:09 +00:00
gstcompat.h docs/gst/gstreamer-sections.txt: ultral33t func10ns deserve to appear in the docs actualy 2005-08-30 08:17:48 +00:00
gstconfig.h.in Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere. 2008-07-31 15:20:32 +00:00
gstdebugutils.c gst/gstdebugutils.c: Squeeze ghost-pad links and remove <> from classname labels to save more horizontal space. 2008-07-12 09:59:32 +00:00
gstdebugutils.h gst/gstdebugutils.h: Add missing Since' markers to gtk-doc blurbs. 2008-06-26 12:24:08 +00:00
gstelement.c gst/gstelement.c: Avoid leaking the parent ref when we fail changing the state of the element using gst_element_sync_... 2008-09-14 22:01:30 +00:00
gstelement.h gst/gstelement.h: Fix link in documentation. 2008-07-25 10:24:43 +00:00
gstelementfactory.c gst/gstelementfactory.c: Small doc fix. Fixes #535285. 2008-05-28 16:46:07 +00:00
gstelementfactory.h And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00
gsterror.c gst/gsterror.c: Fix typo (spotted by Fabricio Godoy, #536723). 2008-06-05 08:55:41 +00:00
gsterror.h gst/gsterror.*: Add two new error codes for encrypted content. Fixes #524659. 2008-04-09 17:34:54 +00:00
gstevent.c gst/gstevent.c: Use gst_format_get_name() to improve debug output. 2008-07-01 05:53:32 +00:00
gstevent.h gst/gstevent.h: Clarify docs for GST_SEEK_TYPE_CUR (#534505). 2008-05-25 14:44:44 +00:00
gstfilter.c gst/gstfilter.c: Improve documentation of gst_filter_run(). Fixes #518627. 2008-02-25 15:37:36 +00:00
gstfilter.h docs/random/ensonic/media-device-daemon.txt: wild idea, can this be done? 2005-11-21 14:50:22 +00:00
gstformat.c gst/gstformat.c: g_type_class_ref() our GstFormat type to make sure we avoid the thread-unsafe bits of the GObject/GT... 2007-11-01 20:10:48 +00:00
gstformat.h gst/: Move declaration of private _gst_foo_initialize() functions into our private header file where they should have... 2007-11-02 18:35:37 +00:00
gstghostpad.c Add threadsafe replacement functions for getting internal links of an element. Deprecate the old internal links funct... 2008-09-01 10:42:04 +00:00
gstghostpad.h Refactored *_new() functions. 2006-08-31 10:59:11 +00:00
gstindex.c gst/gstindex.c: Don't put descriptions into the nick field of a GEnumValue: it's not meant for that and some language... 2008-04-07 13:27:32 +00:00
gstindex.h gst/gstindex.*: Don't free key strings which we don't own. Fixes crash in gst_index_entry_free() (#522741). 2008-03-17 10:21:59 +00:00
gstindexfactory.c gst/gstelementfactory.c: Unref the factory after it was used the last time, not before. 2008-04-23 14:54:20 +00:00
gstindexfactory.h whitespace fixes 2005-10-15 15:30:24 +00:00
gstinfo.c Don't assume that <valgrind/valgrind.h> exists just because the binary is there. 2008-06-20 15:54:43 +00:00
gstinfo.h configure.ac: Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed. 2008-07-22 18:12:54 +00:00
gstinterface.c gst/gstinterface.c: Don't crash if the element supports the interface queried, but does not implement GstImplementsIn... 2008-02-29 18:38:54 +00:00
gstinterface.h gst/gstinterface.h: GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal 2006-05-10 10:26:55 +00:00
gstiterator.c gst/gstiterator.*: After 3 years it's about time to revise the documentation of the iterator objects. 2008-08-29 17:58:25 +00:00
gstiterator.h gst/gstiterator.*: After 3 years it's about time to revise the documentation of the iterator objects. 2008-08-29 17:58:25 +00:00
gstmacros.h docs/gst/gstreamer-sections.txt: Move GParamSepc macros to standart section. 2008-04-23 06:57:30 +00:00
gstmarshal.list check/Makefile.am: remove GstData checks 2005-05-16 20:21:55 +00:00
gstmessage.c Implement STRUCTURE_CHANGED messages. These messages will be used to signal the parent bin of link/unlink operations ... 2008-10-06 15:31:49 +00:00
gstmessage.h Implement STRUCTURE_CHANGED messages. These messages will be used to signal the parent bin of link/unlink operations ... 2008-10-06 15:31:49 +00:00
gstminiobject.c gst/gstminiobject.c: Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this function was not in the uns... 2008-05-03 19:23:43 +00:00
gstminiobject.h API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT 2008-03-22 14:51:17 +00:00
gstobject.c gst/gstobject.c: Put the gst_object_get_name() back in. 2008-08-28 20:12:54 +00:00
gstobject.h gst/: Fix small typos in the docs. 2007-09-24 11:46:35 +00:00
gstpad.c gst/gstbin.c: Keep track of pads that are being linked/unlinked and resync the state changes. 2008-10-06 16:15:02 +00:00
gstpad.h Add threadsafe replacement functions for getting internal links of an element. Deprecate the old internal links funct... 2008-09-01 10:42:04 +00:00
gstpadtemplate.c gst/gstpadtemplate.c: Revert last change, since it breaks a few plugins, ffmpeg, alaw, and mulaw. Code is correct, b... 2008-08-29 00:34:58 +00:00
gstpadtemplate.h gst/glib-compat-private.h: Add compatibility macro for g_intern_string() for 2007-09-19 13:28:40 +00:00
gstparamspecs.c Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec docs to own section. 2008-04-15 06:16:33 +00:00
gstparamspecs.h Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec docs to own section. 2008-04-15 06:16:33 +00:00
gstparse.c API: gst_parse_launch_full() 2008-05-24 15:33:53 +00:00
gstparse.h API: gst_parse_launch_full() 2008-05-24 15:33:53 +00:00
gstpipeline.c gst/gstinfo.c: Explain why we copy the list. 2008-05-14 18:17:34 +00:00
gstpipeline.h gst/gstelement.*: Improve docs a little. Added Since: for new macro. 2007-02-28 16:43:43 +00:00
gstplugin.c gst/: GstRegistryPool doesn't exist; don't refer to it in docs. 2008-07-15 22:53:00 +00:00
gstplugin.h gst/gstplugin.h: Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC. 2008-01-17 22:22:58 +00:00
gstpluginfeature.c gst/: Use already-interned string for the private GstPluginFeature plugin_name field. 2007-10-13 17:20:09 +00:00
gstpluginfeature.h gst/: Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is unused and unimplemented; finally, it is plugi... 2008-02-05 21:22:47 +00:00
gstpoll.c configure.ac: Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed. 2008-07-22 18:12:54 +00:00
gstpoll.h Add new function gst_poll_fd_ignored() for improved Windows compatibility. 2008-03-18 10:54:52 +00:00
gstpreset.c gst/gstevent.c: Use gst_format_get_name() to improve debug output. 2008-07-01 05:53:32 +00:00
gstpreset.h gst/: Remove double interface from doc-string. 2008-08-12 06:27:35 +00:00
gstquark.c gst/gstquark.*: Add some more quarks for new message. See #510354. 2008-10-06 15:21:14 +00:00
gstquark.h gst/gstquark.*: Add some more quarks for new message. See #510354. 2008-10-06 15:21:14 +00:00
gstquery.c gst/gstutils.c: Remove check in gst_pad_query_convert() that src_val must be positive, because that's not a requirement. 2008-08-27 03:04:23 +00:00
gstquery.h gst/gstquery.h: Fix typo. 2008-04-09 13:15:33 +00:00
gstregistry.c gst/: GstRegistryPool doesn't exist; don't refer to it in docs. 2008-07-15 22:53:00 +00:00
gstregistry.h Move registry backend API to private headers where we can. Add fixme-0.11 comments for the others. Add stubs for the ... 2008-03-07 11:12:59 +00:00
gstregistrybinary.c gst/gstregistrybinary.c: Don't use g_mkstmp() on win32, it's unsafe if glib is using a different libc. 2008-08-11 19:04:04 +00:00
gstregistrybinary.h gst/gstregistrybinary.*: Add crc32 checksum to the binary registry file and check this before accepting a registry file. 2008-04-16 14:18:58 +00:00
gstregistryxml.c Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere. 2008-07-31 15:20:32 +00:00
gstsegment.c gst/gstevent.c: Use gst_format_get_name() to improve debug output. 2008-07-01 05:53:32 +00:00
gstsegment.h Expose gst_segment_copy() to make things easier for the c++ bindings. 2008-04-09 22:37:22 +00:00
gststructure.c gst/gststructure.c: Avoid overflows in fixation code when dealing with MAXINT values, which v4l2src seems to do. 2008-08-05 15:03:27 +00:00
gststructure.h Add function to get uint from a structure. 2007-08-12 16:40:59 +00:00
gstsystemclock.c gst/gstsystemclock.c: Add some more docs to explain why a FIXME was wrongly added. 2007-12-24 14:35:24 +00:00
gstsystemclock.h Doc updates. 2005-10-28 18:14:24 +00:00
gsttaglist.c Add new tags for geo location and clarify purpose of existing location tag. Fixes #481169 2008-09-01 13:35:32 +00:00
gsttaglist.h gst/gsttaglist.h: Fix Since: markers for new geo tags. 2008-09-03 05:52:40 +00:00
gsttagsetter.c gst/gsttagsetter.c: Merging an empty list with another list in KEEP_ALL mode should yield an empty list as result and... 2008-04-13 19:58:43 +00:00
gsttagsetter.h gst/gsttagsetter.h: Can't cast ifaces to a class 2006-06-01 18:22:14 +00:00
gsttask.c gst/: Fixed a bunch of typos. 2008-05-26 10:07:09 +00:00
gsttask.h gst/: Fixed a bunch of typos. 2008-05-26 10:07:09 +00:00
gsttrace.c gst/gst.c: Make _gst_disable_segtrap static, it's only used in gstplugin.c and we can use gst_segtrap_is_enabled() t... 2007-11-06 15:10:36 +00:00
gsttrace.h gst/: The attached patch adds two missing defines to gsttrace.h when tracing is disabled. It also corrects one exist... 2006-07-18 09:42:31 +00:00
gsttypefind.c API: add gst_type_find_suggest_simple(), #533740. 2008-05-19 10:46:44 +00:00
gsttypefind.h API: add gst_type_find_suggest_simple(), #533740. 2008-05-19 10:46:44 +00:00
gsttypefindfactory.c Makefile.am: Add check-exports target and run it as part of 'make check' (see #499140 and #493983). 2007-12-12 23:20:00 +00:00
gsttypefindfactory.h gst/: Fix memory leak in GstTypeFindFactory. 2005-11-29 23:56:20 +00:00
gsturi.c gst/gsturi.c: Don't segfault on input like "tel:+1-123-555-1234". 2008-08-28 10:45:04 +00:00
gsturi.h gst/: Patch from Alessandro Decina adding get_type_full and get_protocols_full private vfuncs to the URIHandler inter... 2007-10-25 16:19:05 +00:00
gstutils.c Fix all leaks due to the bug in gst_pad_template_new() by which it does not steal the refcount of the given caps as s... 2008-08-30 11:55:59 +00:00
gstutils.h API: add gst_bin_find_unlinked_pad() 2008-05-27 10:50:49 +00:00
gstvalue.c gst/gstvalue.c: Fix typos. 2008-07-22 09:24:37 +00:00
gstvalue.h gst/gstvalue.*: Add more missing "Since:" tags to docs. 2007-12-12 14:04:14 +00:00
gstversion.h.in docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs 2008-02-01 16:37:22 +00:00
gstxml.c Typo fixes (#366212). 2006-10-28 15:42:29 +00:00
gstxml.h gtk-doc fixes; trailing-comma-in-enum fix. 2007-11-02 17:43:25 +00:00
Makefile.am Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere. 2008-07-31 15:20:32 +00:00