gstreamer/gst
Sebastian Dröge d7f59ca0c4 pad: Deprecate GST_FLOW_IS_FATAL() and GST_FLOW_IS_SUCCESS()
The problem with both macros is, that they suggest something that isn't true.
If GST_FLOW_IS_FATAL is true, there could still be a problem for many elements
and they should stop what they're currently doing and return that value
upstream (e.g. not-linked in a parser). If GST_FLOW_IS_SUCCESS is false, it
could still be that this is "ok" for the element (e.g. not-linked for a demuxer
on a few of its pads but not all).

It's better to not have these "convenience" macros but instead let people
*think* about the handling of different flow returns, that makes sense for
their element. And we should document the expected handling of flow returns for
different classes of elements in the plugin writer's guide.

Fixes bug #628014.
2010-08-27 16:59:08 +02:00
..
parse parse: fix more compiler warnings 2010-04-07 19:09:24 +01:00
.gitignore gstbase: Add gobject-introspection support 2009-09-05 10:28:46 +02:00
gettext.h gettext: build fixes: #if -> #ifdef 2010-03-22 17:10:06 +02:00
glib-compat-private.h registry: use GStatBuf unconditionally and add typedef for backwards compatibility 2010-07-16 17:55:07 +01:00
glib-compat.c gst/: remove GLib 2.6 compatibility code 2006-06-13 08:20:24 +00:00
glib-compat.h Remove some compatibility stuff for GLib < 2.14 2009-03-26 11:08:27 +01:00
gst-i18n-app.h i18n: define dummy ngettext if i18n is disabled. 2010-03-11 10:14:05 +02:00
gst-i18n-lib.h i18n: define dummy ngettext if i18n is disabled. 2010-03-11 10:14:05 +02:00
gst.c gst: Add a gst_is_initialized() API 2010-08-20 19:35:01 +02:00
gst.h gst: Add a gst_is_initialized() API 2010-08-20 19:35:01 +02:00
gst_private.h gstvalue: Adds datetime functions 2010-07-26 11:57:50 -03:00
gstbin.c bin: relax the source element check 2010-08-20 18:04:52 +02:00
gstbin.h docs: explain ref ownership for handle_message implementations 2009-04-02 13:32:58 +02:00
gstbuffer.c buffer: only warn if metadata is not writable when it should be, don't return as well 2010-04-30 13:09:34 +01:00
gstbuffer.h docs: Move field specific Since markers at the same line 2010-01-14 10:44:16 +01:00
gstbufferlist.c bufferlist: Initialize the GType cache for the bufferlist again 2010-08-08 17:57:52 +02:00
gstbufferlist.h docs: add some more Since: markers to buffer list docs 2010-01-31 17:30:54 +00:00
gstbus.c docs: add links for GSource priorities 2010-05-19 16:24:54 +03:00
gstbus.h bus: whitespace fixes 2010-01-11 11:55:51 +01:00
gstcaps.c gstcaps: Make sure _normalize() is applied on all structures. 2010-07-01 18:17:40 +02:00
gstcaps.h gstxml: Deprecate GstXml and related functions 2010-06-25 18:25:40 +02:00
gstchildproxy.c gst: use #if GLIB_CHECK_VERSION instead of #ifndef GLIBMACRO 2010-03-17 11:03:15 +00:00
gstchildproxy.h docs: fix gtk-doc /*< private >*/ marker 2009-07-02 01:18:57 +01:00
gstclock.c clock: use the new gst_clock_id_wait_async_full. 2010-07-06 10:46:42 +02:00
gstclock.h clock: document that GstClockEntry should be treated as ana opaque structure. 2010-07-06 10:46:42 +02: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 Don't include <libxml/parser.h> from public headers if GST_DISABLE_DEPRECATED is defined 2010-06-26 10:35:38 +01:00
gstdatetime.c gstdatetime: Fix localtime usage 2010-07-27 07:21:19 -03:00
gstdatetime.h gstdatetime: Adds GstDateTime 2010-07-26 11:57:49 -03:00
gstdebugutils.c dot-dump: terminate truncated strings and escape special chars 2010-06-25 21:25:10 +03:00
gstdebugutils.h build: more some prototypes out if #ifndef GST_DISABLE_GST_DEBUG 2010-03-28 13:14:06 +03:00
gstelement.c Don't include <libxml/parser.h> from public headers if GST_DISABLE_DEPRECATED is defined 2010-06-26 10:35:38 +01:00
gstelement.h element: Improve gst_element_get_name() docs 2010-06-15 18:49:41 +02:00
gstelementdetails.h Fixes for -Wmissing-declarations -Wmissing-prototypes 2010-03-11 10:59:57 +01:00
gstelementfactory.c elementfactory: Add an allow-none annotation 2010-06-16 19:03:21 +02:00
gstelementfactory.h elementfactory: Add FIXME 0.11 to remove GstElementDetails from the public API 2010-03-25 18:57:40 +01:00
gsterror.c gst: Use GError boxed type from GObject 2.25.2 instead of our own if possible 2010-04-29 18:18:37 +02: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 event: Add out annotations 2010-06-16 19:03:21 +02:00
gstevent.h docs: add some more docs for the events 2010-04-29 10:26:14 +02:00
gstfilter.c docs: fix xrefs in docs 2009-11-25 16:59:50 +02: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: Use GSlice instead of normal g_malloc in more places 2010-03-28 19:48:45 +02:00
gstformat.h Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstghostpad.c Don't include <libxml/parser.h> from public headers if GST_DISABLE_DEPRECATED is defined 2010-06-26 10:35:38 +01:00
gstghostpad.h docs: fix gtk-doc /*< private >*/ marker 2009-07-02 01:18:57 +01:00
gstindex.c gst: Use GSlice instead of normal g_malloc in more places 2010-03-28 19:48:45 +02:00
gstindex.h gstindex: retab .h file 2010-01-21 16:19:44 +01:00
gstindexfactory.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstindexfactory.h whitespace fixes 2005-10-15 15:30:24 +00:00
gstinfo.c Valgrind define is HAVE_VALGRIND_VALGRIND_H 2010-08-23 18:21:25 -07:00
gstinfo.h info: add dummy TRACE log level macros for when debugging is disabled 2010-06-15 10:46:08 +01:00
gstinterface.c gst: Use G_DEFINE_TYPE and friends or at least g_once_init_* in the _get_type() functions 2009-04-04 10:20:36 +02:00
gstinterface.h Remove broken class to interface cast macros from GstUriHandler and GstImplementsInterface headers 2009-01-30 18:25:39 +00:00
gstiterator.c iterator: Add new FIXME for 0.11 and update gst_iterator_find_custom docs 2010-06-13 15:25:24 +02:00
gstiterator.h docs: it's its 2009-08-31 17:00:17 +01:00
gstmacros.h docs: remove gtkdoc header as these things don't come up on our docs even 2009-11-25 14:41:26 +02:00
gstmarshal.list check/Makefile.am: remove GstData checks 2005-05-16 20:21:55 +00:00
gstmessage.c message: Add out annotations 2010-06-16 19:03:20 +02:00
gstmessage.h message: add Since: markers 2010-04-07 16:06:22 +02:00
gstminiobject.c gst: make _get_type() in gst/* thread safe 2010-08-06 19:35:59 +02:00
gstminiobject.h miniobject: Add introspection annotations 2010-06-16 19:03:21 +02:00
gstobject.c gstobject: fix leak when naming parented object 2010-08-23 10:59:45 +02:00
gstobject.h gstxml: Deprecate GstXml and related functions 2010-06-25 18:25:40 +02:00
gstpad.c pad: log element:pad names with caps 2010-08-05 09:40:03 +03:00
gstpad.h pad: Deprecate GST_FLOW_IS_FATAL() and GST_FLOW_IS_SUCCESS() 2010-08-27 16:59:08 +02:00
gstpadtemplate.c docs: fix xrefs in docs 2009-11-25 16:59:50 +02:00
gstpadtemplate.h docs: fix xrefs in docs 2009-11-25 16:59:50 +02:00
gstparamspecs.c paramspecs: revert gst_param_spec_is_mutable() for release 2009-04-16 00:48:11 +01:00
gstparamspecs.h paramspecs: revert gst_param_spec_is_mutable() for release 2009-04-16 00:48:11 +01:00
gstparse.c docs: more docs for gst_parse_launch and co 2010-08-05 09:40:03 +03:00
gstparse.h API: gst_parse_launch_full() 2008-05-24 15:33:53 +00:00
gstpipeline.c pipeline: If the currently used clock gets lost update it the next time when going from PAUSED to playing 2010-07-16 17:27:04 +02:00
gstpipeline.h pipeline: deprecate old methods, fix test 2009-05-29 12:21:36 +02:00
gstplugin.c gstplugin: load the gst-python plugin loader with G_MODULE_BIND_LAZY. 2010-08-26 14:32:40 +02:00
gstplugin.h plugin: add release datetime field to GstPluginDesc and set it if GST_PACKAGE_RELEASE_DATETIME is defined 2010-07-23 17:00:56 +01:00
gstpluginfeature.c Remove GST_DEBUG_FUNCPTR where they're pointless 2009-10-28 00:44:24 +00:00
gstpluginfeature.h gstpluginfeature: API : new gst_plugin_feature_list_copy() method 2009-10-24 10:39:30 +02:00
gstpluginloader.c comments: add a few comments to the sparsely documented plugin loader 2010-06-09 12:15:52 +03:00
gstpluginloader.h Plugin loader phase 2 2009-10-06 19:51:42 +01:00
gstpoll.c gstpoll: don't pass non-objects as first argument to GST_DEBUG_OBJECT() 2010-03-04 18:40:50 +00:00
gstpoll.h GstPoll: add methods to use gstpoll for timeouts 2009-02-03 17:49:02 +01:00
gstpreset.c docs: clarify preset api docs 2009-10-15 12:16:05 +03:00
gstpreset.h gst/: Remove double interface from doc-string. 2008-08-12 06:27:35 +00:00
gstquark.c message: add QoS message to inform apps of lost data 2010-03-17 19:16:42 +01:00
gstquark.h message: add QoS message to inform apps of lost data 2010-03-17 19:16:42 +01:00
gstquery.c query: Add out annotations 2010-06-16 19:03:21 +02:00
gstquery.h Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstregistry.c registry: use GStatBuf unconditionally and add typedef for backwards compatibility 2010-07-16 17:55:07 +01:00
gstregistry.h registry: deprecate useless gst_registry_xml_{read|write}_cache() 2010-01-06 19:19:40 +00:00
gstregistrybinary.c registry: use GStatBuf unconditionally and add typedef for backwards compatibility 2010-07-16 17:55:07 +01:00
gstregistrybinary.h binaryregistry: save and load release date time in GstPluginDesc 2010-07-23 17:03:42 +01:00
gstregistrychunks.c registrychunks: intern all GstPluginDesc members when unpacking 2010-08-23 10:59:50 +02:00
gstregistrychunks.h binaryregistry: ignore the plugin cache if the filter environment has changed 2010-06-23 17:56:51 +01:00
gstsegment.c gstsegment: Actually start==stop==segment_start is inside the segment 2009-08-11 13:21:35 +02:00
gstsegment.h segment: add gst_segment_set_running_time 2009-06-04 12:53:20 +02:00
gststructure.c gststructure: Adds datetime getter function 2010-07-26 11:57:52 -03:00
gststructure.h gststructure: Adds datetime getter function 2010-07-26 11:57:52 -03:00
gstsystemclock.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstsystemclock.h systemclock: fix indentation 2009-08-28 16:07:16 +02:00
gsttaglist.c tag: Adds GST_TAG_APPLICATION_DATA 2010-08-24 21:10:33 -03:00
gsttaglist.h tag: Adds GST_TAG_APPLICATION_DATA 2010-08-24 21:10:33 -03:00
gsttagsetter.c tagsetter: make sure only one thread creates the TagData 2010-05-24 19:08:29 +01:00
gsttagsetter.h tags: API: Add functions to add single tags to GstTagList or GstTagSetter 2009-05-12 09:02:44 +02:00
gsttask.c task: snprintf needs to include "stdio.h" 2010-03-16 09:56:41 +02:00
gsttask.h task: retab 2010-03-15 12:13:55 +01:00
gsttaskpool.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gsttaskpool.h docs: add Since markers to task pool docs and document task function 2010-01-06 19:18:53 +00:00
gsttrace.c gst: Use GSlice instead of normal g_malloc in more places 2010-03-28 19:48:45 +02:00
gsttrace.h Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gsttypefind.c gsttypefind: avoid one more run-time type check 2009-11-02 08:50:04 +00:00
gsttypefind.h API: add gst_type_find_suggest_simple(), #533740. 2008-05-19 10:46:44 +00:00
gsttypefindfactory.c docs: fix xrefs in docs 2009-11-25 16:59:50 +02:00
gsttypefindfactory.h gst/: Fix memory leak in GstTypeFindFactory. 2005-11-29 23:56:20 +00:00
gsturi.c gsturi: Don't use g_signal_emit_by_name, use the signal ID directly 2009-12-07 09:51:03 +01:00
gsturi.h docs: Move field specific Since markers at the same line 2010-01-14 10:44:16 +01:00
gstutils.c element: link_many should activate pads if needed 2010-08-19 07:33:08 -03:00
gstutils.h utils: Don't use G_GNUC_CONST for the uint64 scaling functions 2010-06-28 10:20:39 +02:00
gstvalue.c gst: make _get_type() in gst/* thread safe 2010-08-06 19:35:59 +02:00
gstvalue.h gstvalue: Adds datetime functions 2010-07-26 11:57:50 -03:00
gstversion.h.in Replace some mentions of CVS by GIT 2009-02-08 10:28:59 +01:00
gstxml.c xml: keep dummy gst_xml_get_type() function for g-i even if rest of GstXML is removed 2010-06-26 10:35:38 +01:00
gstxml.h gstxml: Deprecate GstXml and related functions 2010-06-25 18:25:40 +02:00
Makefile.am gstdatetime: Adds GstDateTime 2010-07-26 11:57:49 -03:00