gstreamer/plugins/elements
Andy Wingo 8970bda4ba gst/gstquery.h
Original commit message from CVS:
2005-05-06  Andy Wingo  <wingo@pobox.com>

* gst/gstquery.h
* gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
GstData, init a memchunk.
(standard_definitions): Add a few query types, deprecate a few.
(gst_query_get_type): New proc.
(_gst_query_copy, _gst_query_free, gst_query_new): GstData
implementation.
(gst_query_new_application, gst_query_get_structure): New public
procs.

* docs/design/draft-query.txt: Removed LINKS from the query types,
because all the rest can be dispatched to other pads -- seemed
ugly to have a query that couldn't be dispatched. internal_links
is fine as a pad method.

* gst/gstpad.h: Add query2 as a pad method, add the new functions
in gstpad.c, but maintain binary compatibility for the moment.
Will fix before 0.9 is out.

* gst/gstqueryutils.c:
* gst/gstqueryutils.h: New files, implement 3 methods for each
query type: parse_query, parse_response, and set. Probably need an
allocator as well.

* gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.

* gst/elements/gstfilesink.c (gst_filesink_query2):
* gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
query_types, and formats methods.

* gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
(gst_pad_set_query2_function): New functions.
(gst_real_pad_init): Set query2_default as the default query2
function. Basically just dispatches to internally linked pads.

Needs review!

* gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
without using the atomic operations. Only one thread can possibly
be accessing the data at this point. Changed so as to avoid
gst_atomic operations.
2005-05-06 21:41:22 +00:00
..
.gitignore keep this up to date, since I seem to be the only one who cares about not missing files on commits 2004-07-21 21:37:31 +00:00
gstaggregator.c Remove threadsafe properties. Fix elements because GObject complains when installing a property before declaring a se... 2005-03-08 17:42:29 +00:00
gstaggregator.h docs/gst/gstreamer-sections.txt: More doc hacking. 2004-03-26 03:46:16 +00:00
gstbufferstore.c gst/elements/gstbufferstore.c: don't try to make subbuffers bigger than they can be. (fixes #159970) 2004-11-30 23:45:36 +00:00
gstbufferstore.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstcapsfilter.c gst/: Fix gst_pad_peer_get_caps(), make it return NULL if no peer. 2005-05-06 17:10:49 +00:00
gstelements.c gst/: Added object to help in making collect pad based elements. 2005-05-05 09:31:59 +00:00
gstfakesink.c gst/: Added object to help in making collect pad based elements. 2005-05-05 09:31:59 +00:00
gstfakesink.h Added state change code. 2005-03-28 14:54:33 +00:00
gstfakesrc.c GCC 4 fixen. 2005-05-04 21:29:44 +00:00
gstfakesrc.h Added typefind helper. 2005-04-12 10:52:55 +00:00
gstfdsink.c Remove threadsafe properties. Fix elements because GObject complains when installing a property before declaring a se... 2005-03-08 17:42:29 +00:00
gstfdsink.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstfdsrc.c Remove threadsafe properties. Fix elements because GObject complains when installing a property before declaring a se... 2005-03-08 17:42:29 +00:00
gstfdsrc.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstfilesink.c gst/gstquery.h 2005-05-06 21:41:22 +00:00
gstfilesink.h gst/: Added object to help in making collect pad based elements. 2005-05-05 09:31:59 +00:00
gstfilesrc.c Added typefind helper. 2005-04-12 10:52:55 +00:00
gstfilesrc.h gst/: More work on the generic source base class, implement seeking, query. 2005-04-06 17:30:48 +00:00
gstidentity.c gst/: Added start/stop methods to transform base class so subclasses don't need to deal with state changes even. 2005-03-31 10:10:55 +00:00
gstidentity.h gst/: Simplify pad activation. 2005-03-29 16:18:12 +00:00
gstmd5sink.c Remove threadsafe properties. Fix elements because GObject complains when installing a property before declaring a se... 2005-03-08 17:42:29 +00:00
gstmd5sink.h docs/gst/gstreamer-sections.txt: More doc hacking. 2004-03-26 03:46:16 +00:00
gstmultifilesrc.c Remove threadsafe properties. Fix elements because GObject complains when installing a property before declaring a se... 2005-03-08 17:42:29 +00:00
gstmultifilesrc.h gst/elements/gstmultifilesrc.*: Added newmedia property so it generates newmedia events between each file when proper... 2004-07-23 13:09:27 +00:00
gstpipefilter.c gst/: s/gst_pad_new/&_from_template/ register pad templates in the base_init function add static pad template definit... 2004-08-17 14:11:23 +00:00
gstpipefilter.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gstqueue.c gst/: Fix gst_pad_peer_get_caps(), make it return NULL if no peer. 2005-05-06 17:10:49 +00:00
gstqueue.h gst/: Fix gst_pad_peer_get_caps(), make it return NULL if no peer. 2005-05-06 17:10:49 +00:00
gstshaper.c Remove threadsafe properties. Fix elements because GObject complains when installing a property before declaring a se... 2005-03-08 17:42:29 +00:00
gstshaper.h docs/gst/gstreamer-sections.txt: More doc hacking. 2004-03-26 03:46:16 +00:00
gststatistics.c Remove threadsafe properties. Fix elements because GObject complains when installing a property before declaring a se... 2005-03-08 17:42:29 +00:00
gststatistics.h Revert again, this time without post-commit reindent hooks to put back the indentation :-) 2004-03-15 14:43:35 +00:00
gsttee.c cruft removal 2005-05-05 21:45:54 +00:00
gsttee.h Next big merge. 2005-03-21 17:34:02 +00:00
gsttypefindelement.c cruft removal 2005-05-05 21:45:54 +00:00
gsttypefindelement.h Added typefind helper. 2005-04-12 10:52:55 +00:00
Makefile.am gst/: Added object to help in making collect pad based elements. 2005-05-05 09:31:59 +00:00