gstreamer/gst
Edward Hervey 4f9d5adb40 gst/gstbin.c: (de)activate src pads before calling state_change on the childs.
Original commit message from CVS:
* gst/gstbin.c: (activate_pads),
(iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
(gst_bin_change_state_func):
(de)activate src pads before calling state_change on the childs.
This is to avoid the case where a src ghostpad is blocked (holding the
stream lock), which would block the deactivation of the ghostpad's
target pad.
* gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
(gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
(gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
(gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
(gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
(gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
(gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
(gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
(gst_proxy_pad_dispose), (gst_proxy_pad_init),
(gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
(gst_ghost_pad_class_init),
(gst_ghost_pad_internal_do_activate_push),
(gst_ghost_pad_internal_do_activate_pull),
(gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
(gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
(gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
(gst_ghost_pad_new), (gst_ghost_pad_set_target):
GhostPads now create their internal GstProxyPad at creation (and not
when they're linked, as it was being done previously).
The internal and target pads are linked straight away.
The data will also travel through the other pad in order to make
pad blocking and probes non-hackish (the probe/block now really happens
on the GhostPad and not on the target).
* gst/gstpad.c: (gst_pad_set_blocked_async),
(gst_pad_link_prepare), (gst_pad_push_event):
Remove previous ghostpad cruft.
* gst/gstutils.c: (gst_pad_add_data_probe),
(gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
(gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
(gst_pad_remove_buffer_probe):
Remove previous ghost pad cruft.
Added more detailed debug statements.
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Fix the testsuite for refcounting changes.
The comments about who has references were correct, but the refcount
being checked wasn't the same (!?!).
2006-07-11 16:20:09 +00:00
..
parse gst/parse/Makefile.am: Fix build with 'make -j N' even more (#340016). 2006-06-12 16:50:09 +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 gst/: remove GLib 2.6 compatibility code 2006-06-13 08:20:24 +00:00
glib-compat.c gst/: remove GLib 2.6 compatibility code 2006-06-13 08:20:24 +00:00
glib-compat.h gst/: remove GLib 2.6 compatibility code 2006-06-13 08:20:24 +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 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.c gst/gst.c: let's make valgrind happy... 2006-07-10 09:42:20 +00:00
gst.h Removed GstURI , closes bug #321061 2005-11-22 13:58:00 +00:00
gst_private.h gst/gst_private.h: add a new #ifdef to use __declspec(dllimport) only for other modules and not for gstreamer core 2006-04-09 16:57:34 +00:00
gstbin.c gst/gstbin.c: (de)activate src pads before calling state_change on the childs. 2006-07-11 16:20:09 +00:00
gstbin.h Documentation updates. 2006-03-13 11:04:38 +00:00
gstbuffer.c No point in checking if the size of the subbuffer > 0, the code handles it correclty as demonstrated by unit test. 2006-07-05 17:09:18 +00:00
gstbuffer.h gst/gstbuffer.h: Avoid unneeded type checking. 2006-06-12 09:11:44 +00:00
gstbus.c gst/gstbus.c: Fix some typos, make docs more explicit. 2006-06-21 10:01:58 +00:00
gstbus.h gst/: Remove comma at end of enumerator list. 2006-07-06 09:21:03 +00:00
gstcaps.c gst/: Use GSlice when the glib we build against is >= 2.10 2006-07-03 16:57:54 +00:00
gstcaps.h gst/gstcaps.*: Added gpointer GType for GstStaticCaps so we can wrap them in bindings. 2005-12-20 11:12:53 +00:00
gstchildproxy.c gst/gstbin.c: Help the compiler a bit with type registration. 2006-02-28 10:52:02 +00:00
gstchildproxy.h gst/gst.h: include "gstchildproxy.h" 2005-11-22 09:35:25 +00:00
gstclock.c gst/: Use GSlice when the glib we build against is >= 2.10 2006-07-03 16:57:54 +00:00
gstclock.h gst/: Remove comma at end of enumerator list. 2006-07-06 09:21:03 +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 More docs for configuration options, add docs to gtk-doc. 2006-07-10 19:35:32 +00:00
gstelement.c gst/gstelement.c: Better pad activation code: Reset the collect value too on resync. 2006-07-09 16:56:48 +00:00
gstelement.h whitespace/width fixes 2006-06-06 09:47:40 +00:00
gstelementfactory.c gst/gstelementfactory.c: Some cleanups. 2006-04-11 11:47:39 +00:00
gstelementfactory.h gst/gstbuffer.h: Avoid unneeded type checking. 2006-06-12 09:11:44 +00:00
gsterror.c Add G_UNLIKELY in type registration. 2006-06-12 08:55:21 +00:00
gsterror.h gst/gsterror.h: Fix some minor docs errors. 2006-03-04 14:45:40 +00:00
gstevent.c gst/: constify quark registration strings. Fixes #344115 2006-06-12 09:28:35 +00:00
gstevent.h gst/: Remove comma at end of enumerator list. 2006-07-06 09:21:03 +00:00
gstfilter.c docs/random/ensonic/media-device-daemon.txt: wild idea, can this be done? 2005-11-21 14:50:22 +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/: make sure some essential types used by events are registered as part of gst_init() 2006-05-10 14:05:46 +00:00
gstformat.h Doc fixes. 2005-11-20 14:50:43 +00:00
gstghostpad.c gst/gstbin.c: (de)activate src pads before calling state_change on the childs. 2006-07-11 16:20:09 +00:00
gstghostpad.h Doc fixes. 2005-11-24 09:44:07 +00:00
gstindex.c Fix leak spotted by coverity checker. Fixes #343827 2006-06-07 08:38:30 +00:00
gstindex.h Fix broken GObject macros 2006-04-08 18:05:16 +00:00
gstindexfactory.c Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent) 2006-04-08 20:57:31 +00:00
gstindexfactory.h whitespace fixes 2005-10-15 15:30:24 +00:00
gstinfo.c gst/gstinfo.c: Promote GST_DEBUG_CATEGORY_STATIC in example in docs. 2006-06-23 13:16:46 +00:00
gstinfo.h gst/gstinfo.*: Add some G_[UN]LIKELY. 2006-06-12 08:47:16 +00:00
gstinterface.c various style fixes 2005-10-15 16:01:57 +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 doc fixes, to link to function, just write gst_cool_function(), don't prefix with '#' 2006-01-27 22:34:51 +00:00
gstiterator.h gst/: Remove comma at end of enumerator list. 2006-07-06 09:21:03 +00:00
gstmacros.h whitespace fixes 2005-10-15 15:30:24 +00:00
gstmarshal.list check/Makefile.am: remove GstData checks 2005-05-16 20:21:55 +00:00
gstmessage.c gst/: constify quark registration strings. Fixes #344115 2006-06-12 09:28:35 +00:00
gstmessage.h gst/gstmessage.h: Use a valid int for the _MESSAGE_ANY enum value to avoid compiler warnings. 2006-07-06 16:17:20 +00:00
gstminiobject.c gst/: Use _CAST macros to avoid unneeded type checking. 2006-06-12 09:17:44 +00:00
gstminiobject.h gst/gstbuffer.h: Avoid unneeded type checking. 2006-06-12 09:11:44 +00:00
gstobject.c gst/gstobject.c: Random micro-optimisation: don't use a hash table with strings as keys and the usual strdup/strcmp i... 2006-07-07 17:16:26 +00:00
gstobject.h gst/gstobject.h: Add cast to make compiler happy - refcount variable was a gint in GstObject but is a guint in GObjec... 2006-05-15 08:16:09 +00:00
gstpad.c gst/gstbin.c: (de)activate src pads before calling state_change on the childs. 2006-07-11 16:20:09 +00:00
gstpad.h gst/gstpad.*: Lots of comments and docs added to the pad functions. 2006-07-06 15:21:46 +00:00
gstpadtemplate.c Add G_UNLIKELY in type registration. 2006-06-12 08:55:21 +00:00
gstpadtemplate.h Fix padtemplate docs, fixes #328805. 2006-02-14 18:26:19 +00:00
gstparse.c Make sure gstprivate.h and/or config.h are always included first, otherwise some of our defines (like _FILE_OFFSET_BI... 2006-05-04 15:20:14 +00:00
gstparse.h gst/: Make things work with --disable-parse as they do with 2006-02-20 23:34:40 +00:00
gstpipeline.c gst/gstcaps.c: Fix crasher when passed NULL. Doc clarification. 2006-06-22 13:51:19 +00:00
gstpipeline.h Documentation updates. 2006-03-13 11:04:38 +00:00
gstplugin.c gst/: Use _CAST macros to avoid unneeded type checking. 2006-06-12 09:17:44 +00:00
gstplugin.h gst/: Remove comma at end of enumerator list. 2006-07-06 09:21:03 +00:00
gstpluginfeature.c gst/: Use _CAST macros to avoid unneeded type checking. 2006-06-12 09:17:44 +00:00
gstpluginfeature.h gst/gstbuffer.h: Avoid unneeded type checking. 2006-06-12 09:11:44 +00:00
gstquery.c gst/gstquery.c: Added some docs for the segment query. 2006-05-08 17:12:08 +00:00
gstquery.h docs/gst/gstreamer-sections.txt: Reworked query docs. 2006-02-14 12:07:16 +00:00
gstregistry.c gst/: Use _CAST macros to avoid unneeded type checking. 2006-06-12 09:17:44 +00:00
gstregistry.h gst/: only write out registry if it has changed, fixes #338339 2006-04-28 20:47:23 +00:00
gstregistryxml.c gst/gstregistryxml.c: Avoid strdup. (will happen in libxml, but hey!) 2006-07-05 18:17:01 +00:00
gstsegment.c gst/gstsegment.c: Use G_UNLIKELY to help the compiler a bit. 2006-06-12 09:29:49 +00:00
gstsegment.h gst/gstsegment.h: Don't use c++-style comments, fixes #343929 2006-06-06 13:11:03 +00:00
gststructure.c gst/gststructure.c: add some comments rename a method so that it actually says what it does better 2006-05-10 14:12:14 +00:00
gststructure.h gst/gstevent.h (struct _GstEvent): Only one pointer of padding. 2005-11-29 18:57:59 +00:00
gstsystemclock.c gst/gstsystemclock.c: Add debug that can be enabled using a #define at the top of the file, for dumping stats about h... 2006-05-30 12:04:29 +00:00
gstsystemclock.h Doc updates. 2005-10-28 18:14:24 +00:00
gsttaglist.c Add G_UNLIKELY in type registration. 2006-06-12 08:55:21 +00:00
gsttaglist.h API: add GST_TAG_PREVIEW_IMAGE (#343341). 2006-05-30 10:12:02 +00:00
gsttagsetter.c Add G_UNLIKELY in type registration. 2006-06-12 08:55:21 +00:00
gsttagsetter.h gst/gsttagsetter.h: Can't cast ifaces to a class 2006-06-01 18:22:14 +00:00
gsttask.c Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent) 2006-04-08 20:57:31 +00:00
gsttask.h gst/: Remove comma at end of enumerator list. 2006-07-06 09:21:03 +00:00
gsttrace.c Doc fixes. 2005-11-24 09:44:07 +00:00
gsttrace.h Doc fixes. 2005-11-24 09:44:07 +00:00
gsttypefind.c doc indent fix 2006-05-24 09:00:47 +00:00
gsttypefind.h gst/gsttypefind.*: Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets registered for GstTypeFind p... 2006-05-18 14:25:00 +00:00
gsttypefindfactory.c Add G_UNLIKELY in type registration. 2006-06-12 08:55:21 +00:00
gsttypefindfactory.h gst/: Fix memory leak in GstTypeFindFactory. 2005-11-29 23:56:20 +00:00
gsturi.c gst/gstregistryxml.c: Avoid strdup. (will happen in libxml, but hey!) 2006-07-05 18:17:01 +00:00
gsturi.h Add new API: gst_uri_has_protocol() (#333779). 2006-03-09 12:08:54 +00:00
gstutils.c gst/gstbin.c: (de)activate src pads before calling state_change on the childs. 2006-07-11 16:20:09 +00:00
gstutils.h API: add gst_element_seek_simple() (#342238). 2006-05-19 10:29:07 +00:00
gstvalue.c gst/: remove GLib 2.6 compatibility code 2006-06-13 08:20:24 +00:00
gstvalue.h gst/gstvalue.c: Improve documentation for gst_value_union(). 2005-11-27 19:52:49 +00:00
gstversion.h.in configure.ac: use new AS_VERSION and AS_NANO macros 2006-04-01 09:41:43 +00:00
gstxml.c gst/: Fix deserialisation from XML. Set parent manually instead of using gst_bin_add(), since gst_bin_add() will unli... 2006-06-30 13:17:46 +00:00
gstxml.h Fix broken GObject macros 2006-04-08 18:05:16 +00:00
Makefile.am Fix build when disabling tracing (fixes #344016). Also start to document the defines that disable the sub-systems. 2006-07-10 18:27:40 +00:00