platform/upstream/gstreamer.git
17 years agoconfigure.ac: releasing 0.10.11, "Love never runs on time" RELEASE-0_10_11
Jan Schmidt [Thu, 7 Dec 2006 02:33:54 +0000 (02:33 +0000)]
configure.ac: releasing 0.10.11, "Love never runs on time"

Original commit message from CVS:
=== release 0.10.11 ===

2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.11, "Love never runs on time"

17 years agowin32/: Fix compilation on win32 under VS8
Sergey Scobich [Fri, 1 Dec 2006 10:23:26 +0000 (10:23 +0000)]
win32/: Fix compilation on win32 under VS8

Original commit message from CVS:
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
* win32/vs8/libgstbase.vcproj:
* win32/vs8/libgstcoreelements.vcproj:
* win32/vs8/libgstreamer.vcproj:
Fix compilation on win32 under VS8
Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
Partially fixes #381175

17 years agoUpdate .po files
Jan Schmidt [Thu, 30 Nov 2006 22:55:08 +0000 (22:55 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

17 years agogst/gstvalue.c: If someone is foolish enough to compare 2 fractions with denominator...
Jan Schmidt [Wed, 29 Nov 2006 16:39:32 +0000 (16:39 +0000)]
gst/gstvalue.c: If someone is foolish enough to compare 2 fractions with denominator = 0, return UNORDERED rather tha...

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_compare_fraction):
If someone is foolish enough to compare 2 fractions with denominator =
0, return UNORDERED rather than aborting.

17 years agolibs/gst/base/: New GstDataQueue object for threadsafe queueing. Most useful for...
Edward Hervey [Tue, 28 Nov 2006 12:07:06 +0000 (12:07 +0000)]
libs/gst/base/: New GstDataQueue object for threadsafe queueing. Most useful for elements that need some queueing fun...

Original commit message from CVS:
* libs/gst/base/Makefile.am:
* libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
(gst_data_queue_base_init), (gst_data_queue_class_init),
(gst_data_queue_init), (gst_data_queue_new),
(gst_data_queue_cleanup), (gst_data_queue_finalize),
(gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
(gst_data_queue_locked_is_full), (gst_data_queue_flush),
(gst_data_queue_is_empty), (gst_data_queue_is_full),
(gst_data_queue_set_flushing), (gst_data_queue_push),
(gst_data_queue_pop), (gst_data_queue_drop_head),
(gst_data_queue_set_property), (gst_data_queue_get_property):
* libs/gst/base/gstdataqueue.h:
New GstDataQueue object for threadsafe queueing. Most useful for
elements that need some queueing functionnality.
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
Insert documentation for GstDataQueue
* plugins/elements/Makefile.am:
* plugins/elements/gstelements.c:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
(gst_multi_queue_class_init), (gst_multi_queue_init),
(gst_multi_queue_finalize), (gst_multi_queue_set_property),
(gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
(gst_multi_queue_release_pad), (gst_single_queue_push_one),
(gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
(gst_multi_queue_loop), (gst_multi_queue_chain),
(gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
(gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
(gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
(gst_multi_queue_src_event), (gst_multi_queue_src_query),
(wake_up_next_non_linked), (compute_next_non_linked),
(single_queue_overrun_cb), (single_queue_underrun_cb),
(single_queue_check_full), (gst_single_queue_new):
* plugins/elements/gstmultiqueue.h:
New multiqueue element, using GstDataQueue. Used for queuing multiple
streams.
Closes #344639 and #347785

17 years agodocs/pwg/advanced-types.xml: add more missing type details
Stefan Kost [Wed, 22 Nov 2006 12:29:41 +0000 (12:29 +0000)]
docs/pwg/advanced-types.xml: add more missing type details

Original commit message from CVS:
* docs/pwg/advanced-types.xml:
add more missing type details
* tools/gst-run.c: (main):
remove unused variable

17 years agodocs/libs/: add types of base classes to enable gobject specific stuff in the docs
Stefan Kost [Tue, 21 Nov 2006 08:30:20 +0000 (08:30 +0000)]
docs/libs/: add types of base classes to enable gobject specific stuff in the docs

Original commit message from CVS:
* docs/libs/Makefile.am:
* docs/libs/gstreamer-libs.types:
add types of base classes to enable gobject specific stuff in the docs
* docs/random/ensonic/embedded.txt:
more ideas about isolating platform specific things

17 years agolibs/gst/check/gstcheck.h: Fix compilation and running against 0.9.4. Fixes #377332.
Sebastian Droege [Mon, 20 Nov 2006 11:11:20 +0000 (11:11 +0000)]
libs/gst/check/gstcheck.h: Fix compilation and running against 0.9.4. Fixes #377332.

Original commit message from CVS:
Patch by: Sebastian Droege <slomo at ubuntu dot com>
* libs/gst/check/gstcheck.h:
Fix compilation and running against 0.9.4. Fixes #377332.

17 years agogst/gstsegment.c: Fix boundary checking in to_running_time() and to_stream_time().
Wim Taymans [Mon, 20 Nov 2006 10:27:49 +0000 (10:27 +0000)]
gst/gstsegment.c: Fix boundary checking in to_running_time() and to_stream_time().

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_seek),
(gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
(gst_segment_to_running_time):
Fix boundary checking in to_running_time() and to_stream_time().
Fixes #377183.
* tests/check/gst/gstsegment.c: (GST_START_TEST):
stream and running time can now be calculated for the complete
clipped segment.

17 years agogst/gstpad.c: Can't access event structure after giving away ownership of the event.
Tim-Philipp Müller [Wed, 15 Nov 2006 17:38:13 +0000 (17:38 +0000)]
gst/gstpad.c: Can't access event structure after giving away ownership of the event.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_push_event):
Can't access event structure after giving away ownership of
the event.

17 years agodocs/random/ensonic/: more thinking
Stefan Kost [Wed, 15 Nov 2006 13:00:16 +0000 (13:00 +0000)]
docs/random/ensonic/: more thinking

Original commit message from CVS:
* docs/random/ensonic/embedded.txt:
* docs/random/ensonic/profiling.txt:
* docs/random/ensonic/receipies.txt:
more thinking

17 years agogst/gstpad.c: Fix documentation for gst_pad_dispatcher. Fixes #374475.
Mark Nauwelaerts [Mon, 13 Nov 2006 18:03:35 +0000 (18:03 +0000)]
gst/gstpad.c: Fix documentation for gst_pad_dispatcher. Fixes #374475.

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* gst/gstpad.c:
Fix documentation for gst_pad_dispatcher. Fixes #374475.

17 years agolibs/gst/base/gstbasesrc.c: Store new length in segment duration so we don't keep...
Jonathan Matthew [Mon, 13 Nov 2006 17:54:58 +0000 (17:54 +0000)]
libs/gst/base/gstbasesrc.c: Store new length in segment duration so we don't keep on calling the potentially expensiz...

Original commit message from CVS:
Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
* libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
Store new length in segment duration so we don't keep on calling the
potentially expensize get_size() call. Fixes #370865.

17 years agowin32/common/libgstreamer.def: Add two missing symbols (#366492).
Sergey Scobich [Fri, 10 Nov 2006 18:56:44 +0000 (18:56 +0000)]
win32/common/libgstreamer.def: Add two missing symbols (#366492).

Original commit message from CVS:
Patch by: Sergey Scobich  <sergery.scobich at gmail com>
* win32/common/libgstreamer.def:
Add two missing symbols (#366492).

17 years agolibs/gst/base/gstadapter.c: Fix format string to use all its arguments.
Jan Schmidt [Fri, 10 Nov 2006 10:50:19 +0000 (10:50 +0000)]
libs/gst/base/gstadapter.c: Fix format string to use all its arguments.

Original commit message from CVS:
* libs/gst/base/gstadapter.c: (gst_adapter_flush),
(gst_adapter_take_buffer):
Fix format string to use all its arguments.
Remove useless >= check on a guint

17 years agotests/examples/adapter/.cvsignore: Ignore build file as commanded by the build-bot
Jan Schmidt [Thu, 9 Nov 2006 15:25:39 +0000 (15:25 +0000)]
tests/examples/adapter/.cvsignore: Ignore build file as commanded by the build-bot

Original commit message from CVS:
* tests/examples/adapter/.cvsignore:
Ignore build file as commanded by the build-bot

17 years agotests/examples/adapter/: Add new files from the previous commit
Jan Schmidt [Thu, 9 Nov 2006 14:38:59 +0000 (14:38 +0000)]
tests/examples/adapter/: Add new files from the previous commit

Original commit message from CVS:
* tests/examples/adapter/Makefile.am:
* tests/examples/adapter/adapter_test.c: (run_test_take),
(run_test_take_buffer), (run_tests), (main):
Add new files from the previous commit

17 years agoDo some optimisation work in GstAdapter to avoid copies in more cases.
Jan Schmidt [Thu, 9 Nov 2006 14:37:38 +0000 (14:37 +0000)]
Do some optimisation work in GstAdapter to avoid copies in more cases.

Original commit message from CVS:
* Makefile.am:
* configure.ac:
* libs/gst/base/gstadapter.c: (gst_adapter_clear),
(gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
(gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
* libs/gst/base/gstadapter.h:
* tests/check/libs/adapter.c: (create_and_fill_adapter),
(GST_START_TEST), (gst_adapter_suite):
* tests/examples/Makefile.am:
Do some optimisation work in GstAdapter to avoid copies in more cases.
It could still do slightly better by merging buffers when
gst_buffer_is_span_fast is true, but is already faster.
Also, avoid traversing a single-linked list to append each incoming
buffer inside the adapter.
Add simple test app that times the adapter behaviour in different
situations, and extend the unit test to check that bytes enter and
exit the adapter in their original order.

17 years agodocs/random/draft-missing-plugins.txt: Update: use element message instead of adding...
Tim-Philipp Müller [Wed, 8 Nov 2006 19:27:15 +0000 (19:27 +0000)]
docs/random/draft-missing-plugins.txt: Update: use element message instead of adding a new message type to the core; ...

Original commit message from CVS:
* docs/random/draft-missing-plugins.txt:
Update: use element message instead of adding a new message
type to the core; don't provide GStreamer API to initiate the
plugin download, just provide API to compose the strings needed
and let an external libgimmestuff handle the rest.

17 years agotools/gst-inspect.c: Print a string instead of 'unknown type' for GValueArray properties
Jan Schmidt [Wed, 8 Nov 2006 11:41:13 +0000 (11:41 +0000)]
tools/gst-inspect.c: Print a string instead of 'unknown type' for GValueArray properties

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info):
Print a string instead of 'unknown type' for GValueArray properties

17 years agoFix Christian's email address in Changelog
Jan Schmidt [Wed, 8 Nov 2006 10:35:24 +0000 (10:35 +0000)]
Fix Christian's email address in Changelog

Original commit message from CVS:
Fix Christian's email address in Changelog

17 years agodocs/random/draft-missing-plugins.txt: More small fixes.
Christian Schaller [Wed, 8 Nov 2006 02:04:52 +0000 (02:04 +0000)]
docs/random/draft-missing-plugins.txt: More small fixes.

Original commit message from CVS:
* docs/random/draft-missing-plugins.txt:
More small fixes.

17 years agotests/examples/typefind/typefind.c: Make typefind element example work again (#371894...
Tim-Philipp Müller [Wed, 8 Nov 2006 02:03:48 +0000 (02:03 +0000)]
tests/examples/typefind/typefind.c: Make typefind element example work again (#371894); add a license header.

Original commit message from CVS:
* tests/examples/typefind/typefind.c: (type_found), (main):
Make typefind element example work again (#371894); add a
license header.

17 years agodocs/random/draft-missing-plugins.txt: Commit initial draft about how to deal with...
Tim-Philipp Müller [Wed, 8 Nov 2006 01:40:27 +0000 (01:40 +0000)]
docs/random/draft-missing-plugins.txt: Commit initial draft about how to deal with missing plugins, needs work (API t...

Original commit message from CVS:
* docs/random/draft-missing-plugins.txt:
Commit initial draft about how to deal with missing plugins,
needs work (API too).

17 years agodocs/pwg/advanced-types.xml: documents the new caps elements (see #363118)
Stefan Kost [Tue, 7 Nov 2006 07:34:43 +0000 (07:34 +0000)]
docs/pwg/advanced-types.xml: documents the new caps elements (see #363118)

Original commit message from CVS:
* docs/pwg/advanced-types.xml:
documents the new caps elements (see #363118)

17 years agoUse g_strerror() instead of strerror() - we want UTF-8.
Tim-Philipp Müller [Mon, 6 Nov 2006 17:53:24 +0000 (17:53 +0000)]
Use g_strerror() instead of strerror() - we want UTF-8.

Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_load_file):
* plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
(gst_file_src_map_region), (gst_file_src_start):
* plugins/indexers/gstfileindex.c: (gst_file_index_load),
(gst_file_index_commit):
Use g_strerror() instead of strerror() - we want UTF-8.

17 years agoplugins/elements/gstfdsrc.c: Another printf fix (#371493).
Peter Kjellerstedt [Mon, 6 Nov 2006 17:25:01 +0000 (17:25 +0000)]
plugins/elements/gstfdsrc.c: Another printf fix (#371493).

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
Another printf fix (#371493).

17 years agotests/check/gst/gsttag.c: relicence (okay with author=company)
Stefan Kost [Mon, 6 Nov 2006 15:22:40 +0000 (15:22 +0000)]
tests/check/gst/gsttag.c: relicence (okay with author=company)

Original commit message from CVS:
* tests/check/gst/gsttag.c:
relicence (okay with author=company)

17 years agogst/gstpad.c: Enhance debug and improve docs
Stefan Kost [Mon, 6 Nov 2006 15:18:57 +0000 (15:18 +0000)]
gst/gstpad.c: Enhance debug and improve docs

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_event_default_dispatch),
(gst_pad_push_event):
Enhance debug and improve docs
* gst/gsturi.c:
Fix docs

17 years agodocs/random/ensonic/: more ideas
Stefan Kost [Mon, 6 Nov 2006 15:17:35 +0000 (15:17 +0000)]
docs/random/ensonic/: more ideas

Original commit message from CVS:
* docs/random/ensonic/distributed.txt:
* docs/random/ensonic/profiling.txt:
more ideas

17 years agodocs/gst/gstreamer-sections.txt: add new API and fix the build
Stefan Kost [Mon, 6 Nov 2006 15:14:46 +0000 (15:14 +0000)]
docs/gst/gstreamer-sections.txt: add new API and fix the build

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
add new API and fix the build
* gst/gstbin.c: (gst_bin_recalc_state):
* gst/gstelement.c: (gst_element_message_full),
(gst_element_get_state_func), (gst_element_set_state_func):
use new API and improve logging
* gst/gstutils.c: (gst_element_state_change_return_get_name):
* gst/gstutils.h:
API: add function to get StateChangereturn names to improve logs

17 years agoNotes taken while discussing dvb channel selection with Wim
Zaheer Abbas Merali [Mon, 6 Nov 2006 12:01:27 +0000 (12:01 +0000)]
Notes taken while discussing dvb channel selection with Wim

Original commit message from CVS:
Notes taken while discussing dvb channel selection with Wim

17 years agodon't put strerror in translatable message
Thomas Vander Stichele [Sat, 4 Nov 2006 12:54:08 +0000 (12:54 +0000)]
don't put strerror in translatable message

Original commit message from CVS:

don't put strerror in translatable message

17 years agoplugins/elements/gstfdsrc.c: Get the type and printf conversion specifiers right.
Wim Taymans [Fri, 3 Nov 2006 15:04:40 +0000 (15:04 +0000)]
plugins/elements/gstfdsrc.c: Get the type and printf conversion specifiers right.

Original commit message from CVS:
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
Get the type and printf conversion specifiers right.

17 years agogst/gstpad.c: Some small cleanups. Improve debugging.
Mark Nauwelaerts [Fri, 3 Nov 2006 13:57:28 +0000 (13:57 +0000)]
gst/gstpad.c: Some small cleanups. Improve debugging.

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* gst/gstpad.c: (gst_pad_init), (pre_activate),
(gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
(gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
Some small cleanups. Improve debugging.
* gst/gstpad.h:
Signal all waiting threads with a broadcast instead of just one.
Fixes #369942.

17 years agoplugins/elements/gstfdsrc.c: Add some debugging.
Wim Taymans [Fri, 3 Nov 2006 09:40:03 +0000 (09:40 +0000)]
plugins/elements/gstfdsrc.c: Add some debugging.

Original commit message from CVS:
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
(gst_fd_src_create):
Add some debugging.
Only update fd when it's different from the old.

17 years agoplugins/elements/gstfilesrc.c: Printf fixes for PPC/OSX, take two (#369366).
Tim-Philipp Müller [Thu, 2 Nov 2006 20:52:21 +0000 (20:52 +0000)]
plugins/elements/gstfilesrc.c: Printf fixes for PPC/OSX, take two (#369366).

Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
Printf fixes for PPC/OSX, take two (#369366).

17 years agoplugins/elements/: Printf fixes for gsize parameters on PPC/OSX (#369366). Also,...
Jan David Mol [Thu, 2 Nov 2006 13:00:38 +0000 (13:00 +0000)]
plugins/elements/: Printf fixes for gsize parameters on PPC/OSX (#369366). Also, don't cast to long long for portabil...

Original commit message from CVS:
Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
* plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
(gst_file_src_map_small_region), (gst_file_src_create_mmap):
Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
don't cast to long long for portability reasons, but use
GLib's types instead.

17 years agoplugins/elements/gstfdsrc.c: Get the arguments to lseek() the right way around.
Michael Smith [Mon, 30 Oct 2006 18:43:12 +0000 (18:43 +0000)]
plugins/elements/gstfdsrc.c: Get the arguments to lseek() the right way around.

Original commit message from CVS:
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
Get the arguments to lseek() the right way around.
Fixes 367677.

17 years agogst/gstinfo.h: _declspec should be __declspec (two underscores, not one). Fixes 366572.
gorshkov [Mon, 30 Oct 2006 07:51:13 +0000 (07:51 +0000)]
gst/gstinfo.h: _declspec should be __declspec (two underscores, not one). Fixes 366572.

Original commit message from CVS:
Patch by: gorshkov <gorshkov at oghma dot on dot ca>
* gst/gstinfo.h:
_declspec should be __declspec (two underscores, not one). Fixes 366572.

17 years agoTypo fixes (#366212).
Kjartan Maraas [Sat, 28 Oct 2006 15:42:29 +0000 (15:42 +0000)]
Typo fixes (#366212).

Original commit message from CVS:
Patch by: Kjartan Maraas  <kmaraas at gnome org>
* docs/design/part-MT-refcounting.txt:
* docs/random/wtay/capsnego2-docs:
* gst/gstclock.c:
* gst/gstxml.c:
Typo fixes (#366212).

17 years agoAdd needed entries in .def files.
Sergey Scobich [Sat, 28 Oct 2006 15:10:26 +0000 (15:10 +0000)]
Add needed entries in .def files.

Original commit message from CVS:
Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
* gst/gst.c:
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
* win32/vs8/libgstbase.vcproj:
* win32/vs8/libgstcontroller.vcproj:
Add needed entries in .def files.
Use HAVE_UNISTD_H.
Rearrange def files in vs8 solutions. Fixes #366286.

17 years agowin32/common/gstconfig.h: Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to...
Tim-Philipp Müller [Sat, 28 Oct 2006 15:03:19 +0000 (15:03 +0000)]
win32/common/gstconfig.h: Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the hand-made win32 gstconfig.h. F...

Original commit message from CVS:
* win32/common/gstconfig.h:
Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
hand-made win32 gstconfig.h. Fixes #366321.

17 years agogst/gstghostpad.c: Make acceptcaps return TRUE when we don't have a target, just...
Wim Taymans [Fri, 27 Oct 2006 16:31:15 +0000 (16:31 +0000)]
gst/gstghostpad.c: Make acceptcaps return TRUE when we don't have a target, just like setcaps does.

Original commit message from CVS:
* gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
(gst_ghost_pad_new_full):
Make acceptcaps return TRUE when we don't have a target, just like
setcaps does.

17 years agolibs/gst/base/gstbasetransform.c: Revert previous commit, 0 sized buffers are allowed...
Wim Taymans [Fri, 27 Oct 2006 10:10:26 +0000 (10:10 +0000)]
libs/gst/base/gstbasetransform.c: Revert previous commit, 0 sized buffers are allowed. Reopens #363095.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
Revert previous commit, 0 sized buffers are allowed. Reopens #363095.

17 years agogst/gststructure.c: If someone tries to set a non-UTF8 string field on a structure...
Tim-Philipp Müller [Thu, 26 Oct 2006 08:49:52 +0000 (08:49 +0000)]
gst/gststructure.c: If someone tries to set a non-UTF8 string field on a structure, don't just print a warning, but a...

Original commit message from CVS:
* gst/gststructure.c: (gst_structure_id_set_value):
If someone tries to set a non-UTF8 string field on a structure,
don't just print a warning, but also ignore the request and do
not change/add that field to the structure.
* tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
Test for the above.

17 years agogst/gstinfo.c: g_hash_table_insert() needs a cast to a non-const pointer duh.
David Schleef [Thu, 26 Oct 2006 00:00:34 +0000 (00:00 +0000)]
gst/gstinfo.c: g_hash_table_insert() needs a cast to a non-const pointer duh.

Original commit message from CVS:
* gst/gstinfo.c:
g_hash_table_insert() needs a cast to a non-const pointer duh.

17 years agogst/gstinfo.*: Change name parameter of _gst_debug_register_funcptr to const to refle...
David Schleef [Wed, 25 Oct 2006 23:47:40 +0000 (23:47 +0000)]
gst/gstinfo.*: Change name parameter of _gst_debug_register_funcptr to const to reflect the constness of its use in t...

Original commit message from CVS:
* gst/gstinfo.c:
* gst/gstinfo.h:
Change name parameter of _gst_debug_register_funcptr to const
to reflect the constness of its use in the function as well
as to quiet a gcc warning.

17 years agolibs/gst/base/gstbasetransform.c: Don't push the buffer if it's empty.
Edward Hervey [Wed, 25 Oct 2006 13:41:44 +0000 (13:41 +0000)]
libs/gst/base/gstbasetransform.c: Don't push the buffer if it's empty.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
Don't push the buffer if it's empty.
Closes #363095

17 years agogst/gstevent.h: Add small comment.
Wim Taymans [Tue, 24 Oct 2006 08:22:19 +0000 (08:22 +0000)]
gst/gstevent.h: Add small comment.

Original commit message from CVS:
* gst/gstevent.h:
Add small comment.
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_eventfunc):
Debug segment values *after* updating them as this is more
interesting.

17 years agodocs/design/part-events.txt: Update some docs.
Wim Taymans [Mon, 23 Oct 2006 15:21:12 +0000 (15:21 +0000)]
docs/design/part-events.txt: Update some docs.

Original commit message from CVS:
* docs/design/part-events.txt:
Update some docs.
* docs/design/part-block.txt:
* gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
(gst_pad_push_event):
Revert BLOCKING patch, it tries to be smart without really having a
clear idea what or how. So, now we discard all FLUSHING events again on
a blocking pad. Should fix gnonlin again.

17 years agolibs/gst/base/gstbasesrc.c: Make sure size is always initialized. Fixes #364388.
Sergey Scobich [Mon, 23 Oct 2006 14:51:30 +0000 (14:51 +0000)]
libs/gst/base/gstbasesrc.c: Make sure size is always initialized. Fixes #364388.

Original commit message from CVS:
Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
* libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
(gst_base_src_start), (gst_base_src_activate_push):
Make sure size is always initialized. Fixes #364388.

17 years agodocs/random/ensonic/distributed.txt: add some ideas about doing distributed processing
Stefan Kost [Fri, 20 Oct 2006 11:36:56 +0000 (11:36 +0000)]
docs/random/ensonic/distributed.txt: add some ideas about doing distributed processing

Original commit message from CVS:
* docs/random/ensonic/distributed.txt:
add some ideas about doing distributed processing
* docs/random/ensonic/profiling.txt:
get_rusage look promising

17 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

17 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.

17 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.

17 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.

17 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.

17 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

17 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.

17 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).

17 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.

17 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.

17 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

17 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.

17 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.

17 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.

17 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.

17 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).

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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

17 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.

17 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.