gstreamer/gst
Benjamin Otte 0ff4086507 Improve caps setters API
This patch adds gst_caps_set_value() and allows gst_caps_set_simple() to
work on non-simple caps. See the API documentation for the functions
about what they do.

The intention of these changes is to ease working with caps in caps
transform functions. An example for this would be ffmpegcolorspace,
where the caps transform function could be changed to look roughly like
this (pseudocode ahead):
  result = gst_caps_copy (template_caps);
  value = gst_structure_get_value (gst_caps_get_structure (caps, 0),
    "widh");
  gst_caps_set_value (result, value);
  /* same for height, framerate and par */
  return caps;
which is much cleaner and easier to understand than the current code.

https://bugzilla.gnome.org/show_bug.cgi?id=597690
2009-10-15 19:10:50 +02:00
..
parse parse: don't format the string twice 2009-10-07 23:23:08 +03:00
.gitignore gstbase: Add gobject-introspection support 2009-09-05 10:28:46 +02: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 Remove some compatibility stuff for GLib < 2.14 2009-03-26 11:08:27 +01: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 registry: Rearrange some things. 2009-10-06 19:51:41 +01:00
gst.h bufferlist: add docs/build/debug/unittest 2009-05-12 15:18:52 +02:00
gst_private.h debug: Mark the GST_POLL symbol as extern to avoid multiply-defined error 2009-10-12 14:57:35 +01:00
gstbin.c gst: remove more unnecessary cast when using g_signal_*() 2009-10-06 20:04:10 +01:00
gstbin.h docs: explain ref ownership for handle_message implementations 2009-04-02 13:32:58 +02:00
gstbuffer.c gstbuffer: add additional checking for writability 2009-08-06 18:47:32 +02:00
gstbuffer.h buffer: whitespace fixes 2009-09-01 16:52:32 +02:00
gstbufferlist.c bufferlist: update doc string 2009-08-11 15:21:33 +02:00
gstbufferlist.h bufferlist: remove old enum from docs 2009-06-19 19:25:59 +02:00
gstbus.c gst: Use G_DEFINE_TYPE and don't call g_thread_init() from class_init 2009-04-04 10:18:42 +02:00
gstbus.h docs: fix gtk-doc /*< private >*/ marker 2009-07-02 01:18:57 +01:00
gstcaps.c Improve caps setters API 2009-10-15 19:10:50 +02:00
gstcaps.h Improve caps setters API 2009-10-15 19:10:50 +02:00
gstchildproxy.c childproxy: initialize gvalue in _valist function. Fixes #595602 2009-10-07 10:59:54 +03:00
gstchildproxy.h docs: fix gtk-doc /*< private >*/ marker 2009-07-02 01:18:57 +01:00
gstclock.c clock: remove assertion 2009-05-25 16:54:25 +02:00
gstclock.h gstclock: Fix ABI breakage on 32 bit architectures 2009-05-17 10:46:39 +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 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere. 2008-07-31 15:20:32 +00:00
gstdebugutils.c gst: Remove dead assignments 2009-08-08 14:47:40 +02:00
gstdebugutils.h gst/gstdebugutils.h: Add missing Since' markers to gtk-doc blurbs. 2008-06-26 12:24:08 +00:00
gstelement.c element: don't take object lock for g_critical() and flesh out warning message some more 2009-09-01 10:05:21 +01:00
gstelement.h Fix typo in inline documentation 2009-09-09 16:29:47 -07:00
gstelementfactory.c elementfactory: fix spelling in comment 2009-10-07 10:37:39 -07:00
gstelementfactory.h whitespace fixes 2009-09-10 11:54:01 +02:00
gsterror.c errors: reword state change failed error message and remove bugzilla link 2009-06-04 00:59:03 +01: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 miniobjects: Don't chain up to empty finalize method. 2009-06-24 11:00:27 +02:00
gstevent.h event: whitespace fixes 2009-09-04 11:35:59 +02: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 docs: mention that GST_FORMAT_{PERCENT|BUFFERS} are not implemented 2009-05-18 01:00:36 +01:00
gstghostpad.c pad: add variants of gst_pad_get_caps() that don't copy caps. Fixes #590941 2009-10-07 22:41:30 +03:00
gstghostpad.h docs: fix gtk-doc /*< private >*/ marker 2009-07-02 01:18:57 +01:00
gstindex.c gstindex: Make sure writer is non-NULL. 2009-10-08 08:52:18 +02: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: 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
gstindexfactory.h whitespace fixes 2005-10-15 15:30:24 +00:00
gstinfo.c gstpoll: Make the new GST_POLL debug completely private 2009-10-12 14:24:53 +01:00
gstinfo.h debug: use dummy code to avoid spurious semicolons 2009-09-11 07:40:30 +02: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: Fix a documentation typo 2009-10-14 10:16:31 +02:00
gstiterator.h docs: it's its 2009-08-31 17:00:17 +01: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 Don't use C++ style comments 2009-09-11 22:42:51 +01:00
gstmessage.h message: whitespace fixes 2009-10-07 10:38:11 +02:00
gstminiobject.c logging: log object type in message 2009-07-06 19:52:44 +01: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 gstobject: Replace recursive gst_object_has_ancestor() with an iterative version 2009-10-14 08:34:03 +02:00
gstobject.h It's __GNUC__, not _GNUC_ 2009-08-22 15:49:12 -07:00
gstpad.c docs: fix Since: tags in docs for newly-added API 2009-10-07 23:34:44 +01:00
gstpad.h pad: add variants of gst_pad_get_caps() that don't copy caps. Fixes #590941 2009-10-07 22:41:30 +03:00
gstpadtemplate.c gst: remove more unnecessary cast when using g_signal_*() 2009-10-06 20:04:10 +01: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 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 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 docs: update element an pipeline docs 2009-05-29 13:03:15 +02:00
gstpipeline.h pipeline: deprecate old methods, fix test 2009-05-29 12:21:36 +02:00
gstplugin.c plugin: Ignore an empty dependency list. 2009-10-08 02:06:34 +01:00
gstplugin.h Add restarting of the plugin loader and blacklisting of broken files 2009-10-06 19:51:42 +01:00
gstpluginfeature.c build: sprintf, sscanf need stdio.h 2009-10-07 10:59:54 +03:00
gstpluginfeature.h whitespace fixes 2009-09-10 11:54:01 +02:00
gstpluginloader.c gstpluginloader: Don't wait forever on gst_poll_wait. 2009-10-12 12:21:49 +02:00
gstpluginloader.h Plugin loader phase 2 2009-10-06 19:51:42 +01:00
gstpoll.c gstpoll: Only take into account active fds 2009-10-12 12:01:59 +02: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 stepping: more stepping improvements 2009-06-12 13:20:36 +02:00
gstquark.h stepping: more stepping improvements 2009-06-12 13:20:36 +02:00
gstquery.c miniobjects: Don't chain up to empty finalize method. 2009-06-24 11:00:27 +02:00
gstquery.h docs: fix gtk-doc /*< private >*/ marker 2009-07-02 01:18:57 +01:00
gstregistry.c registry: Fix error handling in the registry loader 2009-10-08 10:36:56 +01:00
gstregistry.h registry: Add registry helper phase 1 2009-10-06 19:51:42 +01:00
gstregistrybinary.c registry: Add registry helper phase 1 2009-10-06 19:51:42 +01:00
gstregistrybinary.h registry: Add registry helper phase 1 2009-10-06 19:51:42 +01:00
gstregistrychunks.c registrychunks: Fix a debug format string harder to satisfy OS/X's gcc. 2009-10-08 16:21:45 +01:00
gstregistrychunks.h registry: Add registry helper phase 1 2009-10-06 19:51:42 +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 tags: only emit a g_warning() for empty tag strings for git versions 2009-07-16 13:59:07 +01:00
gststructure.h structure: add gst_structure_*_get*() vararg functions 2009-06-10 09:39:12 +01:00
gstsystemclock.c systemclock: fix compilation of win32 code 2009-08-29 11:32:21 +01:00
gstsystemclock.h systemclock: fix indentation 2009-08-28 16:07:16 +02:00
gsttaglist.c taglist: Add support for ALBUM_ARTIST tag 2009-08-06 06:41:58 +02:00
gsttaglist.h introspection: Don't typedef GstTagList to GstStructure for gobject-introspection 2009-09-12 14:35:08 +02:00
gsttagsetter.c tags: API: Add functions to add single tags to GstTagList or GstTagSetter 2009-05-12 09:02:44 +02: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 gst: Remove dead assignments 2009-08-08 14:47:40 +02:00
gsttask.h GstTask: add methods for configuring the pool 2009-05-12 00:26:58 +02:00
gsttaskpool.c taskpool: fix unused variable warning in case debugging is disabled 2009-06-19 13:42:45 +01:00
gsttaskpool.h TaskPool: remove _set_func() 2009-05-12 00:27:38 +02:00
gsttrace.c trace: use proper locking in GstTrace 2009-06-23 13:46:28 +02:00
gsttrace.h It's __GNUC__, not _GNUC_ 2009-08-22 15:49:12 -07:00
gsttypefind.c Allow adding a typefinder without a typefind function so that it can be used 2009-01-21 12:45:45 +01:00
gsttypefind.h API: add gst_type_find_suggest_simple(), #533740. 2008-05-19 10:46:44 +00:00
gsttypefindfactory.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
gsttypefindfactory.h gst/: Fix memory leak in GstTypeFindFactory. 2005-11-29 23:56:20 +00:00
gsturi.c Remove double semicolons at end of line 2009-06-08 17:13:17 +01:00
gsturi.h Remove broken class to interface cast macros from GstUriHandler and GstImplementsInterface headers 2009-01-30 18:25:39 +00:00
gstutils.c pad: add variants of gst_pad_get_caps() that don't copy caps. Fixes #590941 2009-10-07 22:41:30 +03:00
gstutils.h gstutils: API: Add rounding to nearest and next integer versions of the 64 bit integer scaling functions 2009-08-13 16:32:28 +02:00
gstvalue.c build: sprintf, sscanf need stdio.h 2009-10-07 10:59:54 +03:00
gstvalue.h [gstvalue] adds safety parenthesis to macros missing them. 2009-05-15 15:26:18 -03:00
gstversion.h.in Replace some mentions of CVS by GIT 2009-02-08 10:28:59 +01:00
gstxml.c gst: remove more unnecessary cast when using g_signal_*() 2009-10-06 20:04:10 +01:00
gstxml.h It's __GNUC__, not _GNUC_ 2009-08-22 15:49:12 -07:00
Makefile.am registry: Add registry helper phase 1 2009-10-06 19:51:42 +01:00