gstreamer/gst
Tim-Philipp Müller ef8ca3549e gst: fix awkward dest_format inout parameter in query utility functions
The idea was originally that if one passed &dest_fmt with
dest_fmt=GST_FORMAT_DEFAULT, then the code answering the query
could change dest_fmt to the actual default format used. However,
in more than half a decade of GStreamer 0.10 no piece of code in
GStreamer has ever used that feature, nor are there that many
users of this API that actually check whether the format returned
is the original format passed before using the values returned.
Also, it's just annoying-to-use API in its own right.

For all these reasons, make it so that the destination format is
passed directly and can't be changed by the element queried.
2011-07-28 11:23:15 +01:00
..
parse Merge branch 'master' into 0.11 2011-06-05 15:48:51 +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 Work around changes in g_atomic API 2011-06-04 00:36:26 -07:00
glib-compat.c
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 class ref/unref 2011-07-05 16:38:06 +02:00
gst.h gst: make compiler warn about unstable API if GST_USE_UNSTABLE_API is not defined 2011-07-05 09:46:43 +01:00
gst_private.h info: remove GST_XML debug category as well 2011-06-04 15:23:56 +01:00
gstatomicqueue.c Work around changes in g_atomic API 2011-06-04 00:36:26 -07:00
gstatomicqueue.h docs: fix gtk-doc syntax 2011-05-03 13:03:20 +03:00
gstbin.c message: rename variable 2011-06-08 17:25:43 +02:00
gstbin.h cleanups 2011-02-22 16:04:12 +01:00
gstbuffer.c miniobject: avoid race in bufferpool release 2011-07-25 12:53:10 +02:00
gstbuffer.h buffer: add api to get the current memory offset 2011-07-11 16:24:16 +02:00
gstbufferlist.c Merge branch 'master' into 0.11 2011-05-05 12:27:51 +02:00
gstbufferlist.h bufferlist: Add boxed type for GstBufferListIterator for gobject-introspection 2011-04-14 16:14:02 +02:00
gstbufferpool.c bufferpool: start with raised control socket 2011-07-25 12:16:13 +01:00
gstbufferpool.h bufferpool: add reset_buffer vmethod 2011-07-21 18:50:25 +02:00
gstbus.c bus: Fix GST_DEBUG parameters to be consistent with the format string 2011-05-11 15:49:11 +02:00
gstbus.h Revert lockfree GstBus for the release 2011-04-26 16:14:00 +01:00
gstcaps.c caps: Hide implementation details 2011-06-22 12:28:14 +02:00
gstcaps.h caps: Hide implementation details 2011-06-22 12:28:14 +02:00
gstchildproxy.c gst: we can now use GLib 2.24 API unconditionally 2011-05-25 16:02:10 +01:00
gstchildproxy.h docs: fix gtk-doc /*< private >*/ marker 2009-07-02 01:18:57 +01:00
gstclock.c cleanups 2011-02-22 16:04:12 +01:00
gstclock.h Merge branch 'master' into 0.11 2011-05-24 09:48:44 +02:00
gstcompat.h buffer: make new _buffer_allocate method 2011-06-10 13:49:23 +02:00
gstconfig.h.in Remove everything libxml2- and loadsave-related 2011-06-04 15:22:06 +01:00
gstdatetime.c gstdatetime: Disable usage of GDateTime on MacOSX 2011-01-05 11:26:13 +01:00
gstdatetime.h datetime: Add _from_unix_epoch variants 2010-11-17 09:58:32 -03:00
gstdebugutils.c caps: use the caps event 2011-06-07 09:43:20 +02:00
gstdebugutils.h build: more some prototypes out if #ifndef GST_DISABLE_GST_DEBUG 2010-03-28 13:14:06 +03:00
gstelement.c message: move the new_base_time flag to async_done 2011-06-08 13:45:19 +02:00
gstelement.h Merge branch 'master' into 0.11 2011-06-10 12:09:49 +02:00
gstelementfactory.c Merge branch 'master' into 0.11 2011-07-27 12:50:39 +02:00
gstelementfactory.h Merge branch 'master' into 0.11 2011-06-10 12:09:49 +02:00
gstelementmetadata.h element: rework GstElementDetails 2010-12-07 15:33:04 +01:00
gsterror.c docs: gst_error_get_message() returns string in UTF-8, not current locale 2010-12-07 19:34:46 +00:00
gsterror.h introspection: Build with latest g-i 2010-09-12 15:13:32 +01:00
gstevent.c Merge branch 'master' into 0.11 2011-07-21 16:49:13 +02:00
gstevent.h event: add reset_time boolean to flush_stop event 2011-06-10 11:55:08 +02:00
gstfilter.c gst: Add some more gobject-introspection annotations 2011-04-14 16:14:01 +02:00
gstfilter.h docs: gst: more gobject introspection annotations 2010-12-07 18:37:04 +00:00
gstformat.c gst: Update everything for the new GstIterator API 2011-05-05 15:36:03 +02:00
gstformat.h Use "const" instead G_CONST_RETURN 2011-06-09 17:54:27 +01:00
gstghostpad.c ghostpad: improve debug 2011-06-20 16:53:03 +02:00
gstghostpad.h ghostpad: remove setcaps functions 2011-06-02 19:23:47 +02:00
gstindex.c docs: add note/warning to gst_index_get_writer_id() docs about the OBJECT_LOCK 2011-04-19 13:23:19 +01:00
gstindex.h cleanups 2011-02-22 16:04:12 +01:00
gstindexfactory.c feature: use object name 2011-05-24 18:17:24 +02:00
gstindexfactory.h
gstinfo.c Merge branch 'master' into 0.11 2011-06-10 12:09:49 +02:00
gstinfo.h Use "const" instead G_CONST_RETURN 2011-06-09 17:54:27 +01:00
gstiterator.c docs: update for API changes 2011-06-05 18:57:56 +01:00
gstiterator.h iterator: Refactor GstIterator to be more binding friendly and have saner refcounting 2011-05-05 15:33:29 +02:00
gstmacros.h macros: Define restrict keyword if not available 2010-12-02 19:02:07 +01:00
gstmarshal.list miniobject: make queries a boxed type 2011-02-23 10:34:45 +01:00
gstmemory.c buffer: fix negative offsets some more 2011-07-11 18:00:52 +02:00
gstmemory.h buffer: fix negative offsets some more 2011-07-11 18:00:52 +02:00
gstmessage.c Merge branch 'master' into 0.11 2011-07-21 16:49:13 +02:00
gstmessage.h tags: Remove crazy tag messages 2011-06-22 16:16:56 +02:00
gstmeta.c meta: remove (de)serialize functions 2011-05-11 19:10:24 +02:00
gstmeta.h meta: remove (de)serialize functions 2011-05-11 19:10:24 +02:00
gstminiobject.c miniobject: avoid race in bufferpool release 2011-07-25 12:53:10 +02:00
gstminiobject.h miniobject: avoid race in bufferpool release 2011-07-25 12:53:10 +02:00
gstobject.c Merge branch 'master' into 0.11 2011-02-22 14:11:59 +01:00
gstobject.h docs: update for API changes 2011-06-05 18:57:56 +01:00
gstpad.c pad: improve the getcaps function 2011-07-26 18:48:20 +02:00
gstpad.h pad: add _check_reconfigure() method 2011-06-10 17:32:20 +02:00
gstpadtemplate.c padtemplate: Create pad templates with floating refs 2011-05-17 13:13:51 +02:00
gstpadtemplate.h fix some circular includes 2011-06-07 13:25:26 +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 Small cosmetic cleanups 2011-04-25 11:10:47 +02:00
gstparse.h parse: Add boxed type for GstParseContext for gobject-introspection 2011-04-14 16:14:01 +02:00
gstpipeline.c message: rename variable 2011-06-08 17:25:43 +02:00
gstpipeline.h remove deprecated symbols and methods 2010-12-06 19:18:31 +01:00
gstplugin.c Merge branch 'master' into 0.11 2011-06-10 12:09:49 +02:00
gstplugin.h Merge branch 'master' into 0.11 2011-06-10 12:09:49 +02:00
gstpluginfeature.c Use "const" instead G_CONST_RETURN 2011-06-09 17:54:27 +01:00
gstpluginfeature.h Use "const" instead G_CONST_RETURN 2011-06-09 17:54:27 +01:00
gstpluginloader.c pluginloader: only run gst-plugin-scanner with /usr/bin/arch wrapper on OS X >= 10.5 2011-04-15 21:02:35 +01:00
gstpluginloader.h Plugin loader phase 2 2009-10-06 19:51:42 +01:00
gstpoll.c poll: improve debugging 2011-07-25 15:21:21 +02:00
gstpoll.h poll: add method to get a GPollFD 2010-12-03 15:50:38 +01:00
gstpreset.c Merge branch 'master' into 0.11 2011-05-26 13:36:48 +02:00
gstpreset.h preset: include cleanup 2011-05-20 00:39:10 +03:00
gstquark.c event: add reset_time boolean to flush_stop event 2011-06-10 11:55:08 +02:00
gstquark.h event: add reset_time boolean to flush_stop event 2011-06-10 11:55:08 +02:00
gstquery.c gst: fix awkward dest_format inout parameter in query utility functions 2011-07-28 11:23:15 +01:00
gstquery.h query: add method to check for metadata 2011-06-23 18:03:22 +02:00
gstregistry.c feature: use object name 2011-05-24 18:17:24 +02:00
gstregistry.h docs: typo fixes 2011-02-28 15:01:54 +00:00
gstregistrybinary.c Merge branch 'master' into 0.11 2011-02-22 14:11:59 +01:00
gstregistrybinary.h registrybinary: small cleanups 2011-05-24 20:30:11 +03:00
gstregistrychunks.c feature: use object name 2011-05-24 18:17:24 +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 segment: cast to right type 2011-06-22 16:58:53 +02:00
gstsegment.h segment: separate the seek and segment flags 2011-06-08 16:41:05 +02:00
gststructure.c structure: fix some more 0.11 fixmes 2011-06-03 13:25:54 +02:00
gststructure.h Merge branch 'master' into 0.11 2011-06-10 12:09:49 +02:00
gstsystemclock.c Merge branch 'master' into 0.11 2011-06-05 15:48:51 +01:00
gstsystemclock.h Merge branch 'master' into 0.11 2011-05-05 12:27:51 +02:00
gsttaglist.c Merge branch 'master' into 0.11 2011-06-10 12:09:49 +02:00
gsttaglist.h Use "const" instead G_CONST_RETURN 2011-06-09 17:54:27 +01:00
gsttagsetter.c Merge branch 'master' into 0.11 2011-06-10 12:09:49 +02:00
gsttagsetter.h Use "const" instead G_CONST_RETURN 2011-06-09 17:54:27 +01:00
gsttask.c Merge branch 'master' into 0.11 2011-07-07 11:13:19 +02:00
gsttask.h Merge branch 'master' into 0.11-fdo 2011-03-28 20:11:20 +02:00
gsttaskpool.c docs: gst: more gobject introspection annotations 2010-12-07 18:37:04 +00: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 trace: don't put code with side effects into g_return_if_fail() 2011-04-09 23:54:20 +01:00
gsttrace.h Use "const" instead G_CONST_RETURN 2011-06-09 17:54:27 +01:00
gsttypefind.c Merge branch 'master' into 0.11 2011-04-25 10:30:41 +02:00
gsttypefind.h memory: port code to new buffer data API 2011-03-28 20:08:45 +02:00
gsttypefindfactory.c docs: add () to xref the function. 2010-12-08 11:53:10 +02:00
gsttypefindfactory.h
gsturi.c uri: remove some _full variants 2011-06-22 16:38:04 +02:00
gsturi.h uri: remove some _full variants 2011-06-22 16:38:04 +02:00
gstutils.c gst: fix awkward dest_format inout parameter in query utility functions 2011-07-28 11:23:15 +01:00
gstutils.h gst: fix awkward dest_format inout parameter in query utility functions 2011-07-28 11:23:15 +01:00
gstvalue.c buffer: make new _buffer_allocate method 2011-06-10 13:49:23 +02:00
gstvalue.h Merge branch 'master' into 0.11 2011-06-10 12:09:49 +02:00
gstversion.h.in version: Take nano version into account in GST_CHECK_VERSION() 2010-12-02 19:02:08 +01:00
Makefile.am gst: make compiler warn about unstable API if GST_USE_UNSTABLE_API is not defined 2011-07-05 09:46:43 +01:00
math-compat.h math-compat: don't re-define _USE_MATH_DEFINES if already defined 2010-11-03 14:21:02 +00:00