platform/upstream/gstreamer.git
16 years agogst/gst.c: Fix const position; ref GType classes for enum types to work around thread...
Tim-Philipp Müller [Wed, 9 Apr 2008 21:27:40 +0000 (21:27 +0000)]
gst/gst.c: Fix const position; ref GType classes for enum types to work around thread-safety issues in GLib versions ...

Original commit message from CVS:
* gst/gst.c: (gst_init_get_option_group), (init_post):
Fix const position; ref GType classes for enum types to work
around thread-safety issues in GLib versions < 2.16.

16 years agodocs/design/part-buffering.txt: Fix some typos and set the estimated total for push...
Wim Taymans [Wed, 9 Apr 2008 18:26:15 +0000 (18:26 +0000)]
docs/design/part-buffering.txt: Fix some typos and set the estimated total for push mode to -1.

Original commit message from CVS:
* docs/design/part-buffering.txt:
Fix some typos and set the estimated total for push mode to -1.
* gst/gstquery.c: (gst_query_new_buffering):
Set buffering-left to 0 as we're not buffering by default.
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
Implement BUFFERING query.

16 years agogst/gsterror.*: Add two new error codes for encrypted content. Fixes #524659.
Milosz Derezynski [Wed, 9 Apr 2008 17:34:54 +0000 (17:34 +0000)]
gst/gsterror.*: Add two new error codes for encrypted content. Fixes #524659.

Original commit message from CVS:
Based on patch by: Milosz Derezynski <internalerror gmail com>
* gst/gsterror.c: (_gst_stream_errors_init):
* gst/gsterror.h:
Add two new error codes for encrypted content. Fixes #524659.
API: GST_STREAM_ERROR_DECRYPT
API: GST_STREAM_ERROR_DECRYPT_NOKEY

16 years agogst/gstquery.h: Fix typo.
Tim-Philipp Müller [Wed, 9 Apr 2008 13:15:33 +0000 (13:15 +0000)]
gst/gstquery.h: Fix typo.

Original commit message from CVS:
* gst/gstquery.h:
Fix typo.
* win32/common/libgstreamer.def:
Add new functions.

16 years agoplugins/elements/gstidentity.c: Fix imperfect timestamp/offset checks when we get...
Sebastian Dröge [Wed, 9 Apr 2008 08:19:36 +0000 (08:19 +0000)]
plugins/elements/gstidentity.c: Fix imperfect timestamp/offset checks when we get another NEWSEGMENT event after proc...

Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_event),
(gst_identity_start):
Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
event after processing some data. Fixes bug #526042.

16 years agoRename _avail -> _range
Wim Taymans [Tue, 8 Apr 2008 20:28:21 +0000 (20:28 +0000)]
Rename _avail -> _range

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstquery.c: (gst_query_parse_latency),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_range), (gst_query_parse_buffering_range):
* gst/gstquery.h:
Rename _avail -> _range
API: gst_query_set_buffering_range
API: gst_query_parse_buffering_range

16 years agoAdd busy field and quark for the buffering query so that the app can only use the...
Wim Taymans [Tue, 8 Apr 2008 20:17:49 +0000 (20:17 +0000)]
Add busy field and quark for the buffering query so that the app can only use the query to see if buffering is in pro...

Original commit message from CVS:
* docs/design/part-buffering.txt:
* gst/gstquark.c:
* gst/gstquark.h:
* gst/gstquery.c: (gst_query_parse_latency),
(gst_query_new_buffering), (gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent):
* gst/gstquery.h:
Add busy field and quark for the buffering query so that the app can
only use the query to see if buffering is in progress.

16 years agoReorder the message docs and headers for clarity.
Wim Taymans [Tue, 8 Apr 2008 19:59:06 +0000 (19:59 +0000)]
Reorder the message docs and headers for clarity.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail

16 years agogst/gstmessage.c: Use GstQuark for messages.
Wim Taymans [Tue, 8 Apr 2008 19:52:22 +0000 (19:52 +0000)]
gst/gstmessage.c: Use GstQuark for messages.

Original commit message from CVS:
* gst/gstmessage.c: (gst_message_new_error),
(gst_message_new_warning), (gst_message_new_info),
(gst_message_new_buffering), (gst_message_new_state_changed),
(gst_message_new_clock_provide), (gst_message_new_clock_lost),
(gst_message_new_new_clock), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_new_duration),
(gst_message_new_async_start), (gst_message_parse_buffering),
(gst_message_parse_state_changed),
(gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
(gst_message_parse_new_clock), (gst_message_parse_error),
(gst_message_parse_warning), (gst_message_parse_info),
(gst_message_parse_segment_start),
(gst_message_parse_segment_done), (gst_message_parse_duration),
(gst_message_parse_async_start):
Use GstQuark for messages.

16 years agogst/gstquark.*: Add some more quarks needed for messages and queries.
Wim Taymans [Tue, 8 Apr 2008 19:39:28 +0000 (19:39 +0000)]
gst/gstquark.*: Add some more quarks needed for messages and queries.

Original commit message from CVS:
* gst/gstquark.c: (_priv_gst_quarks_initialize):
* gst/gstquark.h:
Add some more quarks needed for messages and queries.

16 years agodocs/design/part-buffering.txt: Remove the "none" buffering mode, STREAM is a good...
Wim Taymans [Tue, 8 Apr 2008 19:14:49 +0000 (19:14 +0000)]
docs/design/part-buffering.txt: Remove the "none" buffering mode, STREAM is a good default.

Original commit message from CVS:
* docs/design/part-buffering.txt:
Remove the "none" buffering mode, STREAM is a good default.
Move estimated-time to the avail query, that's when it will be needed.
Other small typo fixes and updates.

16 years agogst/gstindex.c: Don't put descriptions into the nick field of a GEnumValue: it's...
Tim-Philipp Müller [Mon, 7 Apr 2008 13:27:32 +0000 (13:27 +0000)]
gst/gstindex.c: Don't put descriptions into the nick field of a GEnumValue: it's not meant for that and some language...

Original commit message from CVS:
* gst/gstindex.c: (gst_index_resolver_get_type):
Don't put descriptions into the nick field of a GEnumValue: it's not
meant for that and some language bindings rely on the nick field to
construct constants and the like. Fixes #526705.

16 years agoMerge other changes from 0.10.19 release branch.
Tim-Philipp Müller [Mon, 7 Apr 2008 10:48:51 +0000 (10:48 +0000)]
Merge other changes from 0.10.19 release branch.

Original commit message from CVS:
* NEWS:
* RELEASE:
* gstreamer.doap:
Merge other changes from 0.10.19 release branch.

16 years agoconfigure.ac: Actually build dlls when cross-compiling with mingw32.
Damien Lespiau [Sun, 6 Apr 2008 08:54:47 +0000 (08:54 +0000)]
configure.ac: Actually build dlls when cross-compiling with mingw32.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* configure.ac:
Actually build dlls when cross-compiling with mingw32.
Fixes bug #526247.

16 years agogst/gstpoll.c: Fix compilation of GstPoll with mingw32. Fixes bug #526236.
Damien Lespiau [Sat, 5 Apr 2008 10:58:11 +0000 (10:58 +0000)]
gst/gstpoll.c: Fix compilation of GstPoll with mingw32. Fixes bug #526236.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* gst/gstpoll.c:
Fix compilation of GstPoll with mingw32. Fixes bug #526236.

16 years agodocs/design/draft-latency.txt: Fix typo.
Wim Taymans [Fri, 4 Apr 2008 13:43:26 +0000 (13:43 +0000)]
docs/design/draft-latency.txt: Fix typo.

Original commit message from CVS:
* docs/design/draft-latency.txt:
Fix typo.
* docs/design/part-buffering.txt:
Update design docs with more buffering ideas.

16 years agoconfigure.ac: Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
Tim-Philipp Müller [Thu, 3 Apr 2008 21:15:09 +0000 (21:15 +0000)]
configure.ac: Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.

Original commit message from CVS:
* configure.ac:
Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.

16 years agoupdate spec to work with docs
Christian Schaller [Thu, 3 Apr 2008 16:45:02 +0000 (16:45 +0000)]
update spec to work with docs

Original commit message from CVS:
update spec to work with docs

16 years agoconfigure.ac: Revert part that belongs to the preset patch.
Stefan Kost [Thu, 3 Apr 2008 14:49:06 +0000 (14:49 +0000)]
configure.ac: Revert part that belongs to the preset patch.

Original commit message from CVS:
* configure.ac:
Revert part that belongs to the preset patch.

16 years agoconfigure.ac: Add qoutes to the define. Fixes # 525961.
Stefan Kost [Thu, 3 Apr 2008 14:26:55 +0000 (14:26 +0000)]
configure.ac: Add qoutes to the define. Fixes # 525961.

Original commit message from CVS:
* configure.ac:
Add qoutes to the define. Fixes # 525961.

16 years agoplugins/indexers/: Use GSlice when possible.
Sebastian Dröge [Thu, 3 Apr 2008 07:52:31 +0000 (07:52 +0000)]
plugins/indexers/: Use GSlice when possible.

Original commit message from CVS:
* plugins/indexers/gstfileindex.c: (_file_index_id_free),
(gst_file_index_load), (gst_file_index_add_id),
(gst_file_index_get_assoc_entry):
* plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
(gst_mem_index_free_id), (gst_mem_index_add_id),
(gst_mem_index_index_format):
Use GSlice when possible.

16 years agolibs/gst/controller/gstinterpolationcontrolsource.c: Use GSlice for allocating the...
Sebastian Dröge [Wed, 2 Apr 2008 17:45:08 +0000 (17:45 +0000)]
libs/gst/controller/gstinterpolationcontrolsource.c: Use GSlice for allocating the control points.

Original commit message from CVS:
* libs/gst/controller/gstinterpolationcontrolsource.c:
(gst_control_point_free),
(gst_interpolation_control_source_set_internal):
Use GSlice for allocating the control points.

16 years agoplugins/elements/gsttypefindelement.*: Cleanup properties.
Wim Taymans [Wed, 2 Apr 2008 17:21:40 +0000 (17:21 +0000)]
plugins/elements/gsttypefindelement.*: Cleanup properties.

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_class_init),
(gst_type_find_element_set_property),
(gst_type_find_element_get_property),
(gst_type_find_element_activate):
* plugins/elements/gsttypefindelement.h:
Cleanup properties.
Fix pad leak when peer query fails.
We can still typefind when the peer returns -1.
Add property to force caps and bypass typefinding. This will be used in
uridecodebin.
API::force-caps

16 years agoconfigure.ac: Require GLib 2.12.
Sebastian Dröge [Tue, 1 Apr 2008 13:55:20 +0000 (13:55 +0000)]
configure.ac: Require GLib 2.12.

Original commit message from CVS:
* configure.ac:
Require GLib 2.12.
* gst/glib-compat-private.h:
* gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
* gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
Unconditionally use GSlice for allocation.
* gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
* gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
* gst/gststructure.c: (gst_structure_id_empty_new_with_size),
(gst_structure_free):
Use GSlice for allocation.

16 years agogst/parse/: Require a new enough flex and bison and remove the parser hacks to use...
Sebastian Dröge [Tue, 1 Apr 2008 13:48:59 +0000 (13:48 +0000)]
gst/parse/: Require a new enough flex and bison and remove the parser hacks to use a pre-regenerated version.

Original commit message from CVS:
* gst/parse/Makefile.am:
* gst/parse/grammar.tab.pre.c:
* gst/parse/grammar.tab.pre.h:
* gst/parse/lex._gst_parse_yy.pre.c:
Require a new enough flex and bison and remove the parser hacks to use
a pre-regenerated version.

16 years agoconfigure.ac: Add a configure switch to disable option parsing in gst_init.
Jason Zhao [Tue, 1 Apr 2008 10:25:35 +0000 (10:25 +0000)]
configure.ac: Add a configure switch to disable option parsing in gst_init.

Original commit message from CVS:
2008-04-01  Julien Moutte  <julien@fluendo.com>

patch by: Jason Zhao <E3423C@motorola.com>

* configure.ac: Add a configure switch to disable option parsing
in gst_init.
Fixes #522882.

16 years agoMacOS has plugins under .so or under .dylib. Add detection for MacOS and handle this...
Stefan Kost [Mon, 31 Mar 2008 13:47:22 +0000 (13:47 +0000)]
MacOS has plugins under .so or under .dylib. Add detection for MacOS and handle this case.

Original commit message from CVS:
* configure.ac:
* gst/gstregistry.c:
MacOS has plugins under .so or under .dylib. Add detection for MacOS
and handle this case.
* gst/gst.c:
Add a comment here describing, why we stat each plugin and not try to
be smart.

16 years agolibs/gst/base/gstbasetransform.c: Also unset the GAP flag on buffers if we're working...
Sebastian Dröge [Mon, 31 Mar 2008 10:21:57 +0000 (10:21 +0000)]
libs/gst/base/gstbasetransform.c: Also unset the GAP flag on buffers if we're working inplace but the element is not ...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer):
Also unset the GAP flag on buffers if we're working inplace but
the element is not GAP-aware.
Mark a comment as FIXME 0.11.

16 years agogst/gst.c: Fix type in log message and add one to ease seeing how long registry cache...
Stefan Kost [Mon, 31 Mar 2008 08:32:26 +0000 (08:32 +0000)]
gst/gst.c: Fix type in log message and add one to ease seeing how long registry cache verification takes.

Original commit message from CVS:
* gst/gst.c:
Fix type in log message and add one to ease seeing how long registry
cache verification takes.
* gst/gstregistry.c:
Only test plugin filenames against G_MODULE_SUFFIX.

16 years agogst/gstdebugutils.c: Improve handling ghost/proxy pads.
Stefan Kost [Mon, 31 Mar 2008 07:49:26 +0000 (07:49 +0000)]
gst/gstdebugutils.c: Improve handling ghost/proxy pads.

Original commit message from CVS:
* gst/gstdebugutils.c:
Improve handling ghost/proxy pads.

16 years agoExpose macro to docs and fix link to it.
Stefan Kost [Thu, 27 Mar 2008 19:13:45 +0000 (19:13 +0000)]
Expose macro to docs and fix link to it.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstpad.c:
* gst/gstpad.h:
Expose macro to docs and fix link to it.

16 years agolibs/gst/dataprotocol/dataprotocol.c: When calculating GDP body CRC, use the correct...
Michael Smith [Thu, 27 Mar 2008 15:23:55 +0000 (15:23 +0000)]
libs/gst/dataprotocol/dataprotocol.c: 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.

16 years agoplugins/elements/gstidentity.c: Identity is not always a passthrough element, it...
Mark Nauwelaerts [Mon, 24 Mar 2008 16:56:36 +0000 (16:56 +0000)]
plugins/elements/gstidentity.c: Identity is not always a passthrough element, it can modify the buffer timestamps whe...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* plugins/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_init), (gst_identity_prepare_output_buffer):
Identity is not always a passthrough element, it can modify the buffer
timestamps when it has a datarate and operates in single-segment mode.
We therefore make it an in_place filter with a custom buffer prepare
function that conditionally makes the input buffer metadata writable
when needed.  Fixes #523985.

16 years agoSmall documentation fixes. Fixes #523978.
Mark Nauwelaerts [Mon, 24 Mar 2008 16:44:25 +0000 (16:44 +0000)]
Small documentation fixes. Fixes #523978.

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* gst/gstclock.h:
* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasetransform.c:
* libs/gst/check/gstcheck.c:
Small documentation fixes. Fixes #523978.

16 years agoplugins/elements/: Also retry our poll_wait when we get EAGAIN. Fixes #524041.
Wim Taymans [Mon, 24 Mar 2008 16:31:30 +0000 (16:31 +0000)]
plugins/elements/: Also retry our poll_wait when we get EAGAIN. Fixes #524041.

Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_render):
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
Also retry our poll_wait when we get EAGAIN. Fixes #524041.

16 years agoplugins/elements/gstmultiqueue.c: When trying to make room in the queue, bump the...
Wim Taymans [Mon, 24 Mar 2008 10:38:31 +0000 (10:38 +0000)]
plugins/elements/gstmultiqueue.c: When trying to make room in the queue, bump the max allowed buffers bigger than the...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
(single_queue_underrun_cb):
When trying to make room in the queue, bump the max allowed buffers
bigger than the current amount of buffers in the queue. this fixes some
nasty deadlocks in multiqueue when dynamically changing the limits of
the queue.

16 years agogst/gstcaps.*: Constify the field gchar * params in set_simple and friends.
José Alburquerque [Mon, 24 Mar 2008 10:33:41 +0000 (10:33 +0000)]
gst/gstcaps.*: Constify the field gchar * params in set_simple and friends.

Original commit message from CVS:
Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
* gst/gstcaps.c: (gst_caps_set_simple),
(gst_caps_set_simple_valist), (gst_caps_intersect):
* gst/gstcaps.h:
Constify the field gchar * params in set_simple and friends.
Fixes #522326.

16 years agogst/gstvalue.c: Transform a GstObject to a more meaningfull string that includes...
Wim Taymans [Mon, 24 Mar 2008 10:29:05 +0000 (10:29 +0000)]
gst/gstvalue.c: Transform a GstObject to a more meaningfull string that includes the object type in addition to its n...

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_transform_object_string):
Transform a GstObject to a more meaningfull string that includes the
object type in addition to its name.

16 years agoChangeLog: ChangeLog surgery to add bugnumber to commit.
Stefan Kost [Sun, 23 Mar 2008 15:17:24 +0000 (15:17 +0000)]
ChangeLog: ChangeLog surgery to add bugnumber to commit.

Original commit message from CVS:
* ChangeLog:
ChangeLog surgery to add bugnumber to commit.

16 years agolibs/gst/base/gstbasetransform.c: Fix confusing documentation.
Rene Stadler [Sun, 23 Mar 2008 14:24:48 +0000 (14:24 +0000)]
libs/gst/base/gstbasetransform.c: Fix confusing documentation.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_set_gap_aware): Fix confusing documentation.

16 years agogst/gstregistrybinary.c: Rename constant everywhere and don't forget one occurence.
Sebastian Dröge [Sun, 23 Mar 2008 11:40:54 +0000 (11:40 +0000)]
gst/gstregistrybinary.c: Rename constant everywhere and don't forget one occurence.

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write):
Rename constant everywhere and don't forget one occurence.

16 years agogst/gstregistrybinary.c: Align memory to the pointer size even if the architecture...
Sebastian Dröge [Sun, 23 Mar 2008 11:29:54 +0000 (11:29 +0000)]
gst/gstregistrybinary.c: Align memory to the pointer size even if the architecture allows unaligned memory access. Un...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write):
Align memory to the pointer size even if the architecture allows
unaligned memory access. Unaligned memory access usually comes with
performance penality.

16 years agogst/gstregistrybinary.c: Align memory to the pointer size instead of always 32 bit...
Sebastian Dröge [Sun, 23 Mar 2008 11:23:30 +0000 (11:23 +0000)]
gst/gstregistrybinary.c: Align memory to the pointer size instead of always 32 bit. Fixes unaligned memory accesses o...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write),
(gst_registry_binary_check_magic),
(gst_registry_binary_load_pad_template),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin):
Align memory to the pointer size instead of always 32 bit. Fixes
unaligned memory accesses on ia64 and friends.
* gst/gstregistrybinary.h:
Bump binary registry format version for this as it changes the
format on those architectures that don't have unaligned access
and 64 bit pointers.

16 years agoDefine G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and use it everywhere...
Sebastian Dröge [Sat, 22 Mar 2008 14:56:17 +0000 (14:56 +0000)]
Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and use it everywhere for GParamSpecs that use static...

Original commit message from CVS:
* docs/pwg/advanced-dparams.xml:
* docs/pwg/building-props.xml:
* docs/pwg/other-source.xml:
* gst/glib-compat.h:
* gst/gstbin.c: (gst_bin_class_init):
* gst/gstclock.c: (gst_clock_class_init):
* gst/gstindex.c: (gst_index_class_init):
* gst/gstobject.c: (gst_object_class_init):
* gst/gstpad.c: (gst_pad_class_init):
* gst/gstpipeline.c: (gst_pipeline_class_init):
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_class_init):
* libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
* libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
(_gst_check_fault_handler_sighandler),
(_gst_check_fault_handler_setup), (gst_check_init):
* libs/gst/controller/gstcontroller.c:
(_gst_controller_class_init):
* libs/gst/controller/gstlfocontrolsource.c:
(gst_lfo_control_source_class_init):
* libs/gst/net/gstnetclientclock.c:
(gst_net_client_clock_class_init):
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_class_init):
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
* plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
* plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
* plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
* plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
* plugins/elements/gstidentity.c: (gst_identity_class_init):
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
* plugins/elements/gstqueue.c: (gst_queue_class_init):
* plugins/elements/gsttee.c: (gst_tee_class_init):
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_class_init):
* plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
use it everywhere for GParamSpecs that use static strings (i.e. all).
This gives us less memory usage, fewer allocations and thus less
memory defragmentation. Fixes bug #523806.

16 years agoAPI: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
Sebastian Dröge [Sat, 22 Mar 2008 14:51:17 +0000 (14:51 +0000)]
API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT

Original commit message from CVS:
* gst/gstminiobject.c: (gst_value_dup_mini_object),
(gst_param_spec_mini_object):
* gst/gstminiobject.h:
* win32/common/libgstreamer.def:
* docs/gst/gstreamer-sections.txt:
API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
GstParamSpecMiniObject into a public header for this.
This make GstMiniObject a bit more consistent with GObject and makes
it possible to extend the param specs.
gst_value_dup_mini_object is mainly useful for set_property methods.
Fixes bug #523798.
* tools/gst-inspect.c: (print_element_properties_info):
Print something useful for GstMiniObject properties and not just
"unknown type".

16 years agoCall the version GST_MAGIC_BINARY_VERSION_STR to be more consistent and add it to...
Sebastian Dröge [Fri, 21 Mar 2008 16:11:51 +0000 (16:11 +0000)]
Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent and add it to the (private part) of the docs to f...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
(gst_registry_binary_check_magic):
* gst/gstregistrybinary.h:
Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
and add it to the (private part) of the docs to fix the build.

16 years agogst/gstregistrybinary.*: Don't use GST_MAJORMINOR for the binary registry version...
Sebastian Dröge [Fri, 21 Mar 2008 15:52:14 +0000 (15:52 +0000)]
gst/gstregistrybinary.*: Don't use GST_MAJORMINOR for the binary registry version. Instead hardcode a value that must...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
(gst_registry_binary_check_magic),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
Don't use GST_MAJORMINOR for the binary registry version. Instead
hardcode a value that must be changed whenever the format changes
in an incompatible way.
Also don't GST_ERROR when there is a version mismatch, just
regenerate the registry silently.

16 years agoconfigure.ac: Back to development - 0.10.18.1
Jan Schmidt [Fri, 21 Mar 2008 00:35:10 +0000 (00:35 +0000)]
configure.ac: Back to development - 0.10.18.1

Original commit message from CVS:
* configure.ac:
Back to development - 0.10.18.1

16 years agoRelease 0.10.18 RELEASE-0_10_18
Jan Schmidt [Fri, 21 Mar 2008 00:20:59 +0000 (00:20 +0000)]
Release 0.10.18

Original commit message from CVS:
Release 0.10.18

16 years agoUpdate .po files
Jan Schmidt [Thu, 20 Mar 2008 23:26:05 +0000 (23:26 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years ago0.10.17.4 pre-release
Jan Schmidt [Tue, 18 Mar 2008 12:17:58 +0000 (12:17 +0000)]
0.10.17.4 pre-release

Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.17.4 pre-release

16 years agoAdd new function gst_poll_fd_ignored() for improved Windows compatibility.
Ole André Vadla Ravnås [Tue, 18 Mar 2008 10:54:52 +0000 (10:54 +0000)]
Add new function gst_poll_fd_ignored() for improved Windows compatibility.

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås
<ole dot andre dot ravnas at tandberg dot com>
* docs/gst/gstreamer-sections.txt:
* gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
(gst_poll_update_winsock_event_mask),
(gst_poll_prepare_winsock_active_sets),
(gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
(gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
(gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
(gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
(gst_poll_check_ctrl_commands), (gst_poll_wait):
* gst/gstpoll.h:
* win32/common/libgstreamer.def:
Add new function gst_poll_fd_ignored() for improved Windows
compatibility.
Various minor fixes and cleanups. See #520808.

16 years agogst/gstindex.*: Don't free key strings which we don't own. Fixes crash in gst_index_e...
Tim-Philipp Müller [Mon, 17 Mar 2008 10:21:59 +0000 (10:21 +0000)]
gst/gstindex.*: Don't free key strings which we don't own. Fixes crash in gst_index_entry_free() (#522741).

Original commit message from CVS:
* gst/gstindex.c: (gst_index_entry_free):
* gst/gstindex.h:
Don't free key strings which we don't own. Fixes crash in
gst_index_entry_free() (#522741).
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/gstindex.c: (test_index_entries),
(gst_index_suite), (gst_index):
Add unit test for the above.

16 years agowin32/common/libgstreamer.def: Remove symbols that were removed recently. Fixes bug...
Sebastian Dröge [Tue, 11 Mar 2008 14:09:46 +0000 (14:09 +0000)]
win32/common/libgstreamer.def: Remove symbols that were removed recently. Fixes bug #521740.

Original commit message from CVS:
* win32/common/libgstreamer.def:
Remove symbols that were removed recently. Fixes bug #521740.

16 years ago0.10.17.3 pre-release
Jan Schmidt [Tue, 11 Mar 2008 00:24:18 +0000 (00:24 +0000)]
0.10.17.3 pre-release

Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.17.3 pre-release

16 years agoconfigure.ac: Release 0.10.17.3
Jan Schmidt [Tue, 11 Mar 2008 00:23:02 +0000 (00:23 +0000)]
configure.ac: Release 0.10.17.3

Original commit message from CVS:
* configure.ac:
Release 0.10.17.3

16 years agoRemove GstPollMode from the API, it does not make sense to let the application contro...
Ole André Vadla Ravnås [Fri, 7 Mar 2008 15:39:45 +0000 (15:39 +0000)]
Remove GstPollMode from the API, it does not make sense to let the application control this.

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås
<ole dot andre dot ravnas at tandberg dot com>
* docs/gst/gstreamer-sections.txt:
* gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
(gst_poll_update_winsock_event_mask), (gst_poll_new),
(gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
(gst_poll_remove_fd), (gst_poll_fd_ctl_write),
(gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
(gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
(gst_poll_fd_can_write), (gst_poll_wait),
(gst_poll_set_controllable), (gst_poll_restart),
(gst_poll_set_flushing):
* gst/gstpoll.h:
* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
* libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
(gst_net_time_provider_new):
* plugins/elements/gstfdsink.c: (gst_fd_sink_start):
* plugins/elements/gstfdsrc.c: (gst_fd_src_start):
* tests/benchmarks/gstpollstress.c: (main):
* tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
Remove GstPollMode from the API, it does not make sense to let the
application control this.
Add support for Win32.
Fix the testsuite. Fixes #520671.

16 years agogst/gstregistrybinary.c: Include io.h for write() and close() when building with...
Ole André Vadla Ravnås [Fri, 7 Mar 2008 13:19:12 +0000 (13:19 +0000)]
gst/gstregistrybinary.c: Include io.h for write() and close() when building with MSVC. Fixes bug #520877.

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås
<ole dot andre dot ravnas at tandberg dot com>
* gst/gstregistrybinary.c:
Include io.h for write() and close() when building with MSVC. Fixes
bug #520877.

16 years agoMove registry backend API to private headers where we can. Add fixme-0.11 comments...
Stefan Kost [Fri, 7 Mar 2008 11:12:59 +0000 (11:12 +0000)]
Move registry backend API to private headers where we can. Add fixme-0.11 comments for the others. Add stubs for the ...

Original commit message from CVS:
* configure.ac:
* gst/gst_private.h:
* gst/gstconfig.h.in:
* gst/gstregistry.h:
* gst/gstregistrybinary.c:
* win32/common/gstconfig.h:
Move registry backend API to private headers where we can. Add
fixme-0.11 comments for the others. Add stubs for the xml backend when
using the binary to ensure they functions exists (they should not be
used though). Fixes #520756.

16 years ago0.10.17.2 prelease
Jan Schmidt [Tue, 4 Mar 2008 00:14:52 +0000 (00:14 +0000)]
0.10.17.2 prelease

Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.17.2 prelease

16 years agoSwitch to using portabl gsize/gssize instead of size_t/ssize_t
Edward Hervey [Mon, 3 Mar 2008 18:42:04 +0000 (18:42 +0000)]
Switch to using portabl gsize/gssize instead of size_t/ssize_t

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write),
(gst_registry_binary_read_cache):
* gst/gstregistryxml.c: (gst_registry_save):
* gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
* plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
* plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
(gst_file_src_map_small_region), (gst_file_src_create_mmap):
Switch to using portabl gsize/gssize instead of size_t/ssize_t
Fixes #520152

16 years agogst/gstminiobject.c: Import gst_private.h before any other header that might include...
Edward Hervey [Mon, 3 Mar 2008 18:14:33 +0000 (18:14 +0000)]
gst/gstminiobject.c: Import gst_private.h before any other header that might include other glib headers. This fixes t...

Original commit message from CVS:
* gst/gstminiobject.c:
Import gst_private.h before any other header that might include other
glib headers. This fixes the build on windows using native compilers.

16 years agowin32/common/gstconfig.h: Add here too, just for completeness.
Tim-Philipp Müller [Mon, 3 Mar 2008 14:48:50 +0000 (14:48 +0000)]
win32/common/gstconfig.h: Add here too, just for completeness.

Original commit message from CVS:
* win32/common/gstconfig.h:
Add here too, just for completeness.

16 years agoFix broken use of config.h-defined preprocessor directive in a public header file...
Tim-Philipp Müller [Mon, 3 Mar 2008 14:43:26 +0000 (14:43 +0000)]
Fix broken use of config.h-defined preprocessor directive in a public header file. Add a corresponding define to gstc...

Original commit message from CVS:
* configure.ac:
* gst/gstconfig.h.in:
* gst/gstregistry.h:
Fix broken use of config.h-defined preprocessor directive in a public
header file. Add a corresponding define to gstconfig.h, since we can't
really remove those function declarations from the header file now
(or can we? and why are they there in the first place?).

16 years agotests/check/gst/gststructure.c (GST_START_TEST): Add a check for the new warning.
Andy Wingo [Mon, 3 Mar 2008 10:07:21 +0000 (10:07 +0000)]
tests/check/gst/gststructure.c (GST_START_TEST): Add a check for the new warning.

Original commit message from CVS:

2008-03-03  Andy Wingo  <wingo@pobox.com>

* tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
the new warning.

* gst/gststructure.c (gst_structure_from_string): Warn if
structure_from_string didn't consume the whole string, but the
caller did not provide an end pointer.

16 years agogst/gstregistryxml.c: Strings allocated by libxml2 should be freed with xmlFree(...
Fabrizio Gennari [Sat, 1 Mar 2008 11:21:30 +0000 (11:21 +0000)]
gst/gstregistryxml.c: Strings allocated by libxml2 should be freed with xmlFree(), not with g_free(). Fixes issues on...

Original commit message from CVS:
Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
* gst/gstregistryxml.c: (read_string), (load_feature):
Strings allocated by libxml2 should be freed with xmlFree(), not
with g_free(). Fixes issues on windows in certain contexts (#519698).

16 years agogst/gstinterface.c: Don't crash if the element supports the interface queried, but...
Tim-Philipp Müller [Fri, 29 Feb 2008 18:38:54 +0000 (18:38 +0000)]
gst/gstinterface.c: Don't crash if the element supports the interface queried, but does not implement GstImplementsIn...

Original commit message from CVS:
* gst/gstinterface.c: (gst_element_implements_interface):
Don't crash if the element supports the interface queried, but does
not implement GstImplementsInterface. Fixes #519584.
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/gstinterface.c:
Add unit test for the above.

16 years agolibs/gst/base/gstbasesink.c: Small doc update.
Wim Taymans [Fri, 29 Feb 2008 15:39:44 +0000 (15:39 +0000)]
libs/gst/base/gstbasesink.c: Small doc update.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
Small doc update.

16 years agogst/gstsegment.c: Improve some comment.
Wim Taymans [Fri, 29 Feb 2008 15:22:34 +0000 (15:22 +0000)]
gst/gstsegment.c: Improve some comment.

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_seek),
(gst_segment_to_stream_time):
Improve some comment.
Update variables where it makes more sense.

16 years agogst/gsturi.c: Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
Rene Stadler [Fri, 29 Feb 2008 14:23:17 +0000 (14:23 +0000)]
gst/gsturi.c: Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes

Original commit message from CVS:
* gst/gsturi.c: (gst_uri_handler_get_protocols):
Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
URIHandlers implemented using language bindings.

16 years agoAnd correct even more valid sparse warnings.
Sebastian Dröge [Fri, 29 Feb 2008 13:59:24 +0000 (13:59 +0000)]
And correct even more valid sparse warnings.

Original commit message from CVS:
* gst/gstelementfactory.h:
* tests/check/elements/fakesink.c:
* tests/check/elements/fakesrc.c: (setup_fakesrc):
* tests/check/elements/fdsrc.c: (setup_fdsrc):
* tests/check/elements/filesink.c: (setup_filesink):
* tests/check/elements/filesrc.c: (setup_filesrc):
* tests/check/elements/identity.c: (setup_identity):
* tests/check/elements/tee.c:
* tests/check/generic/sinks.c:
* tests/check/generic/states.c: (setup), (teardown):
* tests/check/gst/gst.c:
* tests/check/gst/gstabi.c:
* tests/check/gst/gstbin.c:
* tests/check/gst/gstbus.c: (pull_messages):
* tests/check/gst/gstcaps.c:
* tests/check/gst/gstelement.c:
* tests/check/gst/gstevent.c:
* tests/check/gst/gstghostpad.c:
* tests/check/gst/gstiterator.c:
* tests/check/gst/gstmessage.c:
* tests/check/gst/gstminiobject.c: (my_foo_init):
* tests/check/gst/gstobject.c: (thread_name_object),
(gst_object_suite):
* tests/check/gst/gstpad.c:
* tests/check/gst/gstplugin.c:
* tests/check/gst/gstpoll.c:
* tests/check/gst/gstquery.c:
* tests/check/gst/gstsegment.c:
* tests/check/gst/gststructure.c:
* tests/check/gst/gstsystemclock.c:
* tests/check/gst/gsttask.c:
* tests/check/gst/gstutils.c:
* tests/check/gst/gstvalue.c:
* tests/check/gst/struct_hppa.h:
* tests/check/gst/struct_i386.h:
* tests/check/gst/struct_ppc32.h:
* tests/check/gst/struct_ppc64.h:
* tests/check/gst/struct_x86_64.h:
* tests/check/libs/adapter.c: (create_and_fill_adapter):
* tests/check/libs/basesrc.c:
* tests/check/libs/controller.c: (GST_START_TEST):
* tests/check/libs/gdp.c:
* tests/check/libs/gstnetclientclock.c:
* tests/check/libs/gstnettimeprovider.c:
* tests/check/libs/libsabi.c:
* tests/check/libs/struct_hppa.h:
* tests/check/libs/struct_i386.h:
* tests/check/libs/struct_ppc32.h:
* tests/check/libs/struct_ppc64.h:
* tests/check/libs/struct_x86_64.h:
* tests/check/pipelines/cleanup.c:
* tests/check/pipelines/simple-launch-lines.c:
* tests/check/pipelines/stress.c:
And correct even more valid sparse warnings.
* win32/common/libgstreamer.def:
Add gst_poll_fd_init to the list of symbols.

16 years agoCorrect all relevant warnings found by the sparse semantic code analyzer. This includ...
Sebastian Dröge [Fri, 29 Feb 2008 12:41:33 +0000 (12:41 +0000)]
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.

16 years agoplugins/elements/: Don't reset GstPollFDs, this is not necessary at all.
Sebastian Dröge [Fri, 29 Feb 2008 12:05:55 +0000 (12:05 +0000)]
plugins/elements/: Don't reset GstPollFDs, this is not necessary at all.

Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
Don't reset GstPollFDs, this is not necessary at all.
* tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
(delayed_restart), (delayed_control):
Use GST_POLL_FD_INIT.

16 years agogst/gstpoll.*: Added Since tags.
Wim Taymans [Fri, 29 Feb 2008 11:57:42 +0000 (11:57 +0000)]
gst/gstpoll.*: Added Since tags.

Original commit message from CVS:
* gst/gstpoll.c: (gst_poll_fd_init):
* gst/gstpoll.h:
Added Since tags.
* plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
Use some more init macros.

16 years agoplugins/elements/: Use init macros and functions.
Wim Taymans [Fri, 29 Feb 2008 11:20:01 +0000 (11:20 +0000)]
plugins/elements/: Use init macros and functions.

Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_start):
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
Use init macros and functions.

16 years agoAdd INIT macro and _init method for initializing the GstPollFD.
Wim Taymans [Fri, 29 Feb 2008 11:00:43 +0000 (11:00 +0000)]
Add INIT macro and _init method for initializing the GstPollFD.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstpoll.c: (gst_poll_fd_init):
* gst/gstpoll.h:
Add INIT macro and _init method for initializing the GstPollFD.

16 years agoInitialize some uninitialized variables as spotted by valgrind.
Sebastian Dröge [Thu, 28 Feb 2008 19:58:26 +0000 (19:58 +0000)]
Initialize some uninitialized variables as spotted by valgrind.

Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_start),
(gst_fd_sink_update_fd):
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
* tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
(delayed_restart), (delayed_control):
Initialize some uninitialized variables as spotted by valgrind.

16 years agotests/benchmarks/: Add poll stress test.
Wim Taymans [Thu, 28 Feb 2008 15:25:59 +0000 (15:25 +0000)]
tests/benchmarks/: Add poll stress test.

Original commit message from CVS:
* tests/benchmarks/Makefile.am:
* tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
(main):
Add poll stress test.

16 years agoplugins/elements/: Port to GstPoll. See #505417.
Peter Kjellerstedt [Thu, 28 Feb 2008 10:18:02 +0000 (10:18 +0000)]
plugins/elements/: Port to GstPoll. See #505417.

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis dot com>
* plugins/elements/gstfdsink.c: (gst_fd_sink_render),
(gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
(gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
* plugins/elements/gstfdsink.h:
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
(gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
(gst_fd_src_unlock_stop), (gst_fd_src_create),
(gst_fd_src_uri_set_uri):
* plugins/elements/gstfdsrc.h:
Port to GstPoll. See #505417.

16 years agowin32/common/libgstreamer.def: Add new gst_poll_ symbols to win32 defs.
Jan Schmidt [Wed, 27 Feb 2008 21:18:33 +0000 (21:18 +0000)]
win32/common/libgstreamer.def: Add new gst_poll_ symbols to win32 defs.

Original commit message from CVS:
* win32/common/libgstreamer.def:
Add new gst_poll_ symbols to win32 defs.

16 years agoUse a private stuct to not break ABI.
Wim Taymans [Wed, 27 Feb 2008 19:01:12 +0000 (19:01 +0000)]
Use a private stuct to not break ABI.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/net/gstnetclientclock.c:
(gst_net_client_clock_class_init), (gst_net_client_clock_init),
(gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
(gst_net_client_clock_thread), (gst_net_client_clock_start),
(gst_net_client_clock_stop), (gst_net_client_clock_new):
* libs/gst/net/gstnetclientclock.h:
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_class_init), (gst_net_time_provider_init),
(gst_net_time_provider_finalize), (gst_net_time_provider_thread),
(gst_net_time_provider_start), (gst_net_time_provider_stop),
(gst_net_time_provider_new):
* libs/gst/net/gstnettimeprovider.h:
Use a private stuct to not break ABI.

16 years agolibs/gst/net/: Massive code removal and cleanups because of GstPoll.
Peter Kjellerstedt [Wed, 27 Feb 2008 18:27:59 +0000 (18:27 +0000)]
libs/gst/net/: Massive code removal and cleanups because of GstPoll.

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis dot com>
* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
(gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
(gst_net_client_clock_thread), (gst_net_client_clock_start),
(gst_net_client_clock_stop), (gst_net_client_clock_new):
* libs/gst/net/gstnetclientclock.h:
* libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
(gst_net_time_provider_finalize), (gst_net_time_provider_thread),
(gst_net_time_provider_start), (gst_net_time_provider_stop),
(gst_net_time_provider_new):
* libs/gst/net/gstnettimeprovider.h:
Massive code removal and cleanups because of GstPoll.
Fixes #505417.

16 years agoconfigure.ac: Add checks for poll, ppoll and pselect.
Wim Taymans [Wed, 27 Feb 2008 18:00:04 +0000 (18:00 +0000)]
configure.ac: Add checks for poll, ppoll and pselect.

Original commit message from CVS:
* configure.ac:
Add checks for poll, ppoll and pselect.
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
Add docs for GstPoll.
* gst/Makefile.am:
* gst/gst.h:
* gst/gstpoll.c: (find_index), (selectable_fds),
(pollable_timeout), (choose_mode), (pollfd_to_fd_set),
(fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
(gst_poll_set_mode), (gst_poll_get_mode),
(gst_poll_add_fd_unlocked), (gst_poll_add_fd),
(gst_poll_remove_fd), (gst_poll_fd_ctl_write),
(gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
(gst_poll_fd_has_closed), (gst_poll_fd_has_error),
(gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
(gst_poll_fd_can_write), (gst_poll_wait),
(gst_poll_set_controllable), (gst_poll_restart),
(gst_poll_set_flushing):
* gst/gstpoll.h:
Add generic poll abstraction. We ideally don't want to have this in core
here but in glib intead...
This code will be used in various network elements and ultimately for
the nanosecond precision monotonic clock (that's why it's here in core).
It'll allow us to implement cancelable socket operations for windows too.
* tests/check/Makefile.am:
* tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
(delayed_stop), (delayed_restart), (delayed_flush),
(delayed_control), (gst_poll_suite):
Add GstPoll unit test.

16 years agogst/gstfilter.c: Improve documentation of gst_filter_run(). Fixes #518627.
Tim-Philipp Müller [Mon, 25 Feb 2008 15:37:36 +0000 (15:37 +0000)]
gst/gstfilter.c: Improve documentation of gst_filter_run(). Fixes #518627.

Original commit message from CVS:
* gst/gstfilter.c:
Improve documentation of gst_filter_run(). Fixes #518627.

16 years agodocs/README: Add a few lines about the new 'check-inspected-versions' target.
Tim-Philipp Müller [Sat, 23 Feb 2008 16:03:37 +0000 (16:03 +0000)]
docs/README: Add a few lines about the new 'check-inspected-versions' target.

Original commit message from CVS:
* docs/README:
Add a few lines about the new 'check-inspected-versions' target.

16 years agotests/check/gst/gstevent.c: Add qos to the event test. Rename tcase/tsuite; is not...
Stefan Kost [Thu, 21 Feb 2008 10:30:50 +0000 (10:30 +0000)]
tests/check/gst/gstevent.c: Add qos to the event test. Rename tcase/tsuite; is not only about custom events.

Original commit message from CVS:
* tests/check/gst/gstevent.c:
Add qos to the event test. Rename tcase/tsuite; is not only about
custom events.

16 years agoplugins/elements/gstqueue.c: Ensure that buffer metadata is writeable, before modifyi...
Stefan Kost [Thu, 21 Feb 2008 10:22:36 +0000 (10:22 +0000)]
plugins/elements/gstqueue.c: Ensure that buffer metadata is writeable, before modifying. Spotted by

Original commit message from CVS:
* plugins/elements/gstqueue.c:
Ensure that buffer metadata is writeable, before modifying. Spotted by
Mike.

16 years agoplugins/elements/gstqueue.*: When dropping buffers in leaky modes, mark next buffers...
Stefan Kost [Wed, 20 Feb 2008 15:44:33 +0000 (15:44 +0000)]
plugins/elements/gstqueue.*: When dropping buffers in leaky modes, mark next buffers we sent as

Original commit message from CVS:
* plugins/elements/gstqueue.c:
* plugins/elements/gstqueue.h:
When dropping buffers in leaky modes, mark next buffers we sent as
DISCONT.

16 years agoplugins/elements/gstfilesrc.c: Also, if mmap() fails that would be a READ error,...
Tim-Philipp Müller [Wed, 20 Feb 2008 12:31:50 +0000 (12:31 +0000)]
plugins/elements/gstfilesrc.c: Also, if mmap() fails that would be a READ error, not OPEN_READ.

Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
Also, if mmap() fails that would be a READ error, not OPEN_READ.

16 years agoplugins/elements/: Remove GstBufferStore, no idea why we were still building it.
Tim-Philipp Müller [Wed, 20 Feb 2008 12:26:19 +0000 (12:26 +0000)]
plugins/elements/: Remove GstBufferStore, no idea why we were still building it.

Original commit message from CVS:
* plugins/elements/Makefile.am:
* plugins/elements/gstbufferstore.c:
* plugins/elements/gstbufferstore.h:
* plugins/elements/gsttypefindelement.h:
Remove GstBufferStore, no idea why we were still building it.
It's not used anywhere and superseded by GstAdapter.
* plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
(gst_file_src_create_mmap):
* plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
Printf format fixes for 64-bit integers.

16 years agoconfigure.ac: Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
Sebastian Dröge [Tue, 19 Feb 2008 13:00:14 +0000 (13:00 +0000)]
configure.ac: Don't set GST_CACHE_DIR and allow to set it by a configure parameter.

Original commit message from CVS:
* configure.ac:
Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
We're not in 0.8 times anymore.

16 years agolibs/gst/check/gstcheck.*: Make the declaration in the header for gst_check_element_p...
Jan Schmidt [Tue, 19 Feb 2008 12:56:28 +0000 (12:56 +0000)]
libs/gst/check/gstcheck.*: Make the declaration in the header for gst_check_element_push_buffer_list match the implem...

Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
(gst_check_element_push_buffer_list):
* libs/gst/check/gstcheck.h:
Make the declaration in the header for
gst_check_element_push_buffer_list match the implementation.
Fix up spelling, grammar and wording of the documentation in a few
places, and add the Since keyword to new API functions.
Use g_list_delete_link instead of g_list_remove in
gst_check_drop_buffers, since it's immeasurably more efficient.
* tests/check/elements/fakesrc.c: (GST_START_TEST):
Use new gst_check_drop_buffers function where appropriate.
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
Add new symbols gst_collect_pads_take_buffer,
gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
exports
Changelog surgery to add API keyword to new gst_check API.

16 years agogst/parse/lex._gst_parse_yy.pre.c: Update pre-generated flex files with flex 2.3.34.
Sebastian Dröge [Tue, 19 Feb 2008 08:05:15 +0000 (08:05 +0000)]
gst/parse/lex._gst_parse_yy.pre.c: Update pre-generated flex files with flex 2.3.34.

Original commit message from CVS:
* gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
(_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
Update pre-generated flex files with flex 2.3.34.

16 years agogst/gstminiobject.c: Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit...
Sebastian Dröge [Tue, 19 Feb 2008 05:49:32 +0000 (05:49 +0000)]
gst/gstminiobject.c: Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more friendly to subclasses and not ...

Original commit message from CVS:
* gst/gstminiobject.c:
Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
friendly to subclasses and not require them to know all internals
of their parent class.

16 years agoAdd sub-buffer functions to collectpads. Fixes #516187.
Stefan Kost [Fri, 15 Feb 2008 13:15:17 +0000 (13:15 +0000)]
Add sub-buffer functions to collectpads. Fixes #516187.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstcollectpads.c:
* libs/gst/base/gstcollectpads.h:
Add sub-buffer functions to collectpads. Fixes #516187.
API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()

16 years agogst/gstbuffer.c: Copy selected buffer-flags when creating subbuffers.
Stefan Kost [Fri, 15 Feb 2008 12:33:00 +0000 (12:33 +0000)]
gst/gstbuffer.c: Copy selected buffer-flags when creating subbuffers.

Original commit message from CVS:
* gst/gstbuffer.c:
Copy selected buffer-flags when creating subbuffers.
Fixes #516395.

16 years agoProperly chain up finalize functions to the parent class.
Sebastian Dröge [Tue, 12 Feb 2008 12:04:43 +0000 (12:04 +0000)]
Properly chain up finalize functions to the parent class.

Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
* gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
* gst/gstmessage.c: (gst_message_class_init),
(gst_message_finalize):
* gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
* plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
(gst_mmap_buffer_finalize):
Properly chain up finalize functions to the parent class.

16 years agogst/gstindex.*: Add new function with option to dispose of user_data in resolver.
Siavash Safi [Mon, 11 Feb 2008 17:53:57 +0000 (17:53 +0000)]
gst/gstindex.*: Add new function with option to dispose of user_data in resolver.

Original commit message from CVS:
Patch by: Siavash Safi <siavash dot safi at gmail dot com>
* gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
(gst_index_set_resolver_full):
* gst/gstindex.h:
Add new function with option to dispose of user_data in resolver.
Actually call the dispose function when finalizing the object and not
just when changing the resolver/filter.
API: GstIndex::gst_index_set_resolver_full()
* docs/gst/gstreamer-sections.txt:
Add new function to docs. Fixes #515469.

16 years agogst/gstindex.c: Chain up finalize to the parent class. Fixes leaking the GstObject...
Sebastian Dröge [Mon, 11 Feb 2008 08:53:04 +0000 (08:53 +0000)]
gst/gstindex.c: Chain up finalize to the parent class. Fixes leaking the GstObject name and other things.

Original commit message from CVS:
* gst/gstindex.c: (gst_index_finalize):
Chain up finalize to the parent class. Fixes leaking the GstObject
name and other things.

16 years agoChangeLog surgery: Fix Josep's surname in previous commits
Jan Schmidt [Sun, 10 Feb 2008 19:48:04 +0000 (19:48 +0000)]
ChangeLog surgery: Fix Josep's surname in previous commits

Original commit message from CVS:
ChangeLog surgery: Fix Josep's surname in previous commits