platform/upstream/gstreamer.git
12 years agogdp: remove deprecated code
Wim Taymans [Mon, 6 Dec 2010 18:40:03 +0000 (19:40 +0100)]
gdp: remove deprecated code

12 years agogdp: make public enum _get_type() functions thread-safe
Tim-Philipp Müller [Fri, 8 Oct 2010 08:34:47 +0000 (09:34 +0100)]
gdp: make public enum _get_type() functions thread-safe

Not that it is likely to matter in practice, but since these are public
API they should probably be thread-safe.

12 years agogdp: dataprotocol, lfocontrolsource: fix enum value name in enums that are public API
Tim-Philipp Müller [Thu, 7 Oct 2010 23:38:39 +0000 (00:38 +0100)]
gdp: dataprotocol, lfocontrolsource: fix enum value name in enums that are public API

So run-time bindings can introspect the names correctly (we abuse this
field as description field only in elements, not for public API
(where the description belongs into the gtk-doc chunk).

https://bugzilla.gnome.org/show_bug.cgi?id=629946

12 years agogdp: Fixes for -Wmissing-declarations -Wmissing-prototypes
Benjamin Otte [Tue, 2 Mar 2010 21:58:06 +0000 (22:58 +0100)]
gdp: Fixes for -Wmissing-declarations -Wmissing-prototypes

Also adds those flags to the configure warning flags

https://bugzilla.gnome.org/show_bug.cgi?id=611692

12 years agogdp: Make code safe for -Wredundant-decls
Benjamin Otte [Tue, 2 Mar 2010 22:51:18 +0000 (23:51 +0100)]
gdp: Make code safe for -Wredundant-decls

Adds that warning to configure.ac

Includes a tiny change of the GST_BOILERPLATE_FULL() macro:
The get_type() function is no longer declared before being defined.

https://bugzilla.gnome.org/show_bug.cgi?id=611692

12 years agogdp: fix broken xrefs in docs
Stefan Kost [Fri, 27 Nov 2009 14:39:37 +0000 (16:39 +0200)]
gdp: fix broken xrefs in docs

12 years agogdp: Don't write to the same region of memory as a uint64 and uint16 as this breaks ...
Sebastian Dröge [Mon, 30 Jun 2008 09:38:45 +0000 (09:38 +0000)]
gdp: Don't write to the same region of memory as a uint64 and uint16 as this breaks ...

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
Don't write to the same region of memory as a uint64 and uint16
as this breaks strict aliasing rules and apparantly breaks on PPC
and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.

12 years agogdp: When calculating GDP body CRC, use the correct pointer.
Michael Smith [Thu, 27 Mar 2008 15:23:55 +0000 (15:23 +0000)]
gdp: When calculating GDP body CRC, use the correct pointer.

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_packet_from_event_1_0):
When calculating GDP body CRC, use the correct pointer.
Fixes part of #522401.

12 years agogdp: Correct all relevant warnings found by the sparse semantic code analyzer. This...
Sebastian Dröge [Fri, 29 Feb 2008 12:41:33 +0000 (12:41 +0000)]
gdp: Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static...

Original commit message from CVS:
* gst/gstconfig.h.in:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
* libs/gst/check/gstcheck.c: (gst_check_log_message_func),
(gst_check_log_critical_func), (gst_check_drop_buffers),
(gst_check_element_push_buffer_list):
* libs/gst/controller/gstcontroller.c: (gst_controller_get),
(gst_controller_get_type):
* libs/gst/controller/gsthelper.c: (gst_object_control_properties),
(gst_object_get_controller), (gst_object_get_control_source):
* libs/gst/controller/gstinterpolationcontrolsource.c:
(gst_interpolation_control_source_new):
* libs/gst/controller/gstlfocontrolsource.c:
(gst_lfo_control_source_new):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_event_from_packet_0_2):
* plugins/elements/gstfdsrc.c:
* plugins/elements/gstmultiqueue.c:
* plugins/elements/gsttee.c:
* plugins/elements/gsttypefindelement.c:
* plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
(gst_file_index_add_association):
* plugins/indexers/gstmemindex.c:
* tests/benchmarks/gstpollstress.c: (mess_some_more):
* tests/check/elements/queue.c: (setup_queue):
* tests/check/gst/gstpipeline.c:
* tests/check/libs/collectpads.c: (setup), (teardown),
(gst_collect_pads_suite):
* tests/examples/adapter/adapter_test.c:
* tests/examples/metadata/read-metadata.c: (make_pipeline):
* tests/examples/xml/createxml.c:
* tests/examples/xml/runxml.c:
* tools/gst-inspect.c:
* tools/gst-run.c:
Correct all relevant warnings found by the sparse semantic code
analyzer. This include marking several symbols static, using
NULL instead of 0 for pointers, not using variable sized arrays
on the stack, moving variable declarations to the beginning of
a block and using "foo (void)" instead of "foo ()" for declarations.

12 years agogdp: Fix empty prototypes. Fixes bug #507957.
Damien Lespiau [Tue, 8 Jan 2008 02:07:38 +0000 (02:07 +0000)]
gdp: Fix empty prototypes. Fixes bug #507957.

Original commit message from CVS:
Patch by: Damien Lespiau <damien.lespiau@gmail.com>
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gstcontrolsource.h:
* libs/gst/controller/gstinterpolationcontrolsource.h:
* libs/gst/controller/gstlfocontrolsource.h:
* libs/gst/dataprotocol/dataprotocol.h:
Fix empty prototypes.  Fixes bug #507957.

12 years agogdp: g_type_class_ref() other types as well, see #349410 and #64764.
Tim-Philipp Müller [Thu, 1 Nov 2007 21:50:05 +0000 (21:50 +0000)]
gdp: g_type_class_ref() other types as well, see #349410 and #64764.

Original commit message from CVS:
* gst/gst.c: (init_post):
* gst/gstevent.c: (_gst_event_initialize):
* gst/gstquery.c: (_gst_query_initialize):
* libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
g_type_class_ref() other types as well, see #349410 and #64764.
* gst/gstbuffer.c: (_gst_buffer_initialize):
* gst/gstmessage.c: (_gst_message_initialize):
Simplify existing g_type_class_ref().

12 years agogdp: Printf fixes.
Tim-Philipp Müller [Thu, 5 Oct 2006 14:26:08 +0000 (14:26 +0000)]
gdp: Printf fixes.

Original commit message from CVS:
* gst/gstpad.c: (pre_activate):
* gst/gstregistry.c: (gst_registry_scan_path_level):
* gst/gstregistryxml.c: (load_plugin):
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_packet_from_event_1_0):
* libs/gst/net/gstnetclientclock.c:
(gst_net_client_clock_observe_times):
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
Printf fixes.

12 years agogdp: GST_DISABLE_DEPRECATED is only for users of API that don't want to see deprecate...
Andy Wingo [Fri, 11 Aug 2006 15:26:33 +0000 (15:26 +0000)]
gdp: GST_DISABLE_DEPRECATED is only for users of API that don't want to see deprecated functions in the headers; people th...

Original commit message from CVS:
2006-08-11  Andy Wingo  <wingo@pobox.com>

* configure.ac:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
* tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
is only for users of API that don't want to see deprecated
functions in the headers; people that want to compile out
deprecated code should pass -DGST_REMOVE_DEPRECATED into the
CFLAGS. Fixes the build of multifdsink, or will soon..

12 years agogdp: add gst_object_{s,g}et_control_rate(), add private data section, fix docs
Stefan Kost [Thu, 10 Aug 2006 19:46:14 +0000 (19:46 +0000)]
gdp: add gst_object_{s,g}et_control_rate(), add private data section, fix docs

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/controller/gstcontroller.c:
(_gst_controller_get_property), (_gst_controller_set_property),
(_gst_controller_init), (_gst_controller_class_init):
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
(gst_object_set_control_rate):
API: add gst_object_{s,g}et_control_rate(), add private data section,
fix docs
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
* libs/gst/dataprotocol/dataprotocol.h:
add deprecation guards to make gtk-doc happy and allow disabling cruft

12 years agogdp: Make debug category static
Wim Taymans [Wed, 2 Aug 2006 15:19:30 +0000 (15:19 +0000)]
gdp: Make debug category static

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
(gst_dp_crc), (gst_dp_header_payload_length),
(gst_dp_header_payload_type), (gst_dp_packet_from_event),
(gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
(gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
(gst_dp_event_from_packet), (gst_dp_validate_header),
(gst_dp_validate_payload):
Make debug category static
Constify the crc table.
Do some more arg checking in public functions.
Fix some docs and do some small cleanups.
* tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
Add some more checks to see if GDP deals with bogus input.

12 years agogdp: fix failure to deserialize event packets with empty payload (only ev...
Thomas Vander Stichele [Thu, 13 Jul 2006 14:02:16 +0000 (14:02 +0000)]
gdp: fix failure to deserialize event packets with empty payload (only ev...

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_event_from_packet_1_0):
Fixes #347337: failure to deserialize event packets with
empty payload (only event type)

12 years agogdp: add a gdp image to the docs
Thomas Vander Stichele [Tue, 13 Jun 2006 19:24:34 +0000 (19:24 +0000)]
gdp: add a gdp image to the docs

Original commit message from CVS:

* docs/README:
* docs/images/gdp-header.svg:
add a gdp image
* docs/libs/Makefile.am:
* docs/libs/gdp-header.png:
* libs/gst/dataprotocol/dataprotocol.c:
add it to the API docs
* docs/manual/intro-motivation.xml:
fix typo

12 years agogdp: add note to docs about GDP versioning; remove tmpl file
Thomas Vander Stichele [Tue, 6 Jun 2006 14:29:54 +0000 (14:29 +0000)]
gdp: add note to docs about GDP versioning; remove tmpl file

Original commit message from CVS:
add note to docs about GDP versioning; remove tmpl file

12 years agogdp: add a GstDPPacketizer object, and create/free functions
Thomas Vander Stichele [Tue, 6 Jun 2006 14:24:00 +0000 (14:24 +0000)]
gdp: add a GstDPPacketizer object, and create/free functions

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
(gst_dp_version_get_type), (gst_dp_init),
(gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
(gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
(gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
(gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
(gst_dp_event_from_packet), (gst_dp_packetizer_new),
(gst_dp_packetizer_free):
* libs/gst/dataprotocol/dataprotocol.h:
API: add a GstDPPacketizer object, and create/free functions
API: add GstDPVersion enum
Add 1.0 event function that uses the string serialization
Serialize more useful buffer flags
Fixes #343988

12 years agogdp: factor out CRC code
Thomas Vander Stichele [Fri, 2 Jun 2006 16:46:19 +0000 (16:46 +0000)]
gdp: factor out CRC code

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
(gst_dp_packet_from_event):
factor out CRC code

12 years agogdp: factor out some common header init code
Thomas Vander Stichele [Fri, 2 Jun 2006 10:58:47 +0000 (10:58 +0000)]
gdp: factor out some common header init code

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
(gst_dp_packet_from_event):
factor out some common header init code

12 years agogdp: make gst_dp_crc() public
Thomas Vander Stichele [Fri, 2 Jun 2006 10:08:31 +0000 (10:08 +0000)]
gdp: make gst_dp_crc() public

Original commit message from CVS:

* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/tmpl/gstdataprotocol.sgml:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
* libs/gst/dataprotocol/dataprotocol.h:
API: make gst_dp_crc() public

12 years agogdp: make sure we zero the whole ABI-compatible area
Thomas Vander Stichele [Thu, 1 Jun 2006 11:13:44 +0000 (11:13 +0000)]
gdp: make sure we zero the whole ABI-compatible area

Original commit message from CVS:

* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer):
make sure we zero the whole ABI-compatible area

12 years agogdp: whitespace, comment, doc fixup
Thomas Vander Stichele [Mon, 8 May 2006 15:53:12 +0000 (15:53 +0000)]
gdp: whitespace, comment, doc fixup

Original commit message from CVS:
whitespace, comment, doc fixup

12 years agogdp: Fixes in reading/writing events over GDP (not currently used?) - dereferencing ...
Michael Smith [Fri, 28 Apr 2006 13:40:15 +0000 (13:40 +0000)]
gdp: Fixes in reading/writing events over GDP (not currently used?) - dereferencing ...

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
(gst_dp_event_from_packet):
Fixes in reading/writing events over GDP (not currently used?) -
dereferencing NULL events for unknown/invalid event types, memory
leak, and change g_warning to GST_WARNING.

12 years agogdp: Fix docs for dataprocotol to not get the return types completely wrong for a...
Michael Smith [Fri, 10 Mar 2006 15:30:27 +0000 (15:30 +0000)]
gdp: Fix docs for dataprocotol to not get the return types completely wrong for a fe...

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
Fix docs for dataprocotol to not get the return types completely
wrong for a few functions.

12 years agogdp: Documentation updates.
Wim Taymans [Sun, 18 Dec 2005 16:04:41 +0000 (16:04 +0000)]
gdp: Documentation updates.

Original commit message from CVS:
* libs/gst/base/gstadapter.c:
* libs/gst/base/gstadapter.h:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_get_position):
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_default_query), (gst_base_src_default_do_seek),
(gst_base_src_do_seek), (gst_base_src_perform_seek),
(gst_base_src_send_event), (gst_base_src_update_length),
(gst_base_src_get_range), (gst_base_src_loop),
(gst_base_src_start):
* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasetransform.h:
* libs/gst/base/gstcollectpads.h:
* libs/gst/base/gstpushsrc.c:
* libs/gst/base/gstpushsrc.h:
* libs/gst/dataprotocol/dataprotocol.c:
* libs/gst/dataprotocol/dataprotocol.h:
* libs/gst/net/gstnetclientclock.h:
* libs/gst/net/gstnettimeprovider.h:
Documentation updates.

12 years agogdp: Fix Timmeke Waymans bug.
Andy Wingo [Thu, 13 Oct 2005 16:26:12 +0000 (16:26 +0000)]
gdp: Fix Timmeke Waymans bug.

Original commit message from CVS:
2005-10-13  Andy Wingo  <wingo@pobox.com>

* libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
Fix Timmeke Waymans bug.
(gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
string of the proper length to gst_caps_from_string. There's a
potential for, before this fix, that this could cause someone
connecting over the network to cause a segfault if the payload is
not NUL-terminated.

12 years agogdp: fix more valgrind warnings before turning up the heat
Thomas Vander Stichele [Mon, 10 Oct 2005 23:55:39 +0000 (23:55 +0000)]
gdp: fix more valgrind warnings before turning up the heat

Original commit message from CVS:
fix more valgrind warnings before turning up the heat

12 years agogdp: It's about time we bump the version number.
Wim Taymans [Sat, 8 Oct 2005 17:17:25 +0000 (17:17 +0000)]
gdp: It's about time we bump the version number.

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
(gst_dp_packet_from_event):
* libs/gst/dataprotocol/dataprotocol.h:
* libs/gst/dataprotocol/dp-private.h:
It's about time we bump the version number.
Since event types don't fit in the guint8 anymore describing
the payload type, make payload type 16 bits wide.

12 years agogdp: Fix error-checking return values.
Andy Wingo [Tue, 27 Sep 2005 16:30:26 +0000 (16:30 +0000)]
gdp: Fix error-checking return values.

Original commit message from CVS:
2005-09-27  Andy Wingo  <wingo@pobox.com>

* libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
values.

12 years agogdp: Fix serialization of seek events.
Wim Taymans [Wed, 27 Jul 2005 19:00:36 +0000 (19:00 +0000)]
gdp: Fix serialization of seek events.

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
(gst_dp_event_from_packet):
Fix serialization of seek events.

12 years agogdp: Some docs updates
Wim Taymans [Wed, 27 Jul 2005 18:33:03 +0000 (18:33 +0000)]
gdp: Some docs updates

Original commit message from CVS:
* CHANGES-0.9:
* docs/design/part-TODO.txt:
* docs/design/part-events.txt:
Some docs updates

* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_event), (gst_base_sink_do_sync),
(gst_base_sink_activate_push), (gst_base_sink_activate_pull):
* gst/base/gstbasesrc.c: (gst_base_src_send_discont),
(gst_base_src_do_seek), (gst_base_src_event_handler),
(gst_base_src_loop):
* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
(gst_base_transform_configure_caps), (gst_base_transform_setcaps),
(gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
(gst_base_transform_event), (gst_base_transform_handle_buffer),
(gst_base_transform_set_passthrough),
(gst_base_transform_is_passthrough):
* gst/elements/gstfakesink.c: (gst_fake_sink_event):
* gst/elements/gstfilesink.c: (gst_file_sink_event):
Event updates.

* gst/gstbuffer.h:
Use faster casts.

* gst/gstelement.c: (gst_element_seek):
* gst/gstelement.h:
Update gst_element_seek.

* gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
(gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
(gst_event_new_flush_start), (gst_event_new_flush_stop),
(gst_event_new_eos), (gst_event_new_newsegment),
(gst_event_parse_newsegment), (gst_event_new_tag),
(gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
(gst_event_parse_qos), (gst_event_new_seek),
(gst_event_parse_seek), (gst_event_new_navigation):
* gst/gstevent.h:
Make GstEvent use GstStructure. Add parsing code, make sure the
API is sufficiently generic.
Mark possible directions of events and serialization.

* gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
(_gst_message_copy), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_new_custom),
(gst_message_parse_segment_start),
(gst_message_parse_segment_done):
Small cleanups.

* gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
(gst_pad_set_caps), (gst_pad_send_event):
Update for new events.
Catch events sent in wrong directions.

* gst/gstqueue.c: (gst_queue_link_src),
(gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
(gst_queue_handle_src_query):
Event updates.

* gst/gsttag.c:
* gst/gsttag.h:
Remove event code from this file.

* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
(gst_dp_event_from_packet):
Event updates.

12 years agogdp: Ported dataprotol to 0.9.
Wim Taymans [Tue, 5 Jul 2005 10:20:14 +0000 (10:20 +0000)]
gdp: Ported dataprotol to 0.9.

Original commit message from CVS:
* configure.ac:
* libs/gst/dataprotocol/Makefile.am:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
* libs/gst/dataprotocol/dataprotocol.h:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
* pkgconfig/gstreamer-dataprotocol.pc.in:
Ported dataprotol to 0.9.
Added pkgconfig files.

12 years agogdp: remove GstData checks
David Schleef [Mon, 16 May 2005 20:21:55 +0000 (20:21 +0000)]
gdp: remove GstData checks

Original commit message from CVS:
* check/Makefile.am: remove GstData checks
* check/gst-libs/gdp.c: (START_TEST): fix for API changes
* gst/Makefile.am: add miniobject, remove data
* gst/gst.h: add miniobject, remove data
* gst/gstdata.c: remove
* gst/gstdata.h: remove
* gst/gstdata_private.h: remove
* gst/gsttypes.h: remove GstEvent and GstMessage
* gst/gstelement.c: (gst_element_post_message): fix for API changes
* gst/gstmarshal.list: change BOXED -> OBJECT
Implement GstMiniObject.
* gst/gstminiobject.c:
* gst/gstminiobject.h:
Modify to be subclasses of GstMiniObject.
* gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
(gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
(gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
(gst_subbuffer_get_type), (gst_subbuffer_init),
(gst_buffer_create_sub), (gst_buffer_is_span_fast),
(gst_buffer_span):
* gst/gstbuffer.h:
* gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
(gst_event_class_init), (gst_event_init), (gst_event_finalize),
(_gst_event_copy), (gst_event_new):
* gst/gstevent.h:
* gst/gstmessage.c: (_gst_message_initialize),
(gst_message_get_type), (gst_message_class_init),
(gst_message_init), (gst_message_finalize), (_gst_message_copy),
(gst_message_new), (gst_message_new_error),
(gst_message_new_warning), (gst_message_new_tag),
(gst_message_new_state_changed), (gst_message_new_application):
* gst/gstmessage.h:
* gst/gstprobe.c: (gst_probe_perform),
(gst_probe_dispatcher_dispatch):
* gst/gstprobe.h:
* gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
(gst_query_class_init), (gst_query_finalize), (gst_query_init),
(_gst_query_copy), (gst_query_new):
Update elements for GstData -> GstMiniObject changes
* gst/gstquery.h:
* gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
(gst_queue_chain), (gst_queue_loop):
* gst/elements/gstbufferstore.c:
(gst_buffer_store_add_buffer_func),
(gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
* gst/elements/gstfakesink.c: (gst_fakesink_class_init),
(gst_fakesink_render):
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
* gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
(gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
(gst_mmap_buffer_finalize), (gst_filesrc_map_region),
(gst_filesrc_create_read):
* gst/elements/gstidentity.c: (gst_identity_class_init):
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_src_event), (free_entry_buffers),
(gst_type_find_element_handle_event):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer):
* libs/gst/dataprotocol/dataprotocol.h:
* libs/gst/dataprotocol/dp-private.h:

12 years agogdp: GCC 4 fixen.
Andy Wingo [Wed, 4 May 2005 21:29:44 +0000 (21:29 +0000)]
gdp: GCC 4 fixen.

Original commit message from CVS:
2005-05-04  Andy Wingo <wingo@pobox.com>

* check/Makefile.am:
* docs/gst/tmpl/gstatomic.sgml:
* docs/gst/tmpl/gstplugin.sgml:
* gst/base/gstbasesink.c: (gst_basesink_activate):
* gst/base/gstbasesrc.c: (gst_basesrc_class_init),
(gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
(gst_basesrc_query), (gst_basesrc_set_property),
(gst_basesrc_get_property), (gst_basesrc_check_get_range),
(gst_basesrc_activate):
* gst/base/gstbasesrc.h:
* gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
(gst_base_transform_src_activate):
* gst/elements/gstelements.c:
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
(gst_fakesrc_set_property), (gst_fakesrc_get_property):
* gst/elements/gsttee.c: (gst_tee_sink_activate):
* gst/elements/gsttypefindelement.c: (find_element_get_length),
(gst_type_find_element_checkgetrange),
(gst_type_find_element_activate):
* gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
* gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
(gst_caps_load_thyself):
* gst/gstelement.c: (gst_element_pads_activate),
(gst_element_save_thyself), (gst_element_restore_thyself):
* gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
(gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
* gst/gstpad.h:
* gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
(gst_xml_parse_file), (gst_xml_parse_memory),
(gst_xml_get_element), (gst_xml_make_element):
* gst/indexers/gstfileindex.c: (gst_file_index_load),
(_file_index_id_save_xml), (gst_file_index_commit):
* gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
(read_enum), (load_pad_template), (load_feature), (load_plugin),
(load_paths):
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
(gst_dp_packet_from_event), (gst_dp_caps_from_packet):
* tools/gst-complete.c: (main):
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_element_properties_info):
* tools/gst-launch.c: (xmllaunch_parse_cmdline):
* tools/gst-xmlinspect.c: (print_element_properties):
GCC 4 fixen.

12 years agogdp: Next big merge.
Wim Taymans [Mon, 21 Mar 2005 17:34:02 +0000 (17:34 +0000)]
gdp: Next big merge.

Original commit message from CVS:
Next big merge.
Added GstBus for mainloop integration.
Added GstMessage for sending notifications on the bus.
Added GstTask as an abstraction for pipeline entry points.
Removed GstThread.
Removed Schedulers.
Simplified GstQueue for multithreaded core.
Made _link threadsafe, removed old capsnego.
Added STREAM_LOCK and PREROLL_LOCK in GstPad.
Added pad blocking functions.
Reworked scheduling functions in GstPad to prepare for
scheduling updates soon.
Moved events out of data stream.
Simplified GstEvent types.
Added return values to push/pull.
Removed clocking from GstElement.
Added prototypes for state change function for next merge.
Removed iterate from bins and state change management.
Fixed some elements, disabled others for now.
Fixed -inspect and -launch.
Added check for GstBus.

12 years agogdp: First THREADED backport attempt, focusing on adding locks and making sure the...
Wim Taymans [Mon, 7 Mar 2005 18:27:42 +0000 (18:27 +0000)]
gdp: First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor...

Original commit message from CVS:
First THREADED backport attempt, focusing on adding locks and
making sure the API is threadsafe. Needs more work. More docs
follow this week.

12 years agogdp: Allocate the 1 byte more memory that was forgotten!!!!!
Zaheer Abbas Merali [Fri, 18 Feb 2005 13:58:36 +0000 (13:58 +0000)]
gdp: Allocate the 1 byte more memory that was forgotten!!!!!

Original commit message from CVS:
2005-02-18  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_dump_byte_array):
Allocate the 1 byte more memory that was forgotten!!!!!

12 years agogdp: Fix threadsafety of the crc checking function.
Wim Taymans [Fri, 1 Oct 2004 16:49:01 +0000 (16:49 +0000)]
gdp: Fix threadsafety of the crc checking function.

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
Fix threadsafety of the crc checking function.

12 years agogdp: fix for #150242
Thomas Vander Stichele [Mon, 16 Aug 2004 10:35:36 +0000 (10:35 +0000)]
gdp: fix for #150242

Original commit message from CVS:
fix for #150242

12 years agogdp: doc style fixes
Thomas Vander Stichele [Wed, 28 Jul 2004 10:22:07 +0000 (10:22 +0000)]
gdp: doc style fixes

Original commit message from CVS:
doc style fixes

12 years agogdp: bump GDP to 0.1, add buffer flags
Thomas Vander Stichele [Wed, 9 Jun 2004 16:24:19 +0000 (16:24 +0000)]
gdp: bump GDP to 0.1, add buffer flags

Original commit message from CVS:
bump GDP to 0.1, add buffer flags

12 years agogdp: wrap header in _NEW
Thomas Vander Stichele [Mon, 24 May 2004 16:38:15 +0000 (16:38 +0000)]
gdp: wrap header in _NEW

Original commit message from CVS:
wrap header in _NEW

12 years agoOriginal commit message from CVS: use GST macros; add asserts
Thomas Vander Stichele [Wed, 19 May 2004 17:22:53 +0000 (17:22 +0000)]
Original commit message from CVS: use GST macros; add asserts

12 years agogdp: private prototype
Thomas Vander Stichele [Wed, 19 May 2004 16:59:39 +0000 (16:59 +0000)]
gdp: private prototype

Original commit message from CVS:
private prototype

12 years agogdp: add dataprotocol
Thomas Vander Stichele [Wed, 19 May 2004 16:37:53 +0000 (16:37 +0000)]
gdp: add dataprotocol

Original commit message from CVS:
clean up libs docs; add dataprotocol

12 years agoadd parent to pad functions
Wim Taymans [Thu, 17 Nov 2011 11:48:25 +0000 (12:48 +0100)]
add parent to pad functions

12 years agoupdate for adapter api changes
Wim Taymans [Thu, 10 Nov 2011 17:32:39 +0000 (18:32 +0100)]
update for adapter api changes

12 years agotests: update for new audio caps
Wim Taymans [Thu, 29 Sep 2011 11:46:36 +0000 (13:46 +0200)]
tests: update for new audio caps

12 years agogdppay: parse caps event and payload caps
Tim-Philipp Müller [Fri, 8 Jul 2011 19:02:25 +0000 (20:02 +0100)]
gdppay: parse caps event and payload caps

Which makes it actually output stuff.

12 years ago-base: update for buffer API change
Wim Taymans [Mon, 13 Jun 2011 14:32:56 +0000 (16:32 +0200)]
-base: update for buffer API change

12 years ago-base: port to new SEGMENT API
Wim Taymans [Mon, 16 May 2011 11:48:11 +0000 (13:48 +0200)]
-base: port to new SEGMENT API

12 years agosegment: fix for new core API
Wim Taymans [Mon, 9 May 2011 16:16:46 +0000 (18:16 +0200)]
segment: fix for new core API

Fix for gst_*_segment_full rename.

12 years ago-base: don't use buffer caps
Wim Taymans [Mon, 9 May 2011 11:05:12 +0000 (13:05 +0200)]
-base: don't use buffer caps

Port to newest 0.11 core API, remove GST_PAD_CAPS and GST_BUFFER_CAPS.

12 years agogst: Use G_DEFINE_TYPE instead of GST_BOILERPLATE
Sebastian Dröge [Tue, 19 Apr 2011 09:35:53 +0000 (11:35 +0200)]
gst: Use G_DEFINE_TYPE instead of GST_BOILERPLATE

12 years agoandroid: make it ready for androgenizer
Alessandro Decina [Thu, 27 Jan 2011 16:28:51 +0000 (17:28 +0100)]
android: make it ready for androgenizer

Remove the android/ top dir
Fixe the Makefile.am to be androgenized

To build gstreamer for android we are now using androgenizer which generates the
needed Android.mk files.
Androgenizer can be found here:
http://git.collabora.co.uk/?p=user/derek/androgenizer.git

12 years agobufferlist: fixes for new API
Wim Taymans [Thu, 31 Mar 2011 15:47:43 +0000 (17:47 +0200)]
bufferlist: fixes for new API

12 years agotests: fix more unit tests
Wim Taymans [Mon, 28 Mar 2011 15:46:52 +0000 (17:46 +0200)]
tests: fix more unit tests

12 years agotests: fix remaining unit tests
Wim Taymans [Mon, 28 Mar 2011 13:51:46 +0000 (15:51 +0200)]
tests: fix remaining unit tests

12 years agotests: work on porting the unit tests
Wim Taymans [Mon, 28 Mar 2011 12:12:24 +0000 (14:12 +0200)]
tests: work on porting the unit tests

12 years agoplugins: port some plugins to the new memory API
Wim Taymans [Sun, 27 Mar 2011 14:35:28 +0000 (16:35 +0200)]
plugins: port some plugins to the new memory API

12 years agogdppay: ensure buffer's metadata is writable before setting caps
Andoni Morales Alastruey [Wed, 9 Feb 2011 11:45:23 +0000 (12:45 +0100)]
gdppay: ensure buffer's metadata is writable before setting caps

12 years agogdppay: make newsegment buffer metadata writable
David Schleef [Sun, 16 Jan 2011 22:55:46 +0000 (14:55 -0800)]
gdppay: make newsegment buffer metadata writable

12 years agotests: use our own macros for the tests main function
Stefan Kost [Fri, 18 Jun 2010 13:37:14 +0000 (16:37 +0300)]
tests: use our own macros for the tests main function

12 years agoAdd -Wwrite-strings to configure
Benjamin Otte [Mon, 15 Mar 2010 21:49:53 +0000 (22:49 +0100)]
Add -Wwrite-strings to configure

Fixes for the code included

12 years agogst_element_class_set_details => gst_element_class_set_details_simple
Benjamin Otte [Tue, 16 Mar 2010 14:45:23 +0000 (15:45 +0100)]
gst_element_class_set_details => gst_element_class_set_details_simple

Also change my email from the old university one to the current one.

12 years agoAdd -Wmissing-declarations -Wmissing-prototypes to warning flags
Benjamin Otte [Thu, 11 Mar 2010 12:32:14 +0000 (13:32 +0100)]
Add -Wmissing-declarations -Wmissing-prototypes to warning flags

Includes all the fixes necessary to make stuff compile again.

12 years agogdpdepay: Clear adapter on flush and state change
Olivier Crête [Thu, 5 Nov 2009 14:42:09 +0000 (15:42 +0100)]
gdpdepay: Clear adapter on flush and state change

Fixes #600469

12 years agoRemove GST_DEBUG_FUNCPTR where they're pointless
Tim-Philipp Müller [Wed, 28 Oct 2009 00:59:35 +0000 (00:59 +0000)]
Remove GST_DEBUG_FUNCPTR where they're pointless

There's not much point in using GST_DEBUG_FUNCPTR with GObject
virtual functions such as get_property, set_propery, finalize and
dispose, since they'll never be used by anyone anyway. Saves a
few bytes and possibly a sixteenth of a polar bear.

12 years agogdppay: Don't repeat tags buffers for every new segment
Jan Schmidt [Tue, 22 Sep 2009 10:58:26 +0000 (11:58 +0100)]
gdppay: Don't repeat tags buffers for every new segment

Only send a tag buffer when one is received, not after every new segment
event/update.

12 years agoBug 593035 - set IN_CAPS for streamheader buffer
Marc-André Lureau [Thu, 27 Aug 2009 16:59:49 +0000 (18:59 +0200)]
Bug 593035 - set IN_CAPS for streamheader buffer

12 years agostreamheader: Fix caps leak in the vorbisenc unit test
Sebastian Dröge [Mon, 10 Aug 2009 13:40:33 +0000 (15:40 +0200)]
streamheader: Fix caps leak in the vorbisenc unit test

12 years agochecks: fix stream header unit test hanging in gst_task_cleanup_all()
Tim-Philipp Müller [Mon, 10 Aug 2009 13:14:30 +0000 (14:14 +0100)]
checks: fix stream header unit test hanging in gst_task_cleanup_all()

Set pipelines to NULL state and unref when done.

12 years agogdppay: set caps on outgoing buffers
Wim Taymans [Wed, 27 May 2009 10:10:05 +0000 (12:10 +0200)]
gdppay: set caps on outgoing buffers

Set caps on outgoing buffers because NULL caps confuse basetransform.
Fixes #583867

12 years agoDon't install static libs for plugins. Fixes #550851 for base.
Stefan Kost [Thu, 16 Oct 2008 15:07:00 +0000 (15:07 +0000)]
Don't install static libs for plugins. Fixes #550851 for base.

Original commit message from CVS:
* ext/alsa/Makefile.am:
* ext/cdparanoia/Makefile.am:
* ext/gio/Makefile.am:
* ext/gnomevfs/Makefile.am:
* ext/libvisual/Makefile.am:
* ext/ogg/Makefile.am:
* ext/pango/Makefile.am:
* ext/theora/Makefile.am:
* ext/vorbis/Makefile.am:
* gst/adder/Makefile.am:
* gst/audioconvert/Makefile.am:
* gst/audiorate/Makefile.am:
* gst/audioresample/Makefile.am:
* gst/audiotestsrc/Makefile.am:
* gst/ffmpegcolorspace/Makefile.am:
* gst/gdp/Makefile.am:
* gst/playback/Makefile.am:
* gst/subparse/Makefile.am:
* gst/tcp/Makefile.am:
* gst/typefind/Makefile.am:
* gst/videorate/Makefile.am:
* gst/videoscale/Makefile.am:
* gst/videotestsrc/Makefile.am:
* gst/volume/Makefile.am:
* sys/v4l/Makefile.am:
* sys/ximage/Makefile.am:
* sys/xvimage/Makefile.am:
Don't install static libs for plugins. Fixes #550851 for base.

12 years agoCleanup Plugin docs. Link to signals and properties. Fix sub-section titles. Drop...
Stefan Kost [Thu, 10 Jul 2008 21:06:06 +0000 (21:06 +0000)]
Cleanup Plugin docs. Link to signals and properties. Fix sub-section titles. Drop mentining that all our example pipe...

Original commit message from CVS:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-overrides.txt:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/gst-plugins-base-plugins.signals:
* docs/plugins/inspect/plugin-adder.xml:
* docs/plugins/inspect/plugin-alsa.xml:
* docs/plugins/inspect/plugin-audioconvert.xml:
* docs/plugins/inspect/plugin-audiorate.xml:
* docs/plugins/inspect/plugin-audioresample.xml:
* docs/plugins/inspect/plugin-audiotestsrc.xml:
* docs/plugins/inspect/plugin-cdparanoia.xml:
* docs/plugins/inspect/plugin-decodebin.xml:
* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
* docs/plugins/inspect/plugin-gdp.xml:
* docs/plugins/inspect/plugin-gnomevfs.xml:
* docs/plugins/inspect/plugin-libvisual.xml:
* docs/plugins/inspect/plugin-ogg.xml:
* docs/plugins/inspect/plugin-pango.xml:
* docs/plugins/inspect/plugin-playback.xml:
* docs/plugins/inspect/plugin-queue2.xml:
* docs/plugins/inspect/plugin-subparse.xml:
* docs/plugins/inspect/plugin-tcp.xml:
* docs/plugins/inspect/plugin-theora.xml:
* docs/plugins/inspect/plugin-typefindfunctions.xml:
* docs/plugins/inspect/plugin-uridecodebin.xml:
* docs/plugins/inspect/plugin-video4linux.xml:
* docs/plugins/inspect/plugin-videorate.xml:
* docs/plugins/inspect/plugin-videoscale.xml:
* docs/plugins/inspect/plugin-videotestsrc.xml:
* docs/plugins/inspect/plugin-volume.xml:
* docs/plugins/inspect/plugin-vorbis.xml:
* docs/plugins/inspect/plugin-ximagesink.xml:
* docs/plugins/inspect/plugin-xvimagesink.xml:
* ext/alsa/gstalsamixer.c:
* ext/alsa/gstalsasink.c:
* ext/alsa/gstalsasrc.c:
* ext/gio/gstgiosink.c:
* ext/gio/gstgiosrc.c:
* ext/gio/gstgiostreamsink.c:
* ext/gio/gstgiostreamsrc.c:
* ext/gnomevfs/gstgnomevfssink.c:
* ext/gnomevfs/gstgnomevfssrc.c:
* ext/ogg/gstoggdemux.c:
* ext/ogg/gstoggmux.c:
* ext/pango/gstclockoverlay.c:
* ext/pango/gsttextoverlay.c:
* ext/pango/gsttextrender.c:
* ext/pango/gsttimeoverlay.c:
* ext/theora/theoradec.c:
* ext/theora/theoraenc.c:
* ext/theora/theoraparse.c:
* ext/vorbis/vorbisdec.c:
* ext/vorbis/vorbisenc.c:
* ext/vorbis/vorbisparse.c:
* ext/vorbis/vorbistag.c:
* gst/adder/gstadder.c:
* gst/audioconvert/gstaudioconvert.c:
* gst/audioresample/gstaudioresample.c:
* gst/audiotestsrc/gstaudiotestsrc.c:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
* gst/gdp/gstgdpdepay.c:
* gst/gdp/gstgdppay.c:
* gst/playback/gstdecodebin2.c:
* gst/playback/gstplaybin.c:
* gst/playback/gstplaybin2.c:
* gst/playback/gstqueue2.c:
* gst/playback/gsturidecodebin.c:
* gst/tcp/gstmultifdsink.c:
* gst/tcp/gsttcpserversink.c:
* gst/videorate/gstvideorate.c:
* gst/videoscale/gstvideoscale.c:
* gst/videotestsrc/gstvideotestsrc.c:
* gst/volume/gstvolume.c:
* sys/ximage/ximagesink.c:
* sys/xvimage/xvimagesink.c:
Cleanup Plugin docs. Link to signals and properties. Fix sub-section
titles. Drop mentining that all our example pipelines are "simple"
pipelines.

12 years agotests/check/: Enable unit tests on PPC again as the bugs are now fixed.
Sebastian Dröge [Mon, 30 Jun 2008 09:46:15 +0000 (09:46 +0000)]
tests/check/: Enable unit tests on PPC again as the bugs are now fixed.

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
* tests/check/pipelines/streamheader.c: (streamheader_suite):
Enable unit tests on PPC again as the bugs are now fixed.

12 years agogst/gdp/gstgdppay.c: Fix a buffer memleak and remove a confusing and wrong debug...
Antoine Tremblay [Fri, 20 Jun 2008 08:45:13 +0000 (08:45 +0000)]
gst/gdp/gstgdppay.c: Fix a buffer memleak and remove a confusing and wrong debug output.

Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset):
Fix a buffer memleak and remove a confusing and wrong debug output.
Fixes bug #538663.

12 years agotests/check/pipelines/streamheader.c: Do not try to run a test which requires vorbise...
Peter Kjellerstedt [Wed, 4 Jun 2008 16:00:26 +0000 (16:00 +0000)]
tests/check/pipelines/streamheader.c: Do not try to run a test which requires vorbisenc unless we have actually built...

Original commit message from CVS:
* tests/check/pipelines/streamheader.c: (buffer_probe_cb),
(test_multifdsink_gdp_vorbisenc), (streamheader_suite):
Do not try to run a test which requires vorbisenc unless we have
actually built it.

12 years agogst/gdp/gstgdppay.c: Don't set caps on the buffers that contain a copy of the buffer...
Antoine Tremblay [Wed, 4 Jun 2008 05:58:38 +0000 (05:58 +0000)]
gst/gdp/gstgdppay.c: Don't set caps on the buffers that contain a copy of the buffer including the caps of them resul...

Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset_streamheader):
Don't set caps on the buffers that contain a copy of the buffer
including the caps of them resulting in an always increasing refcount
of the caps and insanely large caps. Instead include a buffer without
caps in the new caps. Fixes bug #536475.

12 years agoAdd some documentation comments, and some new headers to be scanned.
Jan Schmidt [Thu, 22 May 2008 22:09:16 +0000 (22:09 +0000)]
Add some documentation comments, and some new headers to be scanned.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-overrides.txt:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/inspect/plugin-adder.xml:
* docs/plugins/inspect/plugin-alsa.xml:
* docs/plugins/inspect/plugin-audioconvert.xml:
* docs/plugins/inspect/plugin-audiorate.xml:
* docs/plugins/inspect/plugin-audioresample.xml:
* docs/plugins/inspect/plugin-audiotestsrc.xml:
* docs/plugins/inspect/plugin-cdparanoia.xml:
* docs/plugins/inspect/plugin-decodebin.xml:
* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
* docs/plugins/inspect/plugin-gdp.xml:
* docs/plugins/inspect/plugin-gio.xml:
* docs/plugins/inspect/plugin-gnomevfs.xml:
* docs/plugins/inspect/plugin-libvisual.xml:
* docs/plugins/inspect/plugin-ogg.xml:
* docs/plugins/inspect/plugin-pango.xml:
* docs/plugins/inspect/plugin-playback.xml:
* docs/plugins/inspect/plugin-queue2.xml:
* docs/plugins/inspect/plugin-subparse.xml:
* docs/plugins/inspect/plugin-tcp.xml:
* docs/plugins/inspect/plugin-theora.xml:
* docs/plugins/inspect/plugin-typefindfunctions.xml:
* docs/plugins/inspect/plugin-uridecodebin.xml:
* docs/plugins/inspect/plugin-video4linux.xml:
* docs/plugins/inspect/plugin-videorate.xml:
* docs/plugins/inspect/plugin-videoscale.xml:
* docs/plugins/inspect/plugin-videotestsrc.xml:
* docs/plugins/inspect/plugin-volume.xml:
* docs/plugins/inspect/plugin-vorbis.xml:
* docs/plugins/inspect/plugin-ximagesink.xml:
* docs/plugins/inspect/plugin-xvimagesink.xml:
* ext/cdparanoia/gstcdparanoiasrc.c:
* ext/ogg/gstoggdemux.c:
* ext/ogg/gstoggdemux.h:
* ext/ogg/gstoggmux.c:
* ext/ogg/gstoggmux.h:
* gst/audioconvert/audioconvert.c:
* gst/audioconvert/audioconvert.h:
* gst/audioconvert/gstaudioconvert.h:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.h:
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c:
* gst/playback/gstplaybin.c:
* gst/playback/gstplaybin2.c:
* gst/playback/gsturidecodebin.c:
* gst/tcp/gstmultifdsink.c:
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp.h:
Add some documentation comments, and some new headers to be scanned.
Rename some internal enum declarations (audioconvert's DitherType and
NoiseShapingType, GstUnitType from the TCP elements) to match the
documented GObject type names so that the docs pick them up.
Name the playbin2 docs markups properly so they get picked up. They'll
need renaming back when/if playbin2 becomes playbin.
100% symbol coverage for the plugin docs, booya.

12 years agoDon't use bad gst_element_get_pad().
Wim Taymans [Wed, 21 May 2008 16:36:50 +0000 (16:36 +0000)]
Don't use bad gst_element_get_pad().

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind):
* gst/playback/decodetest.c: (new_decoded_pad_cb):
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(try_to_link_1), (elem_is_dynamic), (close_link), (type_found),
(cleanup_decodebin):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_init),
(connect_element), (gst_decode_group_control_demuxer_pad):
* gst/playback/gstplaybasebin.c: (queue_remove_probe),
(queue_out_of_data), (gen_preroll_element), (preroll_unlinked),
(mute_group_type):
* gst/playback/gstplaybin.c: (gst_play_bin_vis_blocked),
(gst_play_bin_set_property), (handoff), (gen_video_element),
(gen_text_element), (gen_audio_element), (gen_vis_element),
(remove_sinks), (add_sink), (setup_sinks):
* gst/playback/gstplaybin2.c: (pad_added_cb), (no_more_pads_cb):
* gst/playback/gstplaysink.c: (gst_play_sink_get_video_sink),
(gst_play_sink_get_audio_sink), (gst_play_sink_vis_unblocked),
(gst_play_sink_vis_blocked), (gst_play_sink_set_vis_plugin),
(gst_play_sink_get_vis_plugin), (gst_play_sink_set_mute),
(gen_video_chain), (gen_text_chain), (gen_audio_chain),
(gen_vis_chain), (gst_play_sink_reconfigure),
(gst_play_sink_set_font_desc), (gst_play_sink_get_font_desc),
(gst_play_sink_request_pad):
* gst/playback/gsturidecodebin.c: (type_found), (setup_source):
* gst/playback/test.c: (gen_video_element), (gen_audio_element),
(cb_newpad):
* gst/playback/test6.c: (new_decoded_pad_cb):
* tests/check/elements/audioconvert.c: (GST_START_TEST):
* tests/check/elements/audiorate.c: (test_injector_chain),
(do_perfect_stream_test):
* tests/check/elements/ffmpegcolorspace.c: (GST_START_TEST):
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/elements/gnomevfssink.c:
* tests/check/elements/textoverlay.c:
(notgst_check_setup_src_pad2), (notgst_check_teardown_src_pad2):
* tests/check/elements/videotestsrc.c: (GST_START_TEST):
* tests/check/libs/cddabasesrc.c: (GST_START_TEST):
* tests/check/pipelines/oggmux.c: (test_pipeline):
* tests/check/pipelines/streamheader.c: (GST_START_TEST):
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
* tests/check/pipelines/vorbisenc.c: (GST_START_TEST):
* tests/examples/seek/scrubby.c: (make_wav_pipeline):
* tests/examples/seek/seek.c: (make_mod_pipeline),
(make_dv_pipeline), (make_wav_pipeline), (make_flac_pipeline),
(make_sid_pipeline), (make_parse_pipeline), (make_vorbis_pipeline),
(make_theora_pipeline), (make_vorbis_theora_pipeline),
(make_avi_msmpeg4v3_mp3_pipeline), (make_mp3_pipeline),
(make_avi_pipeline), (make_mpeg_pipeline), (make_mpegnt_pipeline),
(update_fill), (msg_buffering):
Don't use bad gst_element_get_pad().

12 years agogst/gdp/gstgdppay.c: Close a buffer memory leak. Fixes bug #534071.
Antoine Tremblay [Wed, 21 May 2008 06:45:22 +0000 (06:45 +0000)]
gst/gdp/gstgdppay.c: Close a buffer memory leak. Fixes bug #534071.

Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gdp/gstgdppay.c: (gst_gdp_pay_chain):
Close a buffer memory leak. Fixes bug #534071.

12 years agogst/gdp/gstgdpdepay.c: Don't validate the payload if there isn't any.
Edward Hervey [Fri, 18 Apr 2008 14:54:01 +0000 (14:54 +0000)]
gst/gdp/gstgdpdepay.c: Don't validate the payload if there isn't any.

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
Don't validate the payload if there isn't any.
Fixes #525915

12 years agogst/gdp/gstgdpdepay.c: Check the body CRC (if set) when depayloading.
Michael Smith [Thu, 27 Mar 2008 15:26:38 +0000 (15:26 +0000)]
gst/gdp/gstgdpdepay.c: Check the body CRC (if set) when depayloading.

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
Check the body CRC (if set) when depayloading.
Fixes #522401.

12 years agotests/check/elements/gdpdepay.c: Make test compile without unused function/variable...
Tim-Philipp Müller [Sun, 23 Mar 2008 13:12:41 +0000 (13:12 +0000)]
tests/check/elements/gdpdepay.c: Make test compile without unused function/variable warnings on PPC.

Original commit message from CVS:
* tests/check/elements/gdpdepay.c:
Make test compile without unused function/variable warnings on PPC.

12 years agoUse G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use static strings (i...
Sebastian Dröge [Sat, 22 Mar 2008 15:00:53 +0000 (15:00 +0000)]
Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use static strings (i.e. all). This gives us less memory u...

Original commit message from CVS:
* configure.ac:
* ext/alsa/gstalsamixerelement.c:
(gst_alsa_mixer_element_class_init):
* ext/alsa/gstalsasink.c: (gst_alsasink_class_init):
* ext/alsa/gstalsasrc.c: (gst_alsasrc_class_init):
* ext/cdparanoia/gstcdparanoiasrc.c:
(gst_cd_paranoia_src_class_init):
* ext/gio/gstgiosink.c: (gst_gio_sink_class_init):
* ext/gio/gstgiosrc.c: (gst_gio_src_class_init):
* ext/gio/gstgiostreamsink.c: (gst_gio_stream_sink_class_init):
* ext/gio/gstgiostreamsrc.c: (gst_gio_stream_src_class_init):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_class_init):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_class_init):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init):
* ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init):
* ext/pango/gsttextrender.c: (gst_text_render_class_init):
* ext/theora/theoradec.c: (gst_theora_dec_class_init):
* ext/theora/theoraenc.c: (gst_theora_enc_class_init):
* ext/theora/theoraparse.c: (gst_theora_parse_class_init):
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_class_init):
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
(gst_audio_filter_template_class_init):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_class_init):
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_class_init):
* gst-libs/gst/interfaces/mixertrack.c:
(gst_mixer_track_class_init):
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_class_init):
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init):
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_class_init):
* gst/audioresample/gstaudioresample.c:
(gst_audioresample_class_init):
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audio_test_src_class_init):
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(preroll_unlinked):
* gst/playback/gstplaybin.c: (gst_play_bin_class_init):
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init):
* gst/playback/gstplaysink.c: (gst_play_sink_class_init):
* gst/playback/gstqueue2.c: (gst_queue_class_init):
* gst/playback/gststreaminfo.c: (gst_stream_info_class_init):
* gst/playback/gststreamselector.c: (gst_selector_pad_class_init),
(gst_stream_selector_class_init):
* gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init):
* gst/subparse/gstsubparse.c: (gst_sub_parse_class_init):
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
* gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_class_init):
* gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_class_init):
* gst/tcp/gsttcpserversink.c: (gst_tcp_server_sink_class_init):
* gst/tcp/gsttcpserversrc.c: (gst_tcp_server_src_class_init):
* gst/videorate/gstvideorate.c: (gst_video_rate_class_init):
* gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_class_init):
* gst/volume/gstvolume.c: (gst_volume_class_init):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_class_init):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_class_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_class_init):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_class_init):
* sys/ximage/ximagesink.c: (gst_ximagesink_class_init):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_class_init):
Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use
static strings (i.e. all). This gives us less memory usage,
fewer allocations and thus less memory defragmentation. Depend
on core CVS for this. Fixes bug #523806.

12 years agoCorrect all relevant warnings found by the sparse semantic code analyzer. This includ...
Sebastian Dröge [Mon, 3 Mar 2008 06:04:31 +0000 (06:04 +0000)]
Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static...

Original commit message from CVS:
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_get_type):
* ext/alsa/gstalsasink.c: (set_hwparams):
* ext/alsa/gstalsasrc.c: (set_hwparams):
* ext/gio/gstgio.c: (gst_gio_uri_handler_get_uri):
* ext/ogg/gstoggmux.h:
* ext/ogg/gstogmparse.c:
* gst-libs/gst/audio/audio.c:
* gst-libs/gst/fft/kiss_fft_f64.c: (kiss_fft_f64_alloc):
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new):
* gst-libs/gst/rtp/gstbasertppayload.c:
* gst-libs/gst/rtp/gstrtcpbuffer.c:
(gst_rtcp_packet_bye_get_reason):
* gst/audioconvert/gstaudioconvert.c:
* gst/audioresample/gstaudioresample.c:
* gst/ffmpegcolorspace/imgconvert.c:
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/typefind/gsttypefindfunctions.c:
* gst/videoscale/vs_4tap.c:
* gst/videoscale/vs_4tap.h:
* sys/v4l/gstv4lelement.c:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get_any_caps):
* sys/v4l/v4l_calls.c:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_capture_init),
(gst_v4lsrc_try_capture):
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new):
* tests/check/elements/audioconvert.c:
* tests/check/elements/audioresample.c:
(fail_unless_perfect_stream):
* tests/check/elements/audiotestsrc.c: (setup_audiotestsrc):
* tests/check/elements/decodebin.c:
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(setup_gdpdepay_streamheader):
* tests/check/elements/gdppay.c: (setup_gdppay), (GST_START_TEST),
(setup_gdppay_streamheader):
* tests/check/elements/gnomevfssink.c: (setup_gnomevfssink):
* tests/check/elements/multifdsink.c: (setup_multifdsink):
* tests/check/elements/textoverlay.c:
* tests/check/elements/videorate.c: (setup_videorate):
* tests/check/elements/videotestsrc.c: (setup_videotestsrc):
* tests/check/elements/volume.c: (setup_volume):
* tests/check/elements/vorbisdec.c: (setup_vorbisdec):
* tests/check/elements/vorbistag.c:
* tests/check/generic/clock-selection.c:
* tests/check/generic/states.c: (setup), (teardown):
* tests/check/libs/cddabasesrc.c:
* tests/check/libs/video.c:
* tests/check/pipelines/gio.c:
* tests/check/pipelines/oggmux.c:
* tests/check/pipelines/simple-launch-lines.c:
(simple_launch_lines_suite):
* tests/check/pipelines/streamheader.c:
* tests/check/pipelines/theoraenc.c:
* tests/check/pipelines/vorbisdec.c:
* tests/check/pipelines/vorbisenc.c:
* tests/examples/seek/scrubby.c:
* tests/examples/seek/seek.c: (query_positions_elems),
(query_positions_pads):
* tests/icles/stress-xoverlay.c: (myclock):
Correct all relevant warnings found by the sparse semantic code
analyzer. This include marking several symbols static, using
NULL instead of 0 for pointers and using "foo (void)" instead
of "foo ()" for declarations.
* win32/common/libgstrtp.def:
Add gst_rtp_buffer_set_extension_data to the symbol definition file.

12 years agotests/check/pipelines/streamheader.c: Disable test_multifdsink_gdp_vorbisenc() on...
Tim-Philipp Müller [Thu, 14 Jun 2007 19:53:27 +0000 (19:53 +0000)]
tests/check/pipelines/streamheader.c: Disable test_multifdsink_gdp_vorbisenc() on ppc64 since it fails on the p5-ppc6...

Original commit message from CVS:
* tests/check/pipelines/streamheader.c: (streamheader_suite):
Disable test_multifdsink_gdp_vorbisenc() on ppc64 since it
fails on the p5-ppc64 build bot and the failure looks like it is due
to the same issue as #348114, ie. a compiler bug.

12 years agogst/gdp/gstgdppay.c (gst_gdp_pay_chain): tests/check/pipelines/streamheader.c (tag_ev...
Thomas Vander Stichele [Sat, 14 Apr 2007 12:34:55 +0000 (12:34 +0000)]
gst/gdp/gstgdppay.c (gst_gdp_pay_chain): tests/check/pipelines/streamheader.c (tag_event_probe_cb,

Original commit message from CVS:
* gst/gdp/gstgdppay.c (gst_gdp_pay_chain):
* tests/check/pipelines/streamheader.c (tag_event_probe_cb,
GST_START_TEST, buffer_probe_cb, GST_START_TEST):
Fix a bug where serialized IN_CAPS buffers needed to be set IN_CAPS.

12 years agotests/check/pipelines/streamheader.c (tag_event_probe_cb,
Thomas Vander Stichele [Fri, 13 Apr 2007 21:55:31 +0000 (21:55 +0000)]
tests/check/pipelines/streamheader.c (tag_event_probe_cb,

Original commit message from CVS:
* tests/check/pipelines/streamheader.c (tag_event_probe_cb,
GST_START_TEST, n_in_caps, buffer_probe_cb, GST_START_TEST,
streamheader_suite):
Add another test set up for failure

12 years agodebug changes
Thomas Vander Stichele [Fri, 13 Apr 2007 21:09:04 +0000 (21:09 +0000)]
debug changes

Original commit message from CVS:
debug changes

12 years agotests/check/Makefile.am: tests/check/pipelines/streamheader.c (n_tags, tag_event_prob...
Thomas Vander Stichele [Fri, 13 Apr 2007 21:08:11 +0000 (21:08 +0000)]
tests/check/Makefile.am: tests/check/pipelines/streamheader.c (n_tags, tag_event_probe_cb,

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/pipelines/streamheader.c (n_tags, tag_event_probe_cb,
GST_START_TEST, streamheader_suite, main):
Add a test for the streamheader bug Wim fixed.

12 years agogst/gdp/gstgdppay.c: Make sure we set the IN_CAPS flag correctly.
Wim Taymans [Thu, 12 Apr 2007 10:03:22 +0000 (10:03 +0000)]
gst/gdp/gstgdppay.c: Make sure we set the IN_CAPS flag correctly.

Original commit message from CVS:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event):
Make sure we set the IN_CAPS flag correctly.
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_render):
Get the IN_CAPS flag before we call functions that mess with the flags.

12 years agogst/gdp/gstgdppay.c (gst_gdp_pay_reset_streamheader, gst_gdp_pay_chain, gst_gdp_pay_s...
Thomas Vander Stichele [Tue, 10 Apr 2007 20:37:05 +0000 (20:37 +0000)]
gst/gdp/gstgdppay.c (gst_gdp_pay_reset_streamheader, gst_gdp_pay_chain, gst_gdp_pay_sink_event):

Original commit message from CVS:
* gst/gdp/gstgdppay.c (gst_gdp_pay_reset_streamheader,
gst_gdp_pay_chain, gst_gdp_pay_sink_event):
Only stamp buffers with offset/offset_end right before they get
pushed.  This ensures offset continuity, which was not the case
before as shown by
gst-launch -v -m audiotestsrc num-buffers=10 ! audioconvert ! vorbisenc ! gdppay ! identity check-imperfect-offset=TRUE ! fakesink silent=TRUE

12 years agoadding debugging
Thomas Vander Stichele [Tue, 10 Apr 2007 20:25:06 +0000 (20:25 +0000)]
adding debugging

Original commit message from CVS:
adding debugging

12 years agoadd buffer logging
Thomas Vander Stichele [Wed, 14 Mar 2007 15:05:32 +0000 (15:05 +0000)]
add buffer logging

Original commit message from CVS:
add buffer logging

12 years agotests/check/elements/: Fix the dp tests, but activating the pads for the streamheader...
Stefan Kost [Fri, 22 Dec 2006 12:10:18 +0000 (12:10 +0000)]
tests/check/elements/: Fix the dp tests, but activating the pads for the streamheader tests too and cleaning up condi...

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (cleanup_gdpdepay),
(setup_gdpdepay_streamheader):
* tests/check/elements/gdppay.c: (cleanup_gdppay),
(setup_gdppay_streamheader):
Fix the dp tests, but activating the pads for the streamheader tests
too and cleaning up conditionaly

12 years agotests/check/elements/: consistent pad (de)activation
Stefan Kost [Thu, 21 Dec 2006 08:12:26 +0000 (08:12 +0000)]
tests/check/elements/: consistent pad (de)activation

Original commit message from CVS:
* tests/check/elements/audioresample.c: (cleanup_audioresample):
* tests/check/elements/audiotestsrc.c: (cleanup_audiotestsrc):
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(cleanup_gdpdepay):
* tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay):
* tests/check/elements/subparse.c: (teardown_subparse):
* tests/check/elements/textoverlay.c: (cleanup_textoverlay):
* tests/check/elements/videorate.c: (cleanup_videorate):
* tests/check/elements/videotestsrc.c: (cleanup_videotestsrc):
* tests/check/elements/volume.c: (cleanup_volume):
* tests/check/elements/vorbisdec.c: (setup_vorbisdec),
(cleanup_vorbisdec):
* tests/check/elements/vorbistag.c: (setup_vorbistag),
(cleanup_vorbistag):
consistent pad (de)activation