platform/upstream/gstreamer.git
18 years agodocs/manual/basics-helloworld.xml: Add a cast in example to fix compile warning
Stefan Kost [Wed, 18 Oct 2006 19:43:46 +0000 (19:43 +0000)]
docs/manual/basics-helloworld.xml: Add a cast in example to fix compile warning

Original commit message from CVS:
* docs/manual/basics-helloworld.xml:
Add a cast in example to fix compile warning

18 years agogst/gstsegment.c: Relax arg checking again, -1 is allowed.
Wim Taymans [Wed, 18 Oct 2006 15:28:19 +0000 (15:28 +0000)]
gst/gstsegment.c: Relax arg checking again, -1 is allowed.

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_last_stop),
(gst_segment_set_seek), (gst_segment_set_newsegment_full):
Relax arg checking again, -1 is allowed.

18 years agogst/gstsegment.c: _set_last_stop() must be with a value != -1
Wim Taymans [Wed, 18 Oct 2006 13:27:39 +0000 (13:27 +0000)]
gst/gstsegment.c: _set_last_stop() must be with a value != -1

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_last_stop),
(gst_segment_set_seek), (gst_segment_set_newsegment_full):
_set_last_stop() must be with a value != -1
A _TYPE_SET to -1 means seek to 0.
Calc last_stop correctly for negative rates.
Make sure we work with positive durations when updating a segment.

18 years agoSmall docs fixes.
Wim Taymans [Wed, 18 Oct 2006 13:21:56 +0000 (13:21 +0000)]
Small docs fixes.

Original commit message from CVS:
* docs/design/part-live-source.txt:
* gst/gstclock.h:
Small docs fixes.

18 years agogst/gstbuffer.h: Add an explicit cast to GstBuffer** to keep old code that added...
Tim-Philipp Müller [Wed, 18 Oct 2006 10:08:45 +0000 (10:08 +0000)]
gst/gstbuffer.h: Add an explicit cast to GstBuffer** to keep old code that added an explicit cast to GstMiniObject** ...

Original commit message from CVS:
* gst/gstbuffer.h:
Add an explicit cast to GstBuffer** to keep old code that added an
explicit cast to GstMiniObject** for gst_mini_object_replace()
compiling without warning.

18 years agogst/gstvalue.c: check for validity of dates
Stefan Kost [Wed, 18 Oct 2006 08:54:30 +0000 (08:54 +0000)]
gst/gstvalue.c: check for validity of dates

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
check for validity of dates

18 years agodocs/gst/gstreamer-sections.txt: Forgot this one, makes gtk-doc shut up.
Tim-Philipp Müller [Tue, 17 Oct 2006 12:09:35 +0000 (12:09 +0000)]
docs/gst/gstreamer-sections.txt: Forgot this one, makes gtk-doc shut up.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Forgot this one, makes gtk-doc shut up.

18 years agogst/gstobject.h: Don't define xmlNodePtr to gpointer if the core was built with
Peter Kjellerstedt [Tue, 17 Oct 2006 11:57:32 +0000 (11:57 +0000)]
gst/gstobject.h: Don't define xmlNodePtr to gpointer if the core was built with

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* gst/gstobject.h:
Don't define xmlNodePtr to gpointer if the core was built with
--disable-loadsave and --disable-registry, this will break
applications that want to use libxml2 but are buildling against a
core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
instead so we don't have to mess with the libxml2 namespace
(#361675).

18 years agogst/gstbuffer.h: Fix gst_buffer_replace() macro to avoid gst_mini_object_replace...
Tim-Philipp Müller [Tue, 17 Oct 2006 10:30:27 +0000 (10:30 +0000)]
gst/gstbuffer.h: Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related type-punned pointer warnings.

Original commit message from CVS:
* gst/gstbuffer.h:
Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
type-punned pointer warnings.

18 years agogst/gstelement.h: Add casts to the correct return type to state <=> state transition...
Tim-Philipp Müller [Mon, 16 Oct 2006 20:02:38 +0000 (20:02 +0000)]
gst/gstelement.h: Add casts to the correct return type to state <=> state transition macros.

Original commit message from CVS:
* gst/gstelement.h:
Add casts to the correct return type to state <=> state transition
macros.

18 years agodocs/design/part-live-source.txt: describe howto handle latency
Stefan Kost [Mon, 16 Oct 2006 13:53:55 +0000 (13:53 +0000)]
docs/design/part-live-source.txt: describe howto handle latency

Original commit message from CVS:
* docs/design/part-live-source.txt:
describe howto handle latency
* docs/random/ensonic/profiling.txt:
more ideas
* tools/gst-plot-timeline.py:
fix log parsing for solaris, remove unused function

18 years agoUpdate some docs regarding reverse playback.
Wim Taymans [Mon, 16 Oct 2006 11:46:04 +0000 (11:46 +0000)]
Update some docs regarding reverse playback.

Original commit message from CVS:
* docs/design/part-trickmodes.txt:
* gst/gstevent.c:
Update some docs regarding reverse playback.

18 years agowin32/vs8/grammar.vcproj: Error out with a warning if glib-genmarshal.exe is not...
Marcus Granado [Sun, 15 Oct 2006 12:47:13 +0000 (12:47 +0000)]
win32/vs8/grammar.vcproj: Error out with a warning if glib-genmarshal.exe is not in path, instead of creating bogus g...

Original commit message from CVS:
Patch by: Marcus Granado  <mrc dot gran at gmail com>
* win32/vs8/grammar.vcproj:
Error out with a warning if glib-genmarshal.exe is not in path,
instead of creating bogus gstmarshal.[ch] files. Fixes #361720.

18 years agogst/gstsegment.c: When seeking to stop -1, set last_stop (current position) to the...
Wim Taymans [Fri, 13 Oct 2006 16:09:53 +0000 (16:09 +0000)]
gst/gstsegment.c: When seeking to stop -1, set last_stop (current position) to the duration of the segment.

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_seek):
When seeking to stop -1, set last_stop (current position) to the
duration of the segment.

18 years agogst/gstelement.h: Clarify _NO_PREROLL a bit more.
Yves Lefebvre [Fri, 13 Oct 2006 13:27:46 +0000 (13:27 +0000)]
gst/gstelement.h: Clarify _NO_PREROLL a bit more.

Original commit message from CVS:
* gst/gstelement.h:
Clarify _NO_PREROLL a bit more.
* gst/gstevent.c:
Fix docs.
* gst/gstpad.c: (gst_pad_link_check_hierarchy),
(gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
(handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
due to wrong locking order. Fixes #361769.
Remove some redundant/misplaced checks in pad_block.
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
For negative rates, count backwards from the duration.

18 years agogst/gsterror.c: Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come...
Tim-Philipp Müller [Fri, 13 Oct 2006 09:37:59 +0000 (09:37 +0000)]
gst/gsterror.c: Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come up with something better).

Original commit message from CVS:
* gst/gsterror.c: (_gst_library_errors_init):
Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
up with something better).

18 years agowin32/: Don't reference glib-compat.c which is currently not used and not disted...
Tim-Philipp Müller [Thu, 12 Oct 2006 22:35:52 +0000 (22:35 +0000)]
win32/: Don't reference glib-compat.c which is currently not used and not disted; add gstquark.c which was recently a...

Original commit message from CVS:
* win32/vs6/libgstreamer.dsp:
* win32/vs7/libgstreamer.vcproj:
* win32/vs8/libgstreamer.vcproj:
Don't reference glib-compat.c which is currently not used and not
disted; add gstquark.c which was recently added. Fixes #361730.

18 years agowin32/common/: Add gst_caps_merge() and a bunch of other recently-added functions.
Tim-Philipp Müller [Thu, 12 Oct 2006 16:09:24 +0000 (16:09 +0000)]
win32/common/: Add gst_caps_merge() and a bunch of other recently-added functions.

Original commit message from CVS:
* win32/common/libgstbase.def:
* win32/common/libgstcontroller.def:
* win32/common/libgstreamer.def:
Add gst_caps_merge() and a bunch of other recently-added functions.
Fixes #361732.

18 years agodocs/plugins/: Update element args.
Wim Taymans [Wed, 11 Oct 2006 16:30:14 +0000 (16:30 +0000)]
docs/plugins/: Update element args.

Original commit message from CVS:
* docs/plugins/gstreamer-plugins.args:
* docs/plugins/inspect/plugin-coreelements.xml:
* docs/plugins/inspect/plugin-coreindexers.xml:
Update element args.
* gst/gstsystemclock.c:
Small comment update.
* plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
(gst_tee_request_new_pad), (gst_tee_release_pad),
(gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
(gst_tee_sink_activate_pull):
* plugins/elements/gsttee.h:
Some tee loving:
Add default property defines.
Implement release pad function.
Give properties better blubs etc.
Activate pads before adding them to a running tee.
Do simple buffer_alloc on the first requested pad.
Post error when activation fails.

18 years agogst/gst.c: Check return value of write() to make compiler happy.
Tim-Philipp Müller [Wed, 11 Oct 2006 12:16:05 +0000 (12:16 +0000)]
gst/gst.c: Check return value of write() to make compiler happy.

Original commit message from CVS:
* gst/gst.c: (ensure_current_registry_forking):
Check return value of write() to make compiler happy.

18 years agoplugins/elements/gstqueue.c: Recheck queue filledness after signalling the overrun...
Sjoerd Simons [Wed, 11 Oct 2006 10:10:37 +0000 (10:10 +0000)]
plugins/elements/gstqueue.c: Recheck queue filledness after signalling the overrun when we're about to leak downstrea...

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* plugins/elements/gstqueue.c: (gst_queue_chain):
Recheck queue filledness after signalling the overrun when we're about
to leak downstream because we released the lock when emitting the signal
and the queue could be empty again. Fixes #352345.

18 years agolibs/gst/controller/gstcontroller.c: Fix refcounting here too, just like we did for...
Tim-Philipp Müller [Wed, 11 Oct 2006 09:13:26 +0000 (09:13 +0000)]
libs/gst/controller/gstcontroller.c: Fix refcounting here too, just like we did for _new_valist() a few days ago (#35...

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
Fix refcounting here too, just like we did for _new_valist() a few
days ago (#357180) (thanks to René Stadler). Also remove all those
'Since: 0.9' from the gtk-doc blobs.
* tests/check/libs/controller.c: (controller_refcount_new_list),
(gst_controller_suite):
Unit test for the above.

18 years agogst/gstpad.c: Update some docs.
Sebastien Cote [Tue, 10 Oct 2006 14:47:40 +0000 (14:47 +0000)]
gst/gstpad.c: Update some docs.

Original commit message from CVS:
Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
* gst/gstpad.c: (gst_pad_get_caps_unlocked),
(gst_pad_save_thyself):
Update some docs.
Write pad direction in XML output. Fixes #345496.

18 years agolibs/gst/controller/gstcontroller.c: Take ref to controlled object so that it cannot...
René Stadler [Tue, 10 Oct 2006 14:13:08 +0000 (14:13 +0000)]
libs/gst/controller/gstcontroller.c: Take ref to controlled object so that it cannot disappear.

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
(gst_controller_new_list), (_gst_controller_dispose),
(_gst_controller_finalize), (_gst_controller_class_init):
Take ref to controlled object so that it cannot disappear.
Fixes #357432.

18 years agolibs/gst/check/gstcheck.c: Activate/deactivate pads in setup/teardown respectively.
Wim Taymans [Tue, 10 Oct 2006 14:09:43 +0000 (14:09 +0000)]
libs/gst/check/gstcheck.c: Activate/deactivate pads in setup/teardown respectively.

Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
(gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
(gst_check_teardown_sink_pad):
Activate/deactivate pads in setup/teardown respectively.

18 years agogst/Makefile.am: Cast values when making gstenumtypes.h. This pacifies Forte so...
Josep Torre Valles [Tue, 10 Oct 2006 12:12:44 +0000 (12:12 +0000)]
gst/Makefile.am: Cast values when making gstenumtypes.h.  This pacifies Forte so it doesn't warn about the ~0 as GST_...

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

Patch by: Josep Torre Valles <josep@fluendo.com>

* gst/Makefile.am:
Cast values when making gstenumtypes.h.  This pacifies Forte
so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
in the enumeration.

18 years agogst/gstevent.c: Rename some more @cur to @start to fix docs.
Wim Taymans [Mon, 9 Oct 2006 17:15:39 +0000 (17:15 +0000)]
gst/gstevent.c: Rename some more @cur to @start to fix docs.

Original commit message from CVS:
* gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
Rename some more @cur to @start to fix docs.
* gst/gstsegment.c: (gst_segment_set_seek):
Fix typo.
time and start must always stay in sync as defined in design doc.
* gst/gsttaglist.c: (gst_tag_list_is_empty):
Rename param to fix docs.
* tests/check/gst/gstsegment.c: (GST_START_TEST):
Check that start and time are in sync.
* tests/check/pipelines/parse-launch.c:
(gst_parse_test_element_change_state):
Activate pad before adding to the element.

18 years agodocs/design/part-qos.txt: Fix typo.
Wim Taymans [Mon, 9 Oct 2006 16:33:29 +0000 (16:33 +0000)]
docs/design/part-qos.txt: Fix typo.

Original commit message from CVS:
* docs/design/part-qos.txt:
Fix typo.
* gst/gstevent.c:
* gst/gstevent.h:
Update seek event docs regarding negative rates.
Rename @cur to @start.
* gst/gstsegment.c: (gst_segment_set_seek):
* gst/gstsegment.h:
Update set_seek docs regarding negative rates.
Correctly update last_stop to @stop when dealing with negative
rates.
Rename @cur to @start.
* tests/check/gst/gstpad.c: (GST_START_TEST):
Activate pads before trying to use them.
* tests/check/gst/gstsegment.c: (GST_START_TEST),
(gst_segment_suite):
Add simple check for segments and negative rates.

18 years agoAPI: add gst_tag_list_is_empty() (#360467).
Tim-Philipp Müller [Mon, 9 Oct 2006 11:20:44 +0000 (11:20 +0000)]
API: add gst_tag_list_is_empty() (#360467).

Original commit message from CVS:
* gst/gsttaglist.c: (gst_tag_list_is_empty):
* gst/gsttaglist.h:
* docs/gst/gstreamer-sections.txt:
API: add gst_tag_list_is_empty() (#360467).
* tests/check/gst/gsttag.c: (GST_START_TEST):
And a test case.

18 years agogst/gstmessage.h: Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having a value...
Zaheer Abbas Merali [Mon, 9 Oct 2006 11:06:50 +0000 (11:06 +0000)]
gst/gstmessage.h: Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having a value that doesn't fit on enumeration.

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

* gst/gstmessage.h:
Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
a value that doesn't fit on enumeration.

18 years agolibs/gst/net/gstnetclientclock.c: Remove local debugging system and use Gstreamer...
Zaheer Abbas Merali [Mon, 9 Oct 2006 10:14:28 +0000 (10:14 +0000)]
libs/gst/net/gstnetclientclock.c: Remove local debugging system and use Gstreamer's instead.

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

* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
Remove local debugging system and use Gstreamer's instead.

18 years agocommon/m4/gst-error.m4: Disable warning of statement not reached on Forte.
Josep Torre Valles [Mon, 9 Oct 2006 09:32:29 +0000 (09:32 +0000)]
common/m4/gst-error.m4: Disable warning of statement not reached on Forte.

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

Patch by: Josep Torre Valles <josep@fluendo.com>

* common/m4/gst-error.m4:
Disable warning of statement not reached on Forte.
* gst/gstmessage.h:
Fix warning on Forte (value doesn't fit on enumeration).
* libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
Fix warning on Forte (value doesn't fit on enumeration).
* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
DEBUG macro says it takes minimum of 2 args and so Forte
complains about the use with just 1 arg.
* plugins/elements/gstfdsink.c:
* plugins/elements/gstfdsrc.c:
* plugins/elements/gstfilesink.c:
* plugins/elements/gstfilesrc.c:
Use correct return type for the uri handler implementations.

All these fix warnings in Forte.  Fixes bug #360860.

18 years agogst/gstelement.h: gcc versions prior to gcc 3.3 apparently complain about a NULL...
Tim-Philipp Müller [Sun, 8 Oct 2006 13:27:17 +0000 (13:27 +0000)]
gst/gstelement.h: gcc versions prior to gcc 3.3 apparently complain about a NULL printf format string, so don't use G...

Original commit message from CVS:
* gst/gstelement.h:
gcc versions prior to gcc 3.3 apparently complain about a NULL printf
format string, so don't use G_GNUC_PRINTF for those versions.

18 years agogst/gsttaglist.*: Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
Tim-Philipp Müller [Sat, 7 Oct 2006 18:41:19 +0000 (18:41 +0000)]
gst/gsttaglist.*: Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().

Original commit message from CVS:
* gst/gsttaglist.c: (gst_is_tag_list):
* gst/gsttaglist.h:
Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
* tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
Small test for the above.

18 years agogst/gsttaglist.h: Less tabs, more spaces.
Tim-Philipp Müller [Sat, 7 Oct 2006 18:11:03 +0000 (18:11 +0000)]
gst/gsttaglist.h: Less tabs, more spaces.

Original commit message from CVS:
* gst/gsttaglist.h:
Less tabs, more spaces.

18 years agogst/gstinfo.h: Those two function declarations do actually belong there, revert commi...
Tim-Philipp Müller [Fri, 6 Oct 2006 17:21:33 +0000 (17:21 +0000)]
gst/gstinfo.h: Those two function declarations do actually belong there, revert commit from yesterday that turned the...

Original commit message from CVS:
* gst/gstinfo.h:
Those two function declarations do actually belong there, revert
commit from yesterday that turned them intro macros.

18 years agogst/gst.c: Fix empty declaration and type mismatch.
Josep Torre Valles [Fri, 6 Oct 2006 14:46:04 +0000 (14:46 +0000)]
gst/gst.c: Fix empty declaration and type mismatch.

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

Patch by: Josep Torre Valles <josep@fluendo.com>

* gst/gst.c: (gst_init_get_option_group):
Fix empty declaration and type mismatch.
* gst/gstbin.c: (gst_bin_change_state_func):
Fix type mismatch.
* gst/gstelement.c: (gst_element_continue_state),
(gst_element_set_state_func), (gst_element_change_state),
(gst_element_change_state_func):
Fix type mismatches.
* gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
(gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
Cast as appropriate.
* gst/gstobject.c: (gst_class_signal_connect):
Cast as appropriate.  The function pointer parameter really
has the wrong type but would break API if we change it.
* gst/gstquery.c:
Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
order of including string.h.
* gst/gstutils.c: (gst_element_state_get_name):
Remove unreachable line.
* gst/gstxml.c: (gst_xml_parse_doc):
Fix type mismatch.
All these caught by Forte.

18 years agocommon/m4/gst-error.m4: Fixed bug #360151.
Josep Torre Valles [Fri, 6 Oct 2006 14:00:49 +0000 (14:00 +0000)]
common/m4/gst-error.m4: Fixed bug #360151.

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

Patch by: Josep Torre Valles <josep@fluendo.com>

* common/m4/gst-error.m4:
Fixed bug #360151.
We need to disable warnings on Forte for empty declarations
due to gst-indent adding ;s to lines that just use macros
where the macro actually doesn't need a ; at end to end
statement.

18 years agoplugins/elements/gstfilesink.c: Add some FIXME for the NEWSEGMENT handling.
Wim Taymans [Fri, 6 Oct 2006 13:01:30 +0000 (13:01 +0000)]
plugins/elements/gstfilesink.c: Add some FIXME for the NEWSEGMENT handling.

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
(gst_file_sink_close_file), (gst_file_sink_event),
(gst_file_sink_render):
Add some FIXME for the NEWSEGMENT handling.

18 years agogst/parse/grammar.y: Remove static function gst_parse_element_lock as all it does...
Zaheer Abbas Merali [Thu, 5 Oct 2006 15:47:44 +0000 (15:47 +0000)]
gst/parse/grammar.y: Remove static function gst_parse_element_lock as all it does is return.  Looks like cruft from 0.8.

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

* gst/parse/grammar.y:
Remove static function gst_parse_element_lock as all it does
is return.  Looks like cruft from 0.8.

18 years agoFix a compilation issue with Forte on Solaris. inet_aton is in libresolv.
Josep Torre Valles [Thu, 5 Oct 2006 15:31:16 +0000 (15:31 +0000)]
Fix a compilation issue with Forte on Solaris.  inet_aton is in libresolv.

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

Patch by: Josep Torre Valles <josep@fluendo.com>

* common/m4/gst-error.m4:
* configure.ac:
* libs/gst/net/Makefile.am:
Fix a compilation issue with Forte on Solaris.  inet_aton is in
libresolv.

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

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

18 years agoAdd GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know whether we can use...
Tim-Philipp Müller [Thu, 5 Oct 2006 12:31:07 +0000 (12:31 +0000)]
Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know whether we can use G_GNUC_PRINTF in other header files ...

Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* gst/gstconfig.h.in:
* gst/gstelement.h:
* gst/gstinfo.h:
Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
whether we can use G_GNUC_PRINTF in other header files and at
least check the printf format/arguments of debug messages and
GST_ELEMENT_ERROR messages when the printf extension is not
being used.
Replace more tabs with spaces in gstinfo.h and remove two spurious
function declarations in GST_DISABLE_DEBUG part with macros.

18 years agogst/gstbus.c: More docs for the sync-message signal (mention that it is not emitted...
Tim-Philipp Müller [Tue, 3 Oct 2006 19:13:36 +0000 (19:13 +0000)]
gst/gstbus.c: More docs for the sync-message signal (mention that it is not emitted by default); log message structur...

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
More docs for the sync-message signal (mention that it is not
emitted by default); log message structures of messages posted on
the bus as well.

18 years agogst/gst.c: Use a pipe pair to receive status results from the forked child, and ignor...
Jan Schmidt [Tue, 3 Oct 2006 15:10:51 +0000 (15:10 +0000)]
gst/gst.c: Use a pipe pair to receive status results from the forked child, and ignore the result from waitpid. Fixes...

Original commit message from CVS:
* gst/gst.c: (ensure_current_registry_forking):
Use a pipe pair to receive status results from the forked child, and
ignore the result from waitpid. Fixes #355499

18 years agotests/check/gst/gstghostpad.c: Fix leak in check.
Wim Taymans [Mon, 2 Oct 2006 16:46:16 +0000 (16:46 +0000)]
tests/check/gst/gstghostpad.c: Fix leak in check.

Original commit message from CVS:
* tests/check/gst/gstghostpad.c: (GST_START_TEST),
(gst_ghost_pad_suite):
Fix leak in check.

18 years agogst/gstpad.c: Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
Tim-Philipp Müller [Mon, 2 Oct 2006 16:37:56 +0000 (16:37 +0000)]
gst/gstpad.c: Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.

Original commit message from CVS:
* gst/gstpad.c:
Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.

18 years agodocs/design/part-block.txt: Further explain the use of flushing on blocked pads.
Edward Hervey [Mon, 2 Oct 2006 16:01:54 +0000 (16:01 +0000)]
docs/design/part-block.txt: Further explain the use of flushing on blocked pads.

Original commit message from CVS:
* docs/design/part-block.txt:
Further explain the use of flushing on blocked pads.
* docs/gst/gstreamer-sections.txt:
* gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
(gst_pad_push_event):
* gst/gstpad.h:
Added new GstPadFlag : GST_PAD_BLOCKING.
Adds the notion of pads really blocking, which enables to properly
handle FLUSH_START/FLUSH_STOP events on blocked pads.
Fixes #358999
API: gst_pad_is_blocking()
API: GST_PAD_IS_BLOCKING() macro
API: GST_PAD_BLOCKING GstPadFlag

18 years agogst/gstghostpad.c: Filter the proxied caps against the padtemplate if we have one.
mrcgran [Mon, 2 Oct 2006 10:06:17 +0000 (10:06 +0000)]
gst/gstghostpad.c: Filter the proxied caps against the padtemplate if we have one.

Original commit message from CVS:
Patch by: mrcgran <mrc.gran at gmail dot com>
* gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
Filter the proxied caps against the padtemplate if we have one.
* gst/gstquery.c: (gst_query_new_segment):
Add include for gstinfo.h so that compilation with
-DGST_DISABLE_GST_DEBUG works again. Fixes #358436.

18 years agoGive credit
Wim Taymans [Mon, 2 Oct 2006 09:44:03 +0000 (09:44 +0000)]
Give credit

Original commit message from CVS:
Give credit

18 years agoplugins/elements/gstfilesink.c: Set file to NULL when closing filesink so that we...
Wim Taymans [Mon, 2 Oct 2006 09:41:09 +0000 (09:41 +0000)]
plugins/elements/gstfilesink.c: Set file to NULL when closing filesink so that we can set a new filename in READY. Fi...

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_init),
(gst_file_sink_set_location), (gst_file_sink_open_file),
(gst_file_sink_close_file), (gst_file_sink_event),
(gst_file_sink_render):
Set file to NULL when closing filesink so that we can set a new filename
in READY. Fixes #358613.

18 years agogst/gstevent.c: Fix gst_mini_object_make_writable() and gst_event_copy() for events...
Alessandro Decina [Mon, 2 Oct 2006 08:37:24 +0000 (08:37 +0000)]
gst/gstevent.c: Fix gst_mini_object_make_writable() and gst_event_copy() for events with event structures by setting ...

Original commit message from CVS:
Patch by: Alessandro Decina  <alessandro at nnva org>
* gst/gstevent.c: (_gst_event_copy):
Fix gst_mini_object_make_writable() and gst_event_copy() for events
with event structures by setting the parent refcount address of the
copied structure to the address of the refcount member of the newly
copied event rather than the address of the refcount member of the
original event. Fixes #358737.
* tests/check/gst/gstevent.c: (GST_START_TEST):
Unit test for the above.

18 years agodocs/design/Makefile.am: Dist some more files.
Stefan Kost [Fri, 29 Sep 2006 20:29:49 +0000 (20:29 +0000)]
docs/design/Makefile.am: Dist some more files.

Original commit message from CVS:
* docs/design/Makefile.am:
Dist some more files.

18 years agotests/check/libs/controller.c: Add test for the previous fix; add some more tests...
Tim-Philipp Müller [Fri, 29 Sep 2006 12:31:18 +0000 (12:31 +0000)]
tests/check/libs/controller.c: Add test for the previous fix; add some more tests for correct refcounting behaviour; ...

Original commit message from CVS:
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
Add test for the previous fix; add some more tests
for correct refcounting behaviour; fix a few leaks
in test cases; call gst_controller_init() at start
of all tests.

18 years agolibs/gst/controller/gstcontroller.c: Don't g_return_val_if_fail() on timed values...
Tim-Philipp Müller [Fri, 29 Sep 2006 12:24:50 +0000 (12:24 +0000)]
libs/gst/controller/gstcontroller.c: Don't g_return_val_if_fail() on timed values with invalid timestamps inside a cr...

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
(gst_controller_set_from_list):
Don't g_return_val_if_fail() on timed values with invalid timestamps
inside a critical section without unlocking the mutex. Spotted by
René Stadler. (#357617)
Also, fix up refcounting properly: when returning an existing
controller, we should increase the reference only once and not
once per property and when trying to control a property again
we should also increase the refcount.

18 years agolibs/gst/net/: Stop reading commands when EOF as well.
Wim Taymans [Fri, 29 Sep 2006 08:22:22 +0000 (08:22 +0000)]
libs/gst/net/: Stop reading commands when EOF as well.

Original commit message from CVS:
* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_thread):
Stop reading commands when EOF as well.
* plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
* plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
* plugins/elements/gstidentity.c: (gst_identity_class_init):
Unify description of the dump property.

18 years agoMention bug number in previous commit
Jan Schmidt [Thu, 28 Sep 2006 17:20:17 +0000 (17:20 +0000)]
Mention bug number in previous commit

Original commit message from CVS:
Mention bug number in previous commit

18 years agotests/examples/manual/.cvsignore: OK, so it's actually cvsignore that needs changing...
Jan Schmidt [Thu, 28 Sep 2006 15:52:04 +0000 (15:52 +0000)]
tests/examples/manual/.cvsignore: OK, so it's actually cvsignore that needs changing. Stop laughing.

Original commit message from CVS:
* tests/examples/manual/.cvsignore:
OK, so it's actually cvsignore that needs changing. Stop laughing.

18 years agotests/examples/manual/Makefile.am: Gah, declare vars *before* using them
Jan Schmidt [Thu, 28 Sep 2006 15:27:12 +0000 (15:27 +0000)]
tests/examples/manual/Makefile.am: Gah, declare vars *before* using them

Original commit message from CVS:
* tests/examples/manual/Makefile.am:
Gah, declare vars *before* using them

18 years agogst/: Re-commit the registry changes, along with an extra fix:
Jan Schmidt [Thu, 28 Sep 2006 14:00:43 +0000 (14:00 +0000)]
gst/: Re-commit the registry changes, along with an extra fix:

Original commit message from CVS:
* gst/gst.c: (init_pre), (scan_and_update_registry),
(ensure_current_registry_nonforking),
(ensure_current_registry_forking), (ensure_current_registry),
(init_post), (gst_debug_help), (gst_deinit):
* gst/gst_private.h:
* gst/gstregistry.c: (gst_registry_finalize),
(gst_registry_remove_features_for_plugin_unlocked),
(gst_registry_remove_plugin), (gst_registry_scan_path_level),
(gst_registry_scan_path),
(_priv_gst_registry_remove_cache_plugins),
(_priv_gst_registry_cleanup):
* gst/gstregistry.h:
Re-commit the registry changes, along with an extra fix:
When a cached plugin is encountered at a different file path,
update the stored path in the registry cache so that the parent
process knows where it actually is now when it re-reads the registry
cache. Fixes the thing that broke distcheck with the previous commit.
* tests/check/Makefile.am:
Clean up files named 'core' too when running make clean.
* tests/examples/manual/Makefile.am:
Set up a registry path for running these tests, and clean it properly
for distcheck.

18 years agoconfigure.ac: Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we...
Jan Schmidt [Thu, 28 Sep 2006 11:11:28 +0000 (11:11 +0000)]
configure.ac: Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we want gmodule-no-export-2.0.pc instea...

Original commit message from CVS:
* configure.ac:
Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
want gmodule-no-export-2.0.pc instead so that we don't drag in
--export-dynamic on every project that links to GStreamer.
Also, make our export regex only match the start of symbols, rather
than any symbol that contains '_gst' somewhere.
* libs/gst/check/Makefile.am:
The libgstcheck we build does however need export-dynamic, as it
produces some symbols that don't match our _gst... style regex.

18 years agogst/: Revert previous change until I figure out why it breaks distcheck.
Jan Schmidt [Wed, 27 Sep 2006 17:42:47 +0000 (17:42 +0000)]
gst/: Revert previous change until I figure out why it breaks distcheck.

Original commit message from CVS:
* gst/gst.c: (init_pre), (scan_and_update_registry),
(ensure_current_registry_nonforking),
(ensure_current_registry_forking), (ensure_current_registry),
(init_post), (gst_debug_help), (gst_deinit):
* gst/gst_private.h:
* gst/gstregistry.c: (gst_registry_finalize),
(gst_registry_remove_plugin), (gst_registry_scan_path_level),
(gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
(_gst_registry_cleanup):
* gst/gstregistry.h:
Revert previous change until I figure out why it breaks distcheck.

18 years agogst/gst.c: Make init_pre and init_post take the full complement of GOptionFunc args...
Jan Schmidt [Wed, 27 Sep 2006 16:52:59 +0000 (16:52 +0000)]
gst/gst.c: Make init_pre and init_post take the full complement of GOptionFunc args so they can return useful GErrors...

Original commit message from CVS:
* gst/gst.c: (init_pre), (scan_and_update_registry),
(ensure_current_registry_nonforking),
(ensure_current_registry_forking), (ensure_current_registry),
(init_post), (gst_debug_help), (gst_deinit):
Make init_pre and init_post take the full complement of GOptionFunc
args so they can return useful GErrors. Make the registry updating
functions do so.
Call _priv_gst_registry_remove_cache_plugins after scanning files to
ensure that the registry we're about to write out doesn't contain
stale information about old-deleted plugin files.
Make _priv_gst_registry_remove_cache_plugins return a boolean so
that deletion of plugin files is considered a registry change.
* gst/gst_private.h:
* gst/gstregistry.c: (gst_registry_finalize),
(gst_registry_remove_features_for_plugin_unlocked),
(gst_registry_remove_plugin), (gst_registry_scan_path_level),
(gst_registry_scan_path),
(_priv_gst_registry_remove_cache_plugins),
(_priv_gst_registry_cleanup):
* gst/gstregistry.h:
Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
by adding _priv prefix, so that they won't appear in the global
symbol table. They still do atm though because of #318031. Move the
prototypes to gst_private.h
When removing a plugin, remove all features for that plugin too.
Fixes #340878.

18 years agodocs/random/moving-plugins: Make it clear that the "compiled-in descriptions" really...
Wim Taymans [Wed, 27 Sep 2006 13:19:55 +0000 (13:19 +0000)]
docs/random/moving-plugins: Make it clear that the "compiled-in descriptions" really mean the element details.

Original commit message from CVS:
* docs/random/moving-plugins:
Make it clear that the "compiled-in descriptions" really mean
the element details.
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_wait_preroll):
Update docs.
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
(gst_base_src_get_range), (gst_base_src_activate_push):
* libs/gst/base/gstbasesrc.h:
Added function to block while waiting for PLAYING, this function
is used by live sources that block on the clock.
API: gst_base_src_wait_playing()

18 years agoMakefile.am: gst-element-check.m4 is generated and should therefore be copied from...
Peter Kjellerstedt [Wed, 27 Sep 2006 10:13:13 +0000 (10:13 +0000)]
Makefile.am: gst-element-check.m4 is generated and should therefore be copied from the build dir rather than the sour...

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* Makefile.am:
gst-element-check.m4 is generated and should therefore be
copied from the build dir rather than the source dir (#357593).
'make distcheck' hasn't noticed this because we were disting
the file as well, so stop doing that.

18 years agotests/check/gst/gstcaps.c: Add some tests for gst_caps_intersect().
Tim-Philipp Müller [Wed, 27 Sep 2006 09:23:18 +0000 (09:23 +0000)]
tests/check/gst/gstcaps.c: Add some tests for gst_caps_intersect().

Original commit message from CVS:
* tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
Add some tests for gst_caps_intersect().
* tools/gst-launch.c: (event_loop):
Print all buffering percentages we get, even the 100% one.

18 years agotools/gst-inspect.c: Fix printing of flags to match the look of enums.
Wim Taymans [Tue, 26 Sep 2006 12:39:26 +0000 (12:39 +0000)]
tools/gst-inspect.c: Fix printing of flags to match the look of enums.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info),
(print_signal_info):
Fix printing of flags to match the look of enums.

18 years agogst/gstelementfactory.c: Fix typo in docs blurb.
Tim-Philipp Müller [Mon, 25 Sep 2006 13:08:29 +0000 (13:08 +0000)]
gst/gstelementfactory.c: Fix typo in docs blurb.

Original commit message from CVS:
* gst/gstelementfactory.c:
Fix typo in docs blurb.

18 years agogst/gsturi.c: Don't assert/crash here if a uri handler doesn't return any supported...
Tim-Philipp Müller [Mon, 25 Sep 2006 11:16:37 +0000 (11:16 +0000)]
gst/gsturi.c: Don't assert/crash here if a uri handler doesn't return any supported protocols. The list of protocols ...

Original commit message from CVS:
* gst/gsturi.c: (search_by_entry):
Don't assert/crash here if a uri handler doesn't return any
supported protocols. The list of protocols could be generated
dynamically at runtime or at plugin registration, and an error
in the underlying library shouldn't be fatal (#353301).

18 years agogst/gstinfo.c: Fix warning if HAVE_PRINTF_EXTENSION is undefined (spotted by Peter...
Tim-Philipp Müller [Mon, 25 Sep 2006 10:36:23 +0000 (10:36 +0000)]
gst/gstinfo.c: Fix warning if HAVE_PRINTF_EXTENSION is undefined (spotted by Peter Kjellerstedt).

Original commit message from CVS:
* gst/gstinfo.c:
Fix warning if HAVE_PRINTF_EXTENSION is undefined
(spotted by Peter Kjellerstedt).

18 years agolibs/gst/base/gstbasesrc.c: Match _start/_stop calls in the activate functions. Remov...
Antoine Tremblay [Sat, 23 Sep 2006 09:30:40 +0000 (09:30 +0000)]
libs/gst/base/gstbasesrc.c: Match _start/_stop calls in the activate functions. Remove redundant _stop call from the ...

Original commit message from CVS:
Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
* libs/gst/base/gstbasesrc.c:
(gst_base_src_default_check_get_range), (gst_base_src_start),
(gst_base_src_activate_push), (gst_base_src_activate_pull),
(gst_base_src_change_state):
Match _start/_stop calls in the activate functions. Remove redundant
_stop call from the state change function. Fixes #356910.
Turn failure DEBUG into ERROR.

18 years agoUpdate docs about buffering.
Wim Taymans [Fri, 22 Sep 2006 15:29:23 +0000 (15:29 +0000)]
Update docs about buffering.

Original commit message from CVS:
* docs/design/part-buffering.txt:
* gst/gstmessage.c: (gst_message_new_buffering),
(gst_message_parse_buffering):
Update docs about buffering.
* docs/design/part-trickmodes.txt:
Fix typo.

18 years agoaudiotestsrc is not part of core, fakesrc is
Thomas Vander Stichele [Fri, 22 Sep 2006 14:30:49 +0000 (14:30 +0000)]
audiotestsrc is not part of core, fakesrc is

Original commit message from CVS:
audiotestsrc is not part of core, fakesrc is

18 years agolibs/gst/controller/gstcontroller.c: Ref instances when returning them again (fixes...
Stefan Kost [Fri, 22 Sep 2006 13:32:43 +0000 (13:32 +0000)]
libs/gst/controller/gstcontroller.c: Ref instances when returning them again (fixes #357180)

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
(gst_controller_new_list):
Ref instances when returning them again (fixes #357180)

18 years agogst/gstghostpad.c: Don't forget to release proxy lock when there's an error.
Tim-Philipp Müller [Fri, 22 Sep 2006 10:17:15 +0000 (10:17 +0000)]
gst/gstghostpad.c: Don't forget to release proxy lock when there's an error.

Original commit message from CVS:
* gst/gstghostpad.c: (gst_ghost_pad_set_target):
Don't forget to release proxy lock when there's an error.

18 years agogst/gstcaps.h: Add extra initialisers for Caps things, to fix some plugin warnings...
Jan Schmidt [Wed, 20 Sep 2006 16:17:26 +0000 (16:17 +0000)]
gst/gstcaps.h: Add extra initialisers for Caps things, to fix some plugin warnings when using -Wextra

Original commit message from CVS:
* gst/gstcaps.h:
Add extra initialisers for Caps things, to fix some plugin warnings
when using -Wextra

18 years agogst/gstghostpad.c: Also set template on the internal pad so that a getcaps from the...
Wim Taymans [Mon, 18 Sep 2006 13:56:26 +0000 (13:56 +0000)]
gst/gstghostpad.c: Also set template on the internal pad so that a getcaps from the target pad returns the template c...

Original commit message from CVS:
* gst/gstghostpad.c: (gst_ghost_pad_new_full):
Also set template on the internal pad so that a getcaps from the target
pad returns the template caps.

18 years agogst/gstelement.c: Use _DEBUG_OBJECT some more.
Wim Taymans [Mon, 18 Sep 2006 13:44:12 +0000 (13:44 +0000)]
gst/gstelement.c: Use _DEBUG_OBJECT some more.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_post_message),
(gst_element_dispose):
Use _DEBUG_OBJECT some more.
* libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
Avoid typechecks.
* tools/gst-launch.c: (main):
If the toplevel element is not a GstPipeline, it must be put in a
pipeline so that a bus and clock is selected.

18 years agolibs/gst/base/gstbasesrc.c: JITTER, RATE, and LATENCY query should be handled by...
Tim-Philipp Müller [Sun, 17 Sep 2006 19:31:27 +0000 (19:31 +0000)]
libs/gst/base/gstbasesrc.c: JITTER, RATE, and LATENCY query should be handled by the default case and not by the CONV...

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
JITTER, RATE, and LATENCY query should be handled by the
default case and not by the CONVERT query code.

18 years agogst/gstformat.c: Fix locking order (must take lock before using n_values).
Tim-Philipp Müller [Sun, 17 Sep 2006 19:26:16 +0000 (19:26 +0000)]
gst/gstformat.c: Fix locking order (must take lock before using n_values).

Original commit message from CVS:
* gst/gstformat.c: (gst_format_register):
Fix locking order (must take lock before using n_values).
* gst/gstvalue.c: (gst_value_serialize_enum),
(gst_value_deserialize_enum_iter_cmp),
(gst_value_deserialize_enum):
Fix serialisation/deserialisation of custom registered GstFormats.
* tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
Unit test for custom format serialisation/deserialisation.

18 years agoMore G_OBJECT macro fixing. Also Fix some details on the plugin-stamp section.
Stefan Kost [Sat, 16 Sep 2006 21:38:09 +0000 (21:38 +0000)]
More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp section.

Original commit message from CVS:
* docs/pwg/building-boiler.xml:
* plugins/elements/gstcapsfilter.c:
More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
section.

18 years agolibs/gst/base/gstbasetransform.c: Check if requested caps are the same as the sinks...
Edward Hervey [Sat, 16 Sep 2006 12:49:02 +0000 (12:49 +0000)]
libs/gst/base/gstbasetransform.c: Check if requested caps are the same as the sinks caps IF

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_buffer_alloc):
Check if requested caps are the same as the sinks caps IF
->have_same_caps is TRUE. If they are not, act as if have_same_caps
is FALSE.
This fixes the renegotiation issues stated in #352827.

18 years agoExtract the manual examples again like we used to do.
Thomas Vander Stichele [Sat, 16 Sep 2006 10:49:47 +0000 (10:49 +0000)]
Extract the manual examples again like we used to do.

Original commit message from CVS:
* configure.ac:
* docs/manual/advanced-autoplugging.xml:
* tests/examples/Makefile.am:
* tests/examples/manual/.cvsignore:
* tests/examples/manual/Makefile.am:
* tests/examples/manual/extract.pl:
Extract the manual examples again like we used to do.
Fix one of them.

18 years agowin32/common/config.h: update for version
Thomas Vander Stichele [Sat, 16 Sep 2006 10:47:36 +0000 (10:47 +0000)]
win32/common/config.h: update for version

Original commit message from CVS:
* win32/common/config.h:
update for version

18 years agogst/gsterror.c: Documents how to receive errors.
Stefan Kost [Fri, 15 Sep 2006 21:30:00 +0000 (21:30 +0000)]
gst/gsterror.c: Documents how to receive errors.

Original commit message from CVS:
* gst/gsterror.c:
Documents how to receive errors.

18 years agotools/gst-launch.c: Added some comments here and there.
Wim Taymans [Fri, 15 Sep 2006 10:43:16 +0000 (10:43 +0000)]
tools/gst-launch.c: Added some comments here and there.

Original commit message from CVS:
* tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
(event_loop), (main):
Added some comments here and there.
Post an application message when an interrupt is caught instead of doing
an uncontrolled state change.
Clean up the event loop.
Handle buffering messages, pause/resume the pipeline.
Make shutdown because of an interrupt more reliable.

18 years agolibs/gst/base/gstbasesink.c: Make sure that our internal state is correct when we...
Wim Taymans [Fri, 15 Sep 2006 09:49:14 +0000 (09:49 +0000)]
libs/gst/base/gstbasesink.c: Make sure that our internal state is correct when we commit our state asynchronously. Th...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
(gst_base_sink_preroll_object):
Make sure that our internal state is correct when we commit our state
asynchronously. This solves a race where a state change to PLAYING
could cause the sink to remain blocked in preroll in some situations.

18 years agotools/gst-inspect.c: List flags as hex so it's easier to deal with.
Wim Taymans [Fri, 15 Sep 2006 08:50:21 +0000 (08:50 +0000)]
tools/gst-inspect.c: List flags as hex so it's easier to deal with.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info),
(print_signal_info):
List flags as hex so it's easier to deal with.

18 years agoExpose logic to wait for preroll so that subclasses such as audiosink can also use...
Wim Taymans [Fri, 15 Sep 2006 08:47:36 +0000 (08:47 +0000)]
Expose logic to wait for preroll so that subclasses such as audiosink can also use this method.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
(gst_base_sink_do_sync):
* libs/gst/base/gstbasesink.h:
Expose logic to wait for preroll so that subclasses such as audiosink
can also use this method.
API: gst_base_sink_wait_preroll()

18 years agogst/: Small cleanups in docs and code.
Wim Taymans [Fri, 15 Sep 2006 08:43:44 +0000 (08:43 +0000)]
gst/: Small cleanups in docs and code.

Original commit message from CVS:
* gst/gstobject.c: (gst_object_set_parent):
* gst/gstpipeline.c: (do_pipeline_seek):
Small cleanups in docs and code.
* gst/gstsegment.c: (gst_segment_clip):
* tests/check/gst/gstsegment.c: (GST_START_TEST):
if stop == start and start is in the segment, no clipping should be
done. Also add a test for this.

18 years agoAdded methods to create and parse BUFFERING messages.
Wim Taymans [Fri, 15 Sep 2006 08:39:56 +0000 (08:39 +0000)]
Added methods to create and parse BUFFERING messages.

Original commit message from CVS:
* docs/design/part-buffering.txt:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_new_buffering),
(gst_message_parse_buffering):
* gst/gstmessage.h:
Added methods to create and parse BUFFERING messages.
Added preliminary docs about buffering.
API: gst_message_new_buffering
API: gst_message_parse_buffering

18 years agogst/gstbin.c: Update documentation.
Wim Taymans [Fri, 15 Sep 2006 08:32:57 +0000 (08:32 +0000)]
gst/gstbin.c: Update documentation.

Original commit message from CVS:
* gst/gstbin.c:
Update documentation.
* gst/gstelement.c: (gst_element_class_init),
(gst_element_release_request_pad), (gst_element_set_clock),
(gst_element_get_index), (gst_element_add_pad),
(gst_element_remove_pad), (gst_element_get_random_pad),
(gst_element_send_event), (gst_element_get_query_types),
(gst_element_query), (gst_element_post_message),
(gst_element_message_full), (gst_element_continue_state),
(gst_element_lost_state), (gst_element_save_thyself),
(gst_element_restore_thyself):
Documentation updates.
Rename last bit of the new-pad -> pad-added signal rename.
Fix the case where an element query would only work if the source
pad was linked.
Avoid some useless type checking in message handling.
* gst/gstevent.c:
* gst/gstevent.h:
* gst/gstutils.c:
Documentation updates.

18 years agoadd an INFO line for when we actually update the fd
Thomas Vander Stichele [Thu, 14 Sep 2006 20:12:04 +0000 (20:12 +0000)]
add an INFO line for when we actually update the fd

Original commit message from CVS:
add an INFO line for when we actually update the fd

18 years agoback to trunk
Thomas Vander Stichele [Thu, 14 Sep 2006 20:11:10 +0000 (20:11 +0000)]
back to trunk

Original commit message from CVS:
back to trunk

18 years agoreleasing 0.10.10 RELEASE-0_10_10
Thomas Vander Stichele [Thu, 14 Sep 2006 20:08:14 +0000 (20:08 +0000)]
releasing 0.10.10

Original commit message from CVS:
releasing 0.10.10

18 years agofirst prerelease
Thomas Vander Stichele [Sat, 9 Sep 2006 16:08:17 +0000 (16:08 +0000)]
first prerelease

Original commit message from CVS:
first prerelease

18 years agotranslation updates
Thomas Vander Stichele [Sat, 9 Sep 2006 16:07:34 +0000 (16:07 +0000)]
translation updates

Original commit message from CVS:
translation updates

18 years agodocs/manual/advanced-position.xml: Fix typo in sample code.
Tim-Philipp Müller [Tue, 5 Sep 2006 14:11:06 +0000 (14:11 +0000)]
docs/manual/advanced-position.xml: Fix typo in sample code.

Original commit message from CVS:
* docs/manual/advanced-position.xml:
Fix typo in sample code.

18 years agolibs/gst/net/: Make stuff compile on windows. Fixes #345295.
Wim Taymans [Tue, 5 Sep 2006 08:35:20 +0000 (08:35 +0000)]
libs/gst/net/: Make stuff compile on windows. Fixes #345295.

Original commit message from CVS:
* libs/gst/net/gstnetclientclock.c: (inet_aton),
(gst_net_client_clock_init), (gst_net_client_clock_finalize),
(gst_net_client_clock_do_select), (gst_net_client_clock_new):
* libs/gst/net/gstnetclientclock.h:
* libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
* libs/gst/net/gstnettimepacket.h:
* libs/gst/net/gstnettimeprovider.c: (inet_aton),
(gst_net_time_provider_init), (gst_net_time_provider_finalize),
(gst_net_time_provider_thread), (gst_net_time_provider_new):
* libs/gst/net/gstnettimeprovider.h:
Make stuff compile on windows. Fixes #345295.

18 years agogst/gst.c: Print better details when child was terminated by signal.
Tim-Philipp Müller [Sun, 3 Sep 2006 11:16:50 +0000 (11:16 +0000)]
gst/gst.c: Print better details when child was terminated by signal.

Original commit message from CVS:
* gst/gst.c: (ensure_current_registry_forking):
Print better details when child was terminated by signal.