platform/upstream/gstreamer.git
18 years agomake GstElementDetails const
Stefan Kost [Fri, 28 Apr 2006 18:55:17 +0000 (18:55 +0000)]
make GstElementDetails const

Original commit message from CVS:
* gst/gstbin.c:
* gst/gstpipeline.c:
* plugins/elements/gstcapsfilter.c:
* plugins/elements/gstfakesink.c:
* plugins/elements/gstfakesrc.c:
* plugins/elements/gstfdsink.c:
* plugins/elements/gstfdsrc.c:
* plugins/elements/gstfilesink.c:
* plugins/elements/gstfilesrc.c:
* plugins/elements/gstidentity.c:
* plugins/elements/gstqueue.c:
* plugins/elements/gsttee.c:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event):
make GstElementDetails const

18 years agolibs/gst/base/: more detailed debug and formatting cleanup
Stefan Kost [Fri, 28 Apr 2006 18:48:38 +0000 (18:48 +0000)]
libs/gst/base/: more detailed debug and formatting cleanup

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_event):
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
(gst_collect_pads_is_collected), (gst_collect_pads_event):
more detailed debug and formatting cleanup

18 years agogst/gstutils.c: cleanup double code
Stefan Kost [Fri, 28 Apr 2006 17:52:13 +0000 (17:52 +0000)]
gst/gstutils.c: cleanup double code

Original commit message from CVS:
* gst/gstutils.c: (gst_element_link_pads):
cleanup double code

18 years agolibs/gst/controller/gstcontroller.c: some little tuning
Stefan Kost [Fri, 28 Apr 2006 17:33:41 +0000 (17:33 +0000)]
libs/gst/controller/gstcontroller.c: some little tuning

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
(gst_controller_sync_values):
some little tuning
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
a new test for live value handling

18 years agoGive credit to Tapi Paavola for last patch
Wim Taymans [Fri, 28 Apr 2006 15:51:56 +0000 (15:51 +0000)]
Give credit to Tapi Paavola for last patch

Original commit message from CVS:
Give credit to Tapi Paavola for last patch

18 years agogst/gstutils.c: Added some more docs.
Wim Taymans [Fri, 28 Apr 2006 15:48:50 +0000 (15:48 +0000)]
gst/gstutils.c: Added some more docs.

Original commit message from CVS:
* gst/gstutils.c: (push_and_ref):
Added some more docs.
Fix refcount issue whith gst_element_found_tags() helper
function. Fixes #338335
* tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
Added testsuite for gst_element_found_tags().

18 years agogst/gstvalue.c: Avoid NULL dereference when trying to serialize flags containing...
Michael Smith [Fri, 28 Apr 2006 13:51:00 +0000 (13:51 +0000)]
gst/gstvalue.c: Avoid NULL dereference when trying to serialize flags containing invalid values.

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_serialize_flags):
Avoid NULL dereference when trying to serialize flags containing
invalid values.

18 years agosmall doc fix
Thomas Vander Stichele [Fri, 28 Apr 2006 13:44:20 +0000 (13:44 +0000)]
small doc fix

Original commit message from CVS:
small doc fix

18 years agoplugins/elements/gsttypefindelement.c: If we get EOS before any data is accumulated...
Michael Smith [Fri, 28 Apr 2006 13:43:03 +0000 (13:43 +0000)]
plugins/elements/gsttypefindelement.c: If we get EOS before any data is accumulated, don't use uninitialised local va...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event):
If we get EOS before any data is accumulated, don't use
uninitialised local variables.

18 years agolibs/gst/dataprotocol/dataprotocol.c: Fixes in reading/writing events over GDP (not...
Michael Smith [Fri, 28 Apr 2006 13:40:15 +0000 (13:40 +0000)]
libs/gst/dataprotocol/dataprotocol.c: 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.

18 years agolibs/gst/base/gstbasesink.c: When frame dropping is enabled, we should not ignore...
Wim Taymans [Fri, 28 Apr 2006 13:25:58 +0000 (13:25 +0000)]
libs/gst/base/gstbasesink.c: When frame dropping is enabled, we should not ignore frames without a duration.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
(gst_base_sink_do_render_stats), (gst_base_sink_render_object),
(gst_base_sink_get_position), (gst_base_sink_change_state):
When frame dropping is enabled, we should not ignore frames
without a duration.
Update some documentation.

18 years agolibs/gst/base/gstbasesrc.c: Documentation updates.
Wim Taymans [Fri, 28 Apr 2006 13:18:41 +0000 (13:18 +0000)]
libs/gst/base/gstbasesrc.c: Documentation updates.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
(gst_base_src_send_event), (gst_base_src_change_state):
Documentation updates.

18 years agoplugins/elements/gstfdsink.c: handle EAGAIN, EINTR and short writes correctly. Also...
Wim Taymans [Fri, 28 Apr 2006 13:16:03 +0000 (13:16 +0000)]
plugins/elements/gstfdsink.c: handle EAGAIN, EINTR and short writes correctly. Also clean up some error cases, avoid ...

Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_render),
(gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
handle EAGAIN, EINTR and short writes correctly. Also clean
up some error cases, avoid a deadlock on bad file descriptors and
use GST_DEBUG_OBJECT.
Fixes #339843

18 years agogst/gstvalue.c: Don't try to serialize a GValue with a NULL buffer.
Wim Taymans [Fri, 28 Apr 2006 13:13:23 +0000 (13:13 +0000)]
gst/gstvalue.c: Don't try to serialize a GValue with a NULL buffer.

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_serialize_buffer),
(gst_value_deserialize_buffer):
Don't try to serialize a GValue with a NULL buffer.
Fixes #339821.
* tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
Added check for serialisation of NULL buffers.

18 years agogst/gstminiobject.c: Taking a NULL miniobject is valid, fix the case where we try...
Wim Taymans [Fri, 28 Apr 2006 13:10:07 +0000 (13:10 +0000)]
gst/gstminiobject.c: Taking a NULL miniobject is valid, fix the case where we try to unref the NULL miniobject.

Original commit message from CVS:
* gst/gstminiobject.c: (gst_value_take_mini_object):
Taking a NULL miniobject is valid, fix the case where
we try to unref the NULL miniobject.

18 years agoupdate win32 config.h
Thomas Vander Stichele [Fri, 28 Apr 2006 13:05:19 +0000 (13:05 +0000)]
update win32 config.h

Original commit message from CVS:
update win32 config.h

18 years agogst/gstbin.c: Update docs.
Stefan Kost [Fri, 28 Apr 2006 13:04:07 +0000 (13:04 +0000)]
gst/gstbin.c: Update docs.

Original commit message from CVS:
Patch by: Stefan Kost <ensonic at sonicpulse dot de>
* gst/gstbin.c: (gst_bin_handle_message_func):
Update docs.
Don't leak bin refcount when a state recalc is
in progress and we delay another one #339808.

18 years agodocs/design/part-TODO.txt: Mention QoS as an ongoing work item.
Wim Taymans [Fri, 28 Apr 2006 12:58:15 +0000 (12:58 +0000)]
docs/design/part-TODO.txt: Mention QoS as an ongoing work item.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Mention QoS as an ongoing work item.
* docs/design/part-buffering.txt:
New doc about buffering that needs to be fleshed out
at some point.
* docs/design/part-qos.txt:
More QoS policy for decoders/demuxers/transforms
* docs/design/part-trickmodes.txt:
Small update.

18 years agoback to HEAD
Thomas Vander Stichele [Fri, 28 Apr 2006 10:56:04 +0000 (10:56 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.10.5 RELEASE-0_10_5
Thomas Vander Stichele [Fri, 28 Apr 2006 10:53:33 +0000 (10:53 +0000)]
releasing 0.10.5

Original commit message from CVS:
releasing 0.10.5

18 years agofix upload.mak; should move to common
Thomas Vander Stichele [Fri, 28 Apr 2006 09:48:09 +0000 (09:48 +0000)]
fix upload.mak; should move to common

Original commit message from CVS:
fix upload.mak; should move to common

18 years agoadding missing dsp files
Thomas Vander Stichele [Fri, 28 Apr 2006 09:20:26 +0000 (09:20 +0000)]
adding missing dsp files

Original commit message from CVS:
adding missing dsp files

18 years agoprerelease
Thomas Vander Stichele [Wed, 26 Apr 2006 13:54:48 +0000 (13:54 +0000)]
prerelease

Original commit message from CVS:
prerelease

18 years agogst/: Fix internal data flow errors. Fixes #338711.
Wim Taymans [Sat, 22 Apr 2006 21:34:23 +0000 (21:34 +0000)]
gst/: Fix internal data flow errors.  Fixes #338711.

Original commit message from CVS:

patch by: Wim Taymans

* gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
(gst_pad_configure_src), (gst_pad_push):
* gst/gstpipeline.c: (gst_pipeline_init):
Fix internal data flow errors.  Fixes #338711.

18 years agotests/check/gst/gstelement.c: Don't leak the factory.
Wim Taymans [Wed, 12 Apr 2006 11:58:43 +0000 (11:58 +0000)]
tests/check/gst/gstelement.c: Don't leak the factory.

Original commit message from CVS:
* tests/check/gst/gstelement.c: (GST_START_TEST):
Don't leak the factory.

18 years agoupdated translations
Thomas Vander Stichele [Wed, 12 Apr 2006 11:06:44 +0000 (11:06 +0000)]
updated translations

Original commit message from CVS:
updated translations

18 years agoupdate libtool versioning
Thomas Vander Stichele [Wed, 12 Apr 2006 11:04:36 +0000 (11:04 +0000)]
update libtool versioning

Original commit message from CVS:
update libtool versioning

18 years agoprerelease
Thomas Vander Stichele [Wed, 12 Apr 2006 10:57:26 +0000 (10:57 +0000)]
prerelease

Original commit message from CVS:
prerelease

18 years agolibs/gst/controller/gstcontroller.c: Free allocated GstTimedValues when freeing list...
Tim-Philipp Müller [Wed, 12 Apr 2006 10:28:53 +0000 (10:28 +0000)]
libs/gst/controller/gstcontroller.c: Free allocated GstTimedValues when freeing list nodes.

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c: (gst_controller_unset),
(gst_controller_unset_all):
Free allocated GstTimedValues when freeing list nodes.
Should fix leaks 'make check-valgrind' complains about.
* win32/common/libgstcontroller.def:
Add gst_controller_unset_all.

18 years agofix ChangeLog
Thomas Vander Stichele [Wed, 12 Apr 2006 10:15:12 +0000 (10:15 +0000)]
fix ChangeLog

Original commit message from CVS:
fix ChangeLog

18 years agoAdded new method _unset_all() and fixed _unset()
Stefan Kost [Tue, 11 Apr 2006 21:07:26 +0000 (21:07 +0000)]
Added new method _unset_all() and fixed _unset()

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/controller/gstcontroller.c: (gst_controller_unset),
(gst_controller_unset_all):
* libs/gst/controller/gstcontroller.h:
Added new method _unset_all() and fixed _unset()
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
Added two testcases for new and fixed method

18 years agolibs/gst/net/gstnettimepacket.c: MSG_DONTWAIT is not defined on Cygwin, so work aroun...
Tim-Philipp Müller [Tue, 11 Apr 2006 18:43:04 +0000 (18:43 +0000)]
libs/gst/net/gstnettimepacket.c: MSG_DONTWAIT is not defined on Cygwin, so work around that (fixes #317048).

Original commit message from CVS:
* libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
MSG_DONTWAIT is not defined on Cygwin, so work
around that (fixes #317048).

18 years agofix versioning macro
Christian Schaller [Tue, 11 Apr 2006 14:48:34 +0000 (14:48 +0000)]
fix versioning macro

Original commit message from CVS:
fix versioning macro

18 years agogst/gstelementfactory.c: Some cleanups.
Wim Taymans [Tue, 11 Apr 2006 11:47:39 +0000 (11:47 +0000)]
gst/gstelementfactory.c: Some cleanups.

Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_register),
(gst_element_factory_create), (gst_element_factory_make):
Some cleanups.
Fixed a FIXME.
Updated docs (Fixes #131079)
* gst/gstpluginfeature.c: (gst_plugin_feature_load):
Small cleanups.
* tests/check/gst/gstelement.c: (GST_START_TEST),
(gst_element_suite):
Added testcase for elementfactory class field.

18 years agogst/gstsegment.c: Added some more docs.
Wim Taymans [Mon, 10 Apr 2006 10:46:44 +0000 (10:46 +0000)]
gst/gstsegment.c: Added some more docs.

Original commit message from CVS:
* gst/gstsegment.c:
Added some more docs.
* libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
(gst_base_sink_reset_qos):
Calculate more accurate rate values.

18 years agogst/gst_private.h: add a new #ifdef to use __declspec(dllimport) only for other modul...
Sébastien Moutte [Sun, 9 Apr 2006 16:57:34 +0000 (16:57 +0000)]
gst/gst_private.h: add a new #ifdef to use __declspec(dllimport) only for other modules and not for gstreamer core

Original commit message from CVS:
* gst/gst_private.h:
add a new #ifdef to use __declspec(dllimport) only for
other modules and not for gstreamer core
* gst/gstbasesink.c: (gst_base_sink_perform_qos):
use gst_guint64_to_gdouble for conversion
* win32/common/libgstreamer.def:
add new exported functions
* win32/vs6/gst_inspect.dsp:
* win32/vs6/gst_launch.dsp:
* win32/vs6/libgstbase.dsp:
* win32/vs6/libgstcontroller.dsp:
* win32/vs6/libgstcoreelements.dsp:
* win32/vs6/libgstdataprotocol.dsp:
* win32/vs6/libgstnet.dsp:
update project files

18 years agoFix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Stefan Kost [Sat, 8 Apr 2006 20:57:31 +0000 (20:57 +0000)]
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

Original commit message from CVS:
* gst/gstbuffer.c: (gst_subbuffer_class_init):
* gst/gstclock.c: (gst_clock_class_init):
* gst/gstelement.c: (gst_element_class_init):
* gst/gstindex.c: (gst_index_class_init):
* gst/gstindexfactory.c: (gst_index_factory_class_init):
* gst/gstobject.c: (gst_object_class_init),
(gst_signal_object_class_init):
* gst/gstpad.c: (gst_pad_class_init):
* gst/gstpadtemplate.c: (gst_pad_template_class_init):
* gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
* gst/gstregistry.c: (gst_registry_class_init):
* gst/gstsystemclock.c: (gst_system_clock_class_init):
* gst/gsttask.c: (gst_task_class_init):
* gst/gstxml.c: (gst_xml_class_init):
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_loop):
* libs/gst/controller/gstcontroller.c:
(_gst_controller_class_init):
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
* plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
* plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
* tests/old/examples/plugins/example.c: (gst_example_class_init):
* tests/old/testsuite/threads/signals.c: (gst_test_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

18 years agogst/gstpad.c: Must set peer pads before calling the link function, otherwise a task...
Tim-Philipp Müller [Sat, 8 Apr 2006 18:11:56 +0000 (18:11 +0000)]
gst/gstpad.c: Must set peer pads before calling the link function, otherwise a task started from a link function migh...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_link):
Must set peer pads before calling the link function, otherwise
a task started from a link function might get a flow-not-linked
result when trying to push because the other thread where the
linking happens hasn't had a chance to set the peers yet. This
might happen for example when a queue gets linked to a downstream
element, as queue starts a streaming task when its source pad
gets linked. Happens in real life when playing back flac/musepack
files in playbin (#332390).

18 years agoFix broken GObject macros
Stefan Kost [Sat, 8 Apr 2006 18:05:16 +0000 (18:05 +0000)]
Fix broken GObject macros

Original commit message from CVS:
* gst/gstindex.h:
* gst/gstxml.h:
* libs/gst/base/gstadapter.h:
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasetransform.h:
* libs/gst/base/gstcollectpads.h:
* libs/gst/base/gstpushsrc.h:
Fix broken GObject macros

18 years agolibs/gst/base/gstbasesink.c: Initialize start and stop times, thanks valgrind.
Wim Taymans [Fri, 7 Apr 2006 15:19:08 +0000 (15:19 +0000)]
libs/gst/base/gstbasesink.c: Initialize start and stop times, thanks valgrind.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Initialize start and stop times, thanks valgrind.

18 years agolibs/gst/base/gstbasesink.c: Be a bit nicer to badly behaving upstream elements that...
Wim Taymans [Fri, 7 Apr 2006 14:50:06 +0000 (14:50 +0000)]
libs/gst/base/gstbasesink.c: Be a bit nicer to badly behaving upstream elements that expect us to deal with non TIME ...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Be a bit nicer to badly behaving upstream elements that expect
us to deal with non TIME segments and timestamps (such as fakesrc
in the testsuite).

18 years agogst/gstbus.c: Small documentation clarification about the signal watch.
Wim Taymans [Fri, 7 Apr 2006 14:02:12 +0000 (14:02 +0000)]
gst/gstbus.c: Small documentation clarification about the signal watch.

Original commit message from CVS:
* gst/gstbus.c:
Small documentation clarification about the signal watch.
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
(gst_base_sink_wait_clock), (gst_base_sink_do_sync),
(gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
(gst_base_sink_do_render_stats), (gst_base_sink_render_object),
(gst_base_sink_get_position_last),
(gst_base_sink_get_position_paused), (gst_base_sink_change_state):
Convert and store timestamps in stream time and running time, the
raw timestamps are not usefull, also document this better.
Use different window sizes for good and bad QoS observations so
we react to badness a little quicker.
Keep track of the amount of rendered and dropped buffers.
Send QoS timestamps in running time.
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_eventfunc),
(gst_base_transform_handle_buffer):
Compare QoS timestamps against running time.

18 years agoadd gnonlin
Thomas Vander Stichele [Thu, 6 Apr 2006 17:36:27 +0000 (17:36 +0000)]
add gnonlin

Original commit message from CVS:
add gnonlin

18 years agogst/gstpad.c: Typo fixes in docs.
Tim-Philipp Müller [Thu, 6 Apr 2006 15:46:04 +0000 (15:46 +0000)]
gst/gstpad.c: Typo fixes in docs.

Original commit message from CVS:
* gst/gstpad.c:
Typo fixes in docs.

18 years agogst/gstpad.c: Use g_value_get_object() instead of g_value_dup_gst_object(), to avoid...
Michael Smith [Thu, 6 Apr 2006 15:07:12 +0000 (15:07 +0000)]
gst/gstpad.c: Use g_value_get_object() instead of g_value_dup_gst_object(), to avoid double-reffing the pad template ...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_property):
Use g_value_get_object() instead of g_value_dup_gst_object(),
to avoid double-reffing the pad template (which we then sink,
so this worked previously if (and only if) the pad template
was floating.

* gst/gstpadtemplate.c: (gst_pad_template_init),
(gst_pad_template_pad_created):
Never return floating references to pad templates, create
them as initially-sunken.

Document an extra function (and make this stop sinking our
pad template, since that is now guaranteed to do nothing,
since we created it sunken).

* gst/gstghostpad.c:
Fix docs typo.

18 years agogst/gstinfo.c: Add some newlines.
Tim-Philipp Müller [Thu, 6 Apr 2006 11:27:24 +0000 (11:27 +0000)]
gst/gstinfo.c: Add some newlines.

Original commit message from CVS:
* gst/gstinfo.c: (__gst_in_valgrind):
Add some newlines.
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain):
Don't leak buffer caps.

18 years agogst/parse/grammar.y: Fix a leak in parse-launch for any source-or-sink named element...
Michael Smith [Thu, 6 Apr 2006 10:38:54 +0000 (10:38 +0000)]
gst/parse/grammar.y: Fix a leak in parse-launch for any source-or-sink named element references used.

Original commit message from CVS:
* gst/parse/grammar.y:
Fix a leak in parse-launch for any source-or-sink named element
references used.

* tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
Unref the pipeline if it exists after we've failed parsing.

18 years agogst/gstpipeline.c: When we create a pipeline bus, initially create it in flushing...
Michael Smith [Wed, 5 Apr 2006 15:46:00 +0000 (15:46 +0000)]
gst/gstpipeline.c: When we create a pipeline bus, initially create it in flushing mode.

Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_init):
When we create a pipeline bus, initially create it in flushing mode.
Fixes leaks in at least one test, and makes a new pipeline work the
same as one that has gone to READY and then back to NULL.

* gst/gstelement.c:
Typo fix in docs.

18 years agotests/check/gst/gstghostpad.c: Unref a pad we reffed.
Michael Smith [Wed, 5 Apr 2006 15:12:39 +0000 (15:12 +0000)]
tests/check/gst/gstghostpad.c: Unref a pad we reffed.

Original commit message from CVS:
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Unref a pad we reffed.
* tests/check/gst/gstutils.c: (GST_START_TEST):
Unref bins

18 years agogst/gstquery.c: Fix leaking GValues in queries, as shown by valgrind/testsuite.
Michael Smith [Wed, 5 Apr 2006 13:18:29 +0000 (13:18 +0000)]
gst/gstquery.c: Fix leaking GValues in queries, as shown by valgrind/testsuite.

Original commit message from CVS:
* gst/gstquery.c: (gst_query_set_formats),
(gst_query_set_formatsv):
Fix leaking GValues in queries, as shown by valgrind/testsuite.

18 years agotests/check/generic/sinks.c: Fix a variety of memleaks in sinks check, which are...
Michael Smith [Wed, 5 Apr 2006 12:11:20 +0000 (12:11 +0000)]
tests/check/generic/sinks.c: Fix a variety of memleaks in sinks check, which are only sometimes shown by running the ...

Original commit message from CVS:
* tests/check/generic/sinks.c: (GST_START_TEST):
Fix a variety of memleaks in sinks check, which are only sometimes
shown by running the tests under valgrind (weird?).

18 years agodocs/version.entities.in: Fix the substituted entity name after thomas' changes on...
Jan Schmidt [Wed, 5 Apr 2006 11:04:19 +0000 (11:04 +0000)]
docs/version.entities.in: Fix the substituted entity name after thomas' changes on the weekend.

Original commit message from CVS:
* docs/version.entities.in:
Fix the substituted entity name after thomas' changes on the
weekend.

18 years agogst/gstinfo.c: Use printf instead of
Zaheer Abbas Merali [Wed, 5 Apr 2006 10:31:20 +0000 (10:31 +0000)]
gst/gstinfo.c: Use printf instead of

Original commit message from CVS:
2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
VALGRIND_PRINTF

18 years agogst/gstpad.c (gst_pad_set_blocked_async): More debug. libs/gst/base/gstbasetransform.c
Andy Wingo [Wed, 5 Apr 2006 10:26:29 +0000 (10:26 +0000)]
gst/gstpad.c (gst_pad_set_blocked_async): More debug. libs/gst/base/gstbasetransform.c

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

* gst/gstpad.c (gst_pad_set_blocked_async): More debug.

* libs/gst/base/gstbasetransform.c
(gst_base_transform_sink_eventfunc): When resetting our segment on
FLUSH_STOP, also update the flag saying we haven't seen a
newsegment.

18 years agogst/gstplugin.c: minor clean-ups: G_DEFINE_TYPE already takes care of the parent_clas...
Paolo Borelli [Tue, 4 Apr 2006 18:02:07 +0000 (18:02 +0000)]
gst/gstplugin.c: minor clean-ups: G_DEFINE_TYPE already takes care of the parent_class stuff, no need to do it twice....

Original commit message from CVS:
Patch by: Paolo Borelli  <pborelli at katamail dot com>
* gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
(gst_plugin_check_license):
minor clean-ups: G_DEFINE_TYPE already takes care of the
parent_class stuff, no need to do it twice. Mark array of
license strings as constant. (#337103)

18 years agotools/gst-inspect.c: Free the right plugin list; fixes a memory leak.
Michael Smith [Tue, 4 Apr 2006 17:54:30 +0000 (17:54 +0000)]
tools/gst-inspect.c: Free the right plugin list; fixes a memory leak.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_list):
Free the right plugin list; fixes a memory leak.

18 years agoplugins/elements/gstfilesink.c: Don't error out on empty buffers (#336945).
Mark Nauwelaerts [Tue, 4 Apr 2006 15:45:36 +0000 (15:45 +0000)]
plugins/elements/gstfilesink.c: Don't error out on empty buffers (#336945).

Original commit message from CVS:
Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
* plugins/elements/gstfilesink.c: (gst_file_sink_render):
Don't error out on empty buffers (#336945).

18 years agoDocumentation updates. Make BaseSink and BaseSrc docs contain the class structure...
Jan Schmidt [Tue, 4 Apr 2006 14:58:50 +0000 (14:58 +0000)]
Documentation updates. Make BaseSink and BaseSrc docs contain the class structure so that people can actually see the...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* gst/gsttaglist.c:
* libs/gst/base/gstbasesink.c:
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.c:
* libs/gst/base/gstbasesrc.h:
Documentation updates. Make BaseSink and BaseSrc docs contain the
class structure so that people can actually see the prototypes for
virtual functions they're supposed to be overriding.

18 years agoplugins/elements/gsttypefindelement.c: More debug info; when skipping typefinding...
Tim-Philipp Müller [Tue, 4 Apr 2006 08:55:44 +0000 (08:55 +0000)]
plugins/elements/gsttypefindelement.c: More debug info; when skipping typefinding, send cached events in all cases.

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain):
More debug info; when skipping typefinding, send cached
events in all cases.

18 years agoFix typo in docs.
Michael Smith [Mon, 3 Apr 2006 17:05:31 +0000 (17:05 +0000)]
Fix typo in docs.

Original commit message from CVS:
Fix typo in docs.

18 years agoupdate win32 common dir; update uninstalled script
Thomas Vander Stichele [Mon, 3 Apr 2006 08:59:52 +0000 (08:59 +0000)]
update win32 common dir; update uninstalled script

Original commit message from CVS:
update win32 common dir; update uninstalled script

18 years agodisable use of AS_LIBTOOL_TAGS, it doesn't work correctly
Thomas Vander Stichele [Sat, 1 Apr 2006 15:30:49 +0000 (15:30 +0000)]
disable use of AS_LIBTOOL_TAGS, it doesn't work correctly

Original commit message from CVS:
disable use of AS_LIBTOOL_TAGS, it doesn't work correctly

18 years agoconfigure.ac: use new AS_VERSION and AS_NANO macros
Thomas Vander Stichele [Sat, 1 Apr 2006 09:41:43 +0000 (09:41 +0000)]
configure.ac: use new AS_VERSION and AS_NANO macros

Original commit message from CVS:

* configure.ac:
use new AS_VERSION and AS_NANO macros
* gst/gst-i18n-lib.h:
* gst/gst.c:
* gst/gsterror.c:
* gst/gstversion.h.in:
* win32/common/config.h:
* win32/common/config.h.in:
update accordingly

18 years agoplugins/elements/gsttypefindelement.c: Do not typefind content if the buffers already...
Michael Smith [Fri, 31 Mar 2006 15:26:04 +0000 (15:26 +0000)]
plugins/elements/gsttypefindelement.c: Do not typefind content if the buffers already have caps. and the right thing ...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain):
Do not typefind content if the buffers already have caps.
Neccesary for icydemux (#333657), and the right thing to do anyway.

18 years agolibs/gst/base/gstbasesink.c: More QoS measurements as described in the design doc.
Wim Taymans [Thu, 30 Mar 2006 16:36:12 +0000 (16:36 +0000)]
libs/gst/base/gstbasesink.c: More QoS measurements as described in the design doc.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_init),
(gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
(gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
(gst_base_sink_record_qos_observation),
(gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
(gst_base_sink_is_too_late), (gst_base_sink_render_object),
(gst_base_sink_change_state):
More QoS measurements as described in the design doc.
Get rid of ringbuffer with observations, running average is
more simple and equally good.
Calculates valid proportion now.
Added beginning of flood measurement.

18 years agoSmall documentation updates and additions.
Wim Taymans [Wed, 29 Mar 2006 13:45:15 +0000 (13:45 +0000)]
Small documentation updates and additions.

Original commit message from CVS:
* docs/design/part-qos.txt:
* gst/gstclock.c:
Small documentation updates and additions.

18 years agolibs/gst/base/gstbasesrc.c: Perform the EOS logic when we reach the segment stop...
Wim Taymans [Wed, 29 Mar 2006 13:39:05 +0000 (13:39 +0000)]
libs/gst/base/gstbasesrc.c: Perform the EOS logic when we reach the segment stop position.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
(gst_base_src_send_event), (gst_base_src_loop),
(gst_base_src_change_state):
Perform the EOS logic when we reach the segment stop position.
Fix compilation on gcc4.1

18 years agoplugins/elements/gstqueue.*: In queue, when EOS is received, if minimum threshold...
Tommi Myöhänen [Wed, 29 Mar 2006 11:02:33 +0000 (11:02 +0000)]
plugins/elements/gstqueue.*: In queue, when EOS is received, if minimum threshold > max_size - current_level, there i...

Original commit message from CVS:
Patch by Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* plugins/elements/gstqueue.c: (gst_queue_init),
(gst_queue_locked_flush), (gst_queue_handle_sink_event),
(gst_queue_set_property):
* plugins/elements/gstqueue.h:
In queue, when EOS is received, if minimum threshold > max_size -
current_level, there is chance that queue blocks forever in conditional item
del wait. This is because the queue is not emptied completely due to minimum
threshold.
Here is another approach. Instead of setting cur_levels to max in EOS, just
zero all minimum threshold levels. This should make sure that queue gives out
all data. When going to READY (stop) state, just reset the original minimum
threshold levels.
Fixes #336336.

18 years agoplugins/elements/gsttypefindelement.*: When typefinding is done in push mode, we...
Tim-Philipp Müller [Wed, 29 Mar 2006 10:33:19 +0000 (10:33 +0000)]
plugins/elements/gsttypefindelement.*: When typefinding is done in push mode, we should cache events we receive durin...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c: (stop_typefinding),
(gst_type_find_element_handle_event),
(gst_type_find_element_send_cached_events),
(gst_type_find_element_change_state):
* plugins/elements/gsttypefindelement.h:
When typefinding is done in push mode, we should cache
events we receive during typefinding instead of just
dropping them (e.g. newsegment, custom events from
dvdreadsrc etc.) and then send them out once we've
determined the type of the stream (and decodebin
has had a chance to plug in a decoder/demuxer).

18 years agodocs/design/part-qos.txt: First QoS ideas.
Wim Taymans [Mon, 27 Mar 2006 18:38:49 +0000 (18:38 +0000)]
docs/design/part-qos.txt: First QoS ideas.

Original commit message from CVS:
* docs/design/part-qos.txt:
First QoS ideas.

18 years agolibs/gst/base/gstbasesrc.c: Handle element seek correctly when we are streaming.
Wim Taymans [Mon, 27 Mar 2006 11:48:10 +0000 (11:48 +0000)]
libs/gst/base/gstbasesrc.c: Handle element seek correctly when we are streaming.

Original commit message from CVS:
Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
* libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
(gst_base_src_send_event), (gst_base_src_change_state):
Handle element seek correctly when we are streaming.
Fixes #326998.

18 years agodocs/faq/gst-uninstalled: Set up LD_LIBRARY_PATH to point at all the gstreamer libs...
Michael Smith [Fri, 24 Mar 2006 18:38:12 +0000 (18:38 +0000)]
docs/faq/gst-uninstalled: Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will allow you to correctly...

Original commit message from CVS:
* docs/faq/gst-uninstalled:
Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
allow you to correctly run intalled applications built against old           core, using plugins that require updated core (e.g. running
installed totem against a full uninstalled gstreamer stack)

18 years agoadd API: marker in ChangeLog
Thomas Vander Stichele [Fri, 24 Mar 2006 17:29:25 +0000 (17:29 +0000)]
add API: marker in ChangeLog

Original commit message from CVS:
add API: marker in ChangeLog

18 years agolibs/gst/base/gstcollectpads.c: more debug details
Stefan Kost [Fri, 24 Mar 2006 17:10:46 +0000 (17:10 +0000)]
libs/gst/base/gstcollectpads.c: more debug details

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
more debug details

18 years agodocs/gst/gstreamer-sections.txt: Rearrange the order of the methods so that related...
Wim Taymans [Fri, 24 Mar 2006 11:02:42 +0000 (11:02 +0000)]
docs/gst/gstreamer-sections.txt: Rearrange the order of the methods so that related methods are grouped together in s...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Rearrange the order of the methods so that related methods
are grouped together in sections.

18 years agogst/gstelement.c: Little clarification in the docs
Stefan Kost [Fri, 24 Mar 2006 10:44:17 +0000 (10:44 +0000)]
gst/gstelement.c: Little clarification in the docs

Original commit message from CVS:
* gst/gstelement.c:
Little clarification in the docs

18 years agodocs/README: formatting fix
Stefan Kost [Fri, 24 Mar 2006 10:38:20 +0000 (10:38 +0000)]
docs/README: formatting fix

Original commit message from CVS:
* docs/README:
formatting fix
* plugins/elements/gstidentity.c:
* plugins/elements/gstqueue.c:
* plugins/elements/gsttee.c:
* plugins/elements/gsttypefindelement.c:
GST_ELEMENT_DETAILS formatting

18 years agolibs/gst/base/gstbasesink.h: Only add fields, not insert or we break ABI.
Wim Taymans [Fri, 24 Mar 2006 09:48:33 +0000 (09:48 +0000)]
libs/gst/base/gstbasesink.h: Only add fields, not insert or we break ABI.

Original commit message from CVS:
* libs/gst/base/gstbasesink.h:
Only add fields, not insert or we break ABI.

18 years agowin32/common/: Update, add recently added functions.
Tim-Philipp Müller [Thu, 23 Mar 2006 18:51:05 +0000 (18:51 +0000)]
win32/common/: Update, add recently added functions.

Original commit message from CVS:
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
Update, add recently added functions.

18 years agoAPI: add some new utility functions:
Tim-Philipp Müller [Thu, 23 Mar 2006 18:45:02 +0000 (18:45 +0000)]
API: add some new utility functions:

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstutils.c: (gst_pad_query_peer_position),
(gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
* gst/gstutils.h:
API: add some new utility functions:
- gst_pad_query_peer_position
- gst_pad_query_peer_duration
- gst_pad_query_peer_convert

18 years agoForgot to mention the previous commit fixed #326311
Wim Taymans [Thu, 23 Mar 2006 16:32:41 +0000 (16:32 +0000)]
Forgot to mention the previous commit fixed #326311

Original commit message from CVS:
Forgot to mention the previous commit fixed #326311

18 years agolibs/gst/base/gstbasesink.c: Decouple max-lateness and the fact that QoS messages...
Wim Taymans [Thu, 23 Mar 2006 16:20:40 +0000 (16:20 +0000)]
libs/gst/base/gstbasesink.c: Decouple max-lateness and the fact that QoS messages are generated with a new property (...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_init), (gst_base_sink_finalize),
(gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
(gst_base_sink_set_property), (gst_base_sink_get_property),
(gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
(gst_base_sink_wait_clock), (gst_base_sink_do_sync),
(gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
(gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
(gst_base_sink_is_too_late), (gst_base_sink_render_object),
(gst_base_sink_preroll_object), (gst_base_sink_event),
(gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
(gst_base_sink_get_position_paused), (gst_base_sink_get_position),
(gst_base_sink_query), (gst_base_sink_change_state):
Decouple max-lateness and the fact that QoS messages are generated
with a new property (qos).
Add vmethod so subclasses can be notified of ASYNC playing
state changes.
Collect timestamp start and stop to report better current
position in EOS/PLAYING/PAUSED/READY/NULL.
Refactor QoS/frame dropping and other measurements.
API: GstBaseSrc::qos
* libs/gst/base/gstbasesink.h:
Added Private struct.
API: gst_base_sink_set_qos_enabled
API: gst_base_sink_is_qos_enabled

18 years agogst/gstregistryxml.c: If compiling against GLib-2.8 or newer, try to read the registr...
Tim-Philipp Müller [Thu, 23 Mar 2006 11:54:51 +0000 (11:54 +0000)]
gst/gstregistryxml.c: If compiling against GLib-2.8 or newer, try to read the registry file using GMappedFile first b...

Original commit message from CVS:
* gst/gstregistryxml.c: (gst_registry_xml_read_cache):
If compiling against GLib-2.8 or newer, try to read the
registry file using GMappedFile first before falling back
to fopen() + fread() (#332151).

18 years agogst/gstinfo.c: Disable debugging unless explicitly activated.
Wim Taymans [Wed, 22 Mar 2006 18:25:04 +0000 (18:25 +0000)]
gst/gstinfo.c: Disable debugging unless explicitly activated.

Original commit message from CVS:
* gst/gstinfo.c: (gst_debug_set_active),
(gst_debug_category_set_threshold):
Disable debugging unless explicitly activated.
Fixes #335480.

18 years agogst/gstelement.c: Cleanup the error case.
Wim Taymans [Wed, 22 Mar 2006 13:10:16 +0000 (13:10 +0000)]
gst/gstelement.c: Cleanup the error case.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_set_locked_state),
(gst_element_dispose):
Cleanup the error case.
* gst/gstobject.c: (gst_object_dispose):
print a critical when some object was disposed with
a parent, also revive the object since it might
crash the parent.

18 years agotools/gst-launch.1.in: Fix another typo.
Tim-Philipp Müller [Wed, 22 Mar 2006 09:03:10 +0000 (09:03 +0000)]
tools/gst-launch.1.in: Fix another typo.

Original commit message from CVS:
* tools/gst-launch.1.in:
Fix another typo.

18 years agodisable some tests when we don't have a registry
Thomas Vander Stichele [Tue, 21 Mar 2006 19:27:15 +0000 (19:27 +0000)]
disable some tests when we don't have a registry

Original commit message from CVS:

* configure.ac:
* tests/check/Makefile.am:
disable some tests when we don't have a registry
* tests/check/gst/gstutils.c: (gst_utils_suite):
don't build the part that needs parsing

18 years agogst/Makefile.am
Thomas Vander Stichele [Tue, 21 Mar 2006 17:25:22 +0000 (17:25 +0000)]
gst/Makefile.am

Original commit message from CVS:

* gst/Makefile.am
* tests/examples/Makefile.am:
fix --disable-parse build

18 years agothe .in file is in cvs
Thomas Vander Stichele [Tue, 21 Mar 2006 17:24:30 +0000 (17:24 +0000)]
the .in file is in cvs

Original commit message from CVS:
the .in file is in cvs

18 years agotools/gst-feedback.1.in: Fix typo: s/feeback/feedback/ (#133494).
Tim-Philipp Müller [Tue, 21 Mar 2006 15:42:02 +0000 (15:42 +0000)]
tools/gst-feedback.1.in: Fix typo: s/feeback/feedback/ (#133494).

Original commit message from CVS:
* tools/gst-feedback.1.in:
Fix typo: s/feeback/feedback/ (#133494).

18 years agotools/: Add FILES section and correct entry about GST_REGISTRY_PATH environment varia...
Tim-Philipp Müller [Tue, 21 Mar 2006 15:04:20 +0000 (15:04 +0000)]
tools/: Add FILES section and correct entry about GST_REGISTRY_PATH environment variable (#133495; #133494).

Original commit message from CVS:
* tools/Makefile.am:
* tools/gst-launch.1.in:
Add FILES section and correct entry about GST_REGISTRY_PATH
environment variable (#133495; #133494).

18 years agotools/: Remove gst-md5sum and man page (the md5sink element required was removed...
Tim-Philipp Müller [Tue, 21 Mar 2006 14:41:58 +0000 (14:41 +0000)]
tools/: Remove gst-md5sum and man page (the md5sink element required was removed ages ago)

Original commit message from CVS:
* tools/Makefile.am:
* tools/gst-md5sum.1.in:
* tools/gst-md5sum.c:
Remove gst-md5sum and man page (the md5sink element
required was removed ages ago)

18 years agogst/gststructure.c: Make sure that string fields in structures/taglists contain valid...
Tim-Philipp Müller [Tue, 21 Mar 2006 14:24:41 +0000 (14:24 +0000)]
gst/gststructure.c: Make sure that string fields in structures/taglists contain valid UTF-8 - we don't want to pass r...

Original commit message from CVS:
* gst/gststructure.c: (gst_structure_id_set_value):
Make sure that string fields in structures/taglists
contain valid UTF-8 - we don't want to pass rubbish to
applications because of a buggy plugin (cp. #334167).

18 years agoSeries of fixes for dereferenced pointers that gcc 4.1 complains about.
Edward Hervey [Tue, 21 Mar 2006 14:14:49 +0000 (14:14 +0000)]
Series of fixes for dereferenced pointers that gcc 4.1 complains about.

Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
(gst_bin_handle_message_func):
* gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
* gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
(gst_element_set_bus_func):
* gst/gstghostpad.c: (gst_proxy_pad_dispose):
* gst/gstminiobject.c: (gst_value_set_mini_object),
(gst_value_take_mini_object):
* gst/gstpad.c: (gst_pad_set_pad_template):
* gst/gstpipeline.c: (gst_pipeline_dispose),
(gst_pipeline_use_clock), (gst_pipeline_auto_clock):
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
(gst_collect_pads_chain):
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_set_property):
Series of fixes for dereferenced pointers that gcc 4.1 complains about.
It's in fact all issues with gst_*object_replace().

18 years agopkgconfig/: Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
Loïc Minier [Tue, 21 Mar 2006 13:55:44 +0000 (13:55 +0000)]
pkgconfig/: Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).

Original commit message from CVS:
Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
* pkgconfig/gstreamer-check-uninstalled.pc.in:
* pkgconfig/gstreamer-check.pc.in:
Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).

18 years agogst/: gst_[buffer|event|message]_ref() macros are replaced by a static inline functio...
Edward Hervey [Tue, 21 Mar 2006 13:50:52 +0000 (13:50 +0000)]
gst/: gst_[buffer|event|message]_ref() macros are replaced by a static inline functions because gcc-4.1 will about if...

Original commit message from CVS:
* gst/gstbuffer.h:
* gst/gstevent.h:
* gst/gstmessage.h:
gst_[buffer|event|message]_ref() macros are replaced by a static
inline functions because gcc-4.1 will about if the return value
isn't used.
* tests/check/gst/gstevent.c: (event_probe):
gst_event_ref now has to be given a GstEvent* , fix check accordingly.

18 years agoRemove irritating file that keeps breaking my checkouts
Jan Schmidt [Mon, 20 Mar 2006 16:47:35 +0000 (16:47 +0000)]
Remove irritating file that keeps breaking my checkouts

Original commit message from CVS:
Remove irritating file that keeps breaking my checkouts

18 years agogst/gstutils.h: Add G_UNLIKELY to our boilerplate to optimise the 'already registered...
Jan Schmidt [Mon, 20 Mar 2006 16:45:15 +0000 (16:45 +0000)]
gst/gstutils.h: Add G_UNLIKELY to our boilerplate to optimise the 'already registered the type' case. (Closes: #33519...

Original commit message from CVS:
* gst/gstutils.h:
Add G_UNLIKELY to our boilerplate to optimise the 'already registered
the type' case. (Closes: #335195 for now). In the future, when we
depend on GLib 2.10, we could also intern the type name using
g_intern_static_string()

18 years agogst/gstbin.c: Position query should also take max of all streams.
Wim Taymans [Mon, 20 Mar 2006 10:56:08 +0000 (10:56 +0000)]
gst/gstbin.c: Position query should also take max of all streams.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_handle_message_func),
(bin_query_max_init), (bin_query_position_fold),
(bin_query_position_done), (gst_bin_query):
Position query should also take max of all streams.

18 years agoplugins/elements/gstfakesrc.c: Fix leaks in fakesrc.
Wim Taymans [Mon, 20 Mar 2006 09:28:41 +0000 (09:28 +0000)]
plugins/elements/gstfakesrc.c: Fix leaks in fakesrc.

Original commit message from CVS:
* plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
(gst_fake_src_finalize):
Fix leaks in fakesrc.
* tests/check/pipelines/parse-launch.c: (GST_START_TEST):
Fix leaks in the testcase.