gstreamer/gst
Andy Wingo f2cf753b17 gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer.
Original commit message from CVS:
2005-06-27  Andy Wingo  <wingo@pobox.com>

* gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
remaining buffer.

* gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
returns a sorted copy of the trace list.
(gst_alloc_trace_print_live): New API, only prints traces with
live objects. Sort the list.
(gst_alloc_trace_print_all): Sort the list.
(gst_alloc_trace_print): Align columns.

* gst/elements/gstttypefindelement.c:
* gst/elements/gsttee.c:
* gst/base/gstbasesrc.c:
* gst/base/gstbasesink.c:
* gst/base/gstbasetransform.c:
* gst/gstqueue.c: Adapt for pad activation changes.

* gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
sched.
(gst_pipeline_dispose): Drop ref on sched.

* gst/gstpad.c (gst_pad_init): Set the default activate func.
(gst_pad_activate_default): Push mode by default.
(pre_activate_switch, post_activate_switch): New stubs, things to
do before and after switching activation modes on pads.
(gst_pad_set_active): Take a boolean and not a mode, dispatch to
the pad's activate function to choose which mode to activate.
Shortcut on deactivation and call the right function directly.
(gst_pad_activate_pull): New API, (de)activates a pad in pull
mode.
(gst_pad_activate_push): New API, same for push mode.
(gst_pad_set_activate_function)
(gst_pad_set_activatepull_function)
(gst_pad_set_activatepush_function): Setters for new API.

* gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
Trace all miniobjects.
(gst_mini_object_make_writable): Unref the arg if we copy, like
gst_caps_make_writable.

* gst/gstmessage.c (_gst_message_initialize): No trace init.

* gst/gstghostpad.c (gst_proxy_pad_do_activate)
(gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
Adapt for new pad API.

* gst/gstevent.c (_gst_event_initialize): Don't initialize trace.

* gst/gstelement.h:
* gst/gstelement.c (gst_element_iterate_src_pads)
(gst_element_iterate_sink_pads): New API functions.

* gst/gstelement.c (iterator_fold_with_resync): New utility,
should fold into gstiterator.c in some form.
(gst_element_pads_activate): Simplified via use of fold and
delegation of decisions to gstpad->activate.

* gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
help in debugging.

* gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
class once in init, like gstmessage. Didn't run into this issue
but it seems correct. Don't initialize a trace, gstminiobject does
that.

* check/pipelines/simple_launch_lines.c (test_stop_from_app): New
test, runs fakesrc ! fakesink, stopping on ::handoff via a message
to the bus.
(assert_live_count): New util function, uses alloc traces to check
cleanup.

* check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
To be modified when unlink drops the internal pad.
2005-06-27 18:35:05 +00:00
..
base gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
elements gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
indexers ignore more 2005-06-17 09:32:19 +00:00
parse add a log line for type deserialization 2005-06-22 11:02:57 +00:00
registries gst/elements/gsttypefindelement.c: Don't restart typefinding on a discont. 2005-06-23 11:43:39 +00:00
schedulers gst/schedulers/threadscheduler.c: Ref the task before pushing it on the threadpool. This makes sure that we have a re... 2005-06-23 17:07:08 +00:00
.gitignore ignore more; fix README 2005-06-17 08:59:41 +00:00
cothreads.c gst/: Aplied part of patch #157127: Cleanup of issues reported by sparse. 2004-11-02 15:02:12 +00:00
cothreads.h gst/: implement gst_pad_collect as replacement for gst_pad_select. 2004-04-04 02:36:12 +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/gstutils.c: RPAD fixes all around. 2005-06-08 22:16:27 +00:00
gst.h gst/gstutils.c: RPAD fixes all around. 2005-06-08 22:16:27 +00:00
gst_private.h Bump version number, we're now 0.9.0 2005-03-09 11:08:18 +00:00
gstarch.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstbin.c gst/gstbin.c: Cleanup the get_state() function a little, make sure it iterates the same set of elements. 2005-06-27 18:11:24 +00:00
gstbin.h more doc and whitespace fixes 2005-06-27 08:16:51 +00:00
gstbuffer.c gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstbuffer.h gst/gstbuffer.h: Added convenience macros for setting buffers in GValue. 2005-06-22 09:55:16 +00:00
gstbus.c gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstbus.h gst/gstbus.*: Implement a real GSource and use g_main_context_wakeup() to signal new messages instead of the socketpair. 2005-05-26 10:48:53 +00:00
gstcaps.c GCC 4 fixen. 2005-05-04 21:29:44 +00:00
gstcaps.h Convert everything from GstAtomicInt to g_atomic_int_*, and remove gstatomic. 2005-04-24 22:49:45 +00:00
gstclock.c gst/: Fix name lookup in GstBin. 2005-05-05 09:28:01 +00:00
gstclock.h Convert everything from GstAtomicInt to g_atomic_int_*, and remove gstatomic. 2005-04-24 22:49:45 +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 merges from 0.8 for 64 bit issues 2005-05-02 15:20:30 +00:00
gstelement.c gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstelement.h gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstelementfactory.c add a debug line 2005-06-08 13:41:05 +00:00
gstelementfactory.h gst/: Move elementfactory methods to separate .h file. 2005-05-30 15:51:40 +00:00
gsterror.c added params for deprecation guards documented some more enums 2005-01-21 17:52:50 +00:00
gsterror.h flesh out error descriptions 2005-02-11 09:58:31 +00:00
gstevent.c gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstevent.h check/Makefile.am: remove GstData checks 2005-05-16 20:21:55 +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 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
gstghostpad.c gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstghostpad.h gst/gstutils.c: RPAD fixes all around. 2005-06-08 22:16:27 +00:00
gstindex.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
gstindex.h fix for #150242 2004-08-16 10:35:36 +00:00
gstinfo.c Convert everything from GstAtomicInt to g_atomic_int_*, and remove gstatomic. 2005-04-24 22:49:45 +00:00
gstinfo.h Convert everything from GstAtomicInt to g_atomic_int_*, and remove gstatomic. 2005-04-24 22:49:45 +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 adding basetransform and iterator docs 2005-06-27 14:40:09 +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/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstmessage.h start pulling in base classes and elements for docs 2005-06-24 18:16:14 +00:00
gstminiobject.c gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstminiobject.h gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstobject.c gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass) 2005-06-23 15:04:48 +00:00
gstobject.h gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass) 2005-06-23 15:04:48 +00:00
gstpad.c gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstpad.h gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +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 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
gstpipeline.c gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstpipeline.h Next big merge. 2005-03-21 17:34:02 +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 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
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 check/Makefile.am: remove GstData checks 2005-05-16 20:21:55 +00:00
gstquery.h check/Makefile.am: remove GstData checks 2005-05-16 20:21:55 +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 gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. 2005-06-27 18:35:05 +00:00
gstqueue.h gst/: Fix state changes for non sinks. We now change sinks, then elements with unconnected srcpads, then the rest. 2005-05-25 19:33:39 +00:00
gstregistry.c gst/gstregistry.c: refuse to add plugins when a plugin with same name is already registered. Fixes a bunch of "How to... 2004-05-10 00:35:59 +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
gstscheduler.c Next big merge. 2005-03-21 17:34:02 +00:00
gstscheduler.h Next big merge. 2005-03-21 17:34:02 +00:00
gststructure.c check/: copy over from 0.8, and add two with bitmasks specified with (int) 0xFF... 2005-06-22 19:22:34 +00:00
gststructure.h check/: copy over from 0.8, and add two with bitmasks specified with (int) 0xFF... 2005-06-22 19:22:34 +00:00
gstsystemclock.c gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock if its socks fill with rocks. 2005-06-20 11:41:17 +00:00
gstsystemclock.h Small typo fixes, doc updates. 2005-05-30 15:48:45 +00:00
gsttag.c check/Makefile.am: add gsttag 2005-06-19 11:32:42 +00:00
gsttag.h added docs for the TAG defines 2005-01-18 14:15:30 +00:00
gsttaginterface.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
gsttaginterface.h Next big merge. 2005-03-21 17:34:02 +00:00
gsttaglist.c check/Makefile.am: add gsttag 2005-06-19 11:32:42 +00:00
gsttaglist.h added docs for the TAG defines 2005-01-18 14:15:30 +00:00
gsttagsetter.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
gsttagsetter.h Next big merge. 2005-03-21 17:34:02 +00:00
gsttask.c gst/: Implement gst_pad_pause/start/stop_task(), take STREAM lock in task function. 2005-05-25 11:50:11 +00:00
gsttask.h gst/: Right, two problems here: ghostpads don't take locks and glib _rec_mutex_lock_full() with depth==0 still locks. 2005-06-25 19:37:59 +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 docs/gst/Makefile.am: Disable a bunch of headers from being scanned 2004-03-30 07:36:19 +00:00
gsttypes.h Added support for live sources and other elements that cannot do preroll. 2005-06-23 10:37:09 +00:00
gsturi.c gst/gsturi.c: Fix potential endless loop. 2005-06-20 11:32:14 +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/gstutils.c: RPAD fixes all around. 2005-06-08 22:16:27 +00:00
gstutils.h gst/base/gstbasesrc.c: Don't go in pull mode for non-seekable sources. 2005-05-25 15:57:57 +00:00
gstvalue.c remove gst_strtoll completely, since it didn't actually do anything more than what g_ascii_strtoull already does. 2005-06-23 11:25:29 +00:00
gstvalue.h gst/gstvalue.h: Mark _gst_reserved[] as private 2005-01-06 01:08:23 +00:00
gstversion.h.in gst/gstversion.h.in: Protect header. 2004-12-09 13:37:18 +00:00
gstxml.c GCC 4 fixen. 2005-05-04 21:29:44 +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 gst/gstutils.c: RPAD fixes all around. 2005-06-08 22:16:27 +00:00