platform/upstream/gstreamer.git
18 years agogst/gsttagsetter.h: Can't cast ifaces to a class
Stefan Kost [Thu, 1 Jun 2006 18:22:14 +0000 (18:22 +0000)]
gst/gsttagsetter.h: Can't cast ifaces to a class

Original commit message from CVS:
* gst/gsttagsetter.h:
Can't cast ifaces to a class
* libs/gst/net/gstnetclientclock.h:
* libs/gst/net/gstnettimeprovider.h:
* plugins/elements/gstfakesink.h:
* plugins/elements/gstfakesrc.h:
* plugins/elements/gstfdsink.h:
* plugins/elements/gstfdsrc.h:
* plugins/elements/gstfilesink.h:
* plugins/elements/gstfilesrc.h:
* plugins/elements/gstidentity.h:
* plugins/elements/gstqueue.h:
* plugins/elements/gsttee.h:
* plugins/indexers/gstfileindex.c:
* plugins/indexers/gstmemindex.c:
* tests/old/examples/plugins/example.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

18 years agolibs/gst/dataprotocol/dataprotocol.c: make sure we zero the whole ABI-compatible...
Thomas Vander Stichele [Thu, 1 Jun 2006 11:13:44 +0000 (11:13 +0000)]
libs/gst/dataprotocol/dataprotocol.c: make sure we zero the whole ABI-compatible area

Original commit message from CVS:

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

18 years agolibs/gst/base/gstcollectpads.c: Make sure the EOS flag is cleared from pads after...
Alessandro Decina [Thu, 1 Jun 2006 09:02:23 +0000 (09:02 +0000)]
libs/gst/base/gstcollectpads.c: Make sure the EOS flag is cleared from pads after a flush or stop. Fixes #343538.

Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
Make sure the EOS flag is cleared from pads after a flush
or stop. Fixes #343538.
* tests/check/libs/collectpads.c: (GST_START_TEST),
(gst_collect_pads_suite):
Added test for collectpads reusage after EOS.

18 years agogst/gst.c: set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
Sébastien Moutte [Tue, 30 May 2006 20:25:03 +0000 (20:25 +0000)]
gst/gst.c: set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK

Original commit message from CVS:
* gst/gst.c:
set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
* win32/common/libgstbase.def:
export gst_collect_pads_set_flushing
* win32/common/libgstreamer.def:
export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
gst_value_fraction_multiply
* win32/vs6/gst_inspect.dsp:
add a link to intl.lib

18 years agolibs/gst/base/gstcollectpads.c: Handle the case where a pad is removed from the colle...
Wim Taymans [Tue, 30 May 2006 15:55:19 +0000 (15:55 +0000)]
libs/gst/base/gstcollectpads.c: Handle the case where a pad is removed from the collection that could cause the other...

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
(gst_collect_pads_chain):
Handle the case where a pad is removed from the collection
that could cause the other pads to become collectable.

18 years agogst/gstelement.c: Clarify the use of _release_request_pad() and _get_request_pad...
Wim Taymans [Tue, 30 May 2006 15:53:40 +0000 (15:53 +0000)]
gst/gstelement.c: Clarify the use of _release_request_pad() and _get_request_pad() a bit better.

Original commit message from CVS:
* gst/gstelement.c:
Clarify the use of _release_request_pad() and
_get_request_pad() a bit better.
* libs/gst/base/gstadapter.c: (gst_adapter_peek),
(gst_adapter_take_buffer):
Fix some doc and comment typos.

18 years agodocs/: add declared symbols
Thomas Vander Stichele [Tue, 30 May 2006 14:43:35 +0000 (14:43 +0000)]
docs/: add declared symbols

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* docs/libs/gstreamer-libs-sections.txt:
add declared symbols

18 years agoupdate po files
Thomas Vander Stichele [Tue, 30 May 2006 14:41:15 +0000 (14:41 +0000)]
update po files

Original commit message from CVS:
update po files

18 years agofix build
Thomas Vander Stichele [Tue, 30 May 2006 14:40:48 +0000 (14:40 +0000)]
fix build

Original commit message from CVS:
fix build

18 years agoadded HAVE_FORK
Thomas Vander Stichele [Tue, 30 May 2006 14:03:58 +0000 (14:03 +0000)]
added HAVE_FORK

Original commit message from CVS:
added HAVE_FORK

18 years agogst/gstsystemclock.c: Add debug that can be enabled using a #define at the top of...
Jan Schmidt [Tue, 30 May 2006 12:04:29 +0000 (12:04 +0000)]
gst/gstsystemclock.c: Add debug that can be enabled using a #define at the top of the file, for dumping stats about h...

Original commit message from CVS:
* gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
Add debug that can be enabled using a #define at the top of the file,
for dumping stats about how late/early we were when waking up from
waiting on the clock.

18 years agolibs/gst/base/gstcollectpads.c: When rebuilding the pad list, don't leak the previous...
Wim Taymans [Tue, 30 May 2006 11:43:43 +0000 (11:43 +0000)]
libs/gst/base/gstcollectpads.c: When rebuilding the pad list, don't leak the previous list.

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
When rebuilding the pad list, don't leak the previous list.

18 years agolibs/gst/base/gstbasesrc.c: Publish supported query types.
Lutz Mueller [Tue, 30 May 2006 10:57:44 +0000 (10:57 +0000)]
libs/gst/base/gstbasesrc.c: Publish supported query types.

Original commit message from CVS:
Patch by: Lutz Mueller <lutz at topfrose dot de>
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_get_query_types), (gst_base_src_update_length):
Publish supported query types.
Update last_stop field in get_range mode so the position
query works. Fixes #342321.

18 years agoAPI: add GST_TAG_PREVIEW_IMAGE (#343341).
Tim-Philipp Müller [Tue, 30 May 2006 10:12:02 +0000 (10:12 +0000)]
API: add GST_TAG_PREVIEW_IMAGE (#343341).

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
API: add GST_TAG_PREVIEW_IMAGE (#343341).

18 years agolibs/gst/base/gstcollectpads.c: Unlock mutex when removing an unknown pad.
Alessandro Decina [Tue, 30 May 2006 09:42:09 +0000 (09:42 +0000)]
libs/gst/base/gstcollectpads.c: Unlock mutex when removing an unknown pad.

Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
Unlock mutex when removing an unknown pad.
Fixes #343334.
* tests/check/Makefile.am:
* tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
(push_event), (setup), (teardown), (GST_START_TEST),
(gst_collect_pads_suite), (main):
Added collecpads check, disabled for now as check crashes for
some reason.

18 years agolibs/gst/base/gstcollectpads.c: Don't leak pads lists.
Wim Taymans [Mon, 29 May 2006 17:20:03 +0000 (17:20 +0000)]
libs/gst/base/gstcollectpads.c: Don't leak pads lists.

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
Don't leak pads lists.

18 years agoAPI: gst_collect_pads_set_flushing
Wim Taymans [Mon, 29 May 2006 16:00:13 +0000 (16:00 +0000)]
API: gst_collect_pads_set_flushing

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstcollectpads.c:
(gst_collect_pads_set_flushing_unlocked),
(gst_collect_pads_set_flushing), (gst_collect_pads_start),
(gst_collect_pads_stop):
* libs/gst/base/gstcollectpads.h:
API: gst_collect_pads_set_flushing
Added api to set the pads to flushing, usefull for seeking
code in elements using collectpads.
Clear segment when receiving a flush.

18 years agogst/gst.c: Don't scan registry paths passed via --gst-plugin--path immediately (will...
Tim-Philipp Müller [Mon, 29 May 2006 11:52:50 +0000 (11:52 +0000)]
gst/gst.c: Don't scan registry paths passed via --gst-plugin--path immediately (will crash, because absolutely nothin...

Original commit message from CVS:
* gst/gst.c: (add_path_func), (init_post):
Don't scan registry paths passed via --gst-plugin--path immediately
(will crash, because absolutely nothing is set up and no types are
registered etc.); do this later in init_post(). Fixes #343057.

18 years agogst/gst.c: if we have fork, fork while reading/rebuilding the registry so the parent...
Thomas Vander Stichele [Sun, 28 May 2006 09:09:03 +0000 (09:09 +0000)]
gst/gst.c: if we have fork, fork while reading/rebuilding the registry so the parent doesn't take the hit of having a...

Original commit message from CVS:

* gst/gst.c: (init_post):
if we have fork, fork while reading/rebuilding the registry
so the parent doesn't take the hit of having all plugins loaded
in memory.  Fixes #342777.
* configure.ac:
Check if we have fork()
* win32/common/config.h.in:
no fork() on win32

18 years agoplugins/elements/: Add a use-mmap property to enable easier testing of all code paths.
Jan Schmidt [Fri, 26 May 2006 13:52:03 +0000 (13:52 +0000)]
plugins/elements/: Add a use-mmap property to enable easier testing of all code paths.

Original commit message from CVS:
* plugins/elements/gstelements.c:
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
(gst_file_src_init), (gst_file_src_set_property),
(gst_file_src_get_property), (gst_file_src_start):
* plugins/elements/gstfilesrc.h:
Add a use-mmap property to enable easier testing of all code paths.
Bump rank to PRIMARY, so filesrc is the preferred file reader and used
in the absence of gnomevfssrc. (Closes #340501)

18 years agotools/gst-inspect.c: Add missing include, removes warning of ngettext not being defin...
Zaheer Abbas Merali [Fri, 26 May 2006 10:35:34 +0000 (10:35 +0000)]
tools/gst-inspect.c: Add missing include, removes warning of ngettext not being defined on some arches.

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

* tools/gst-inspect.c:
Add missing include, removes warning of ngettext not being defined on
some arches.

18 years agogst/gstvalue.c: Handle NULL input and output pointers silently as a failed conversion...
Jan Schmidt [Fri, 26 May 2006 09:19:24 +0000 (09:19 +0000)]
gst/gstvalue.c: Handle NULL input and output pointers silently as a failed conversion, rather than g_warnings.

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_deserialize_fraction):
Handle NULL input and output pointers silently as a failed conversion,
rather than g_warnings.

18 years agolibs/gst/net/gstnetclientclock.c: Initialize variable before using. Fixes #342820.
Wim Taymans [Thu, 25 May 2006 15:52:19 +0000 (15:52 +0000)]
libs/gst/net/gstnetclientclock.c: Initialize variable before using. Fixes #342820.

Original commit message from CVS:
* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
Initialize variable before using. Fixes #342820.

18 years agolibs/gst/base/gsttypefindhelper.c: Fix off-by-one bug that would only allow peeks...
Tim-Philipp Müller [Wed, 24 May 2006 17:11:06 +0000 (17:11 +0000)]
libs/gst/base/gsttypefindhelper.c: Fix off-by-one bug that would only allow peeks of N-1 bytes from the start even if...

Original commit message from CVS:
* libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
Fix off-by-one bug that would only allow peeks of N-1 bytes
from the start even if the buffer to typefind on contains
in fact N bytes of data (makes vorbis typefinding from a
vorbis identification header buffer work).
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/typefindhelper.c: (GST_START_TEST),
(gst_typefindhelper_suite), (main), (foobar_typefind),
(plugin_init):
Add very basic unit test for gst_type_find_helper_for_buffer()
that checks for the problem fixed above.

18 years agodoc indent fix
Thomas Vander Stichele [Wed, 24 May 2006 09:00:47 +0000 (09:00 +0000)]
doc indent fix

Original commit message from CVS:
doc indent fix

18 years agomark more strings for translation
Thomas Vander Stichele [Wed, 24 May 2006 09:00:10 +0000 (09:00 +0000)]
mark more strings for translation

Original commit message from CVS:
mark more strings for translation

18 years agodocs/gst/gstreamer-sections.txt: Make new GST_FLOW_IS_SUCCESS macro visible in docs.
Julien Moutte [Tue, 23 May 2006 14:23:49 +0000 (14:23 +0000)]
docs/gst/gstreamer-sections.txt: Make new GST_FLOW_IS_SUCCESS macro visible in docs.

Original commit message from CVS:
Patch by: Julien Moutte  <julien at moutte net>
* docs/gst/gstreamer-sections.txt:
Make new GST_FLOW_IS_SUCCESS macro visible in docs.
* plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
(gst_fake_sink_preroll):
* plugins/elements/gstfakesink.h:
Add new ::preroll-handoff signal (#337100).

18 years agogst/gstpad.*: Added _CUSTOM error and success GstFlowReturn that can be used be eleme...
Wim Taymans [Tue, 23 May 2006 11:13:51 +0000 (11:13 +0000)]
gst/gstpad.*: Added _CUSTOM error and success GstFlowReturn that can be used be elements internally.

Original commit message from CVS:
* gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
* gst/gstpad.h:
Added _CUSTOM error and success GstFlowReturn that can be
used be elements internally.
Added macro to check for SUCCESS flowreturns.
API: GST_FLOW_CUSTOM_SUCCESS
API: GST_FLOW_CUSTOM_ERROR
API: GST_FLOW_IS_SUCCESS
* tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
Added check for GstFlowReturn sanity.

18 years agolibs/gst/base/gstcollectpads.c: clear/reset segment info in FLUSH_STOP.
Mark Nauwelaerts [Tue, 23 May 2006 09:40:14 +0000 (09:40 +0000)]
libs/gst/base/gstcollectpads.c: clear/reset segment info in FLUSH_STOP.

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
(gst_collect_pads_event):
clear/reset segment info in FLUSH_STOP.
Fixes #336929.

18 years agolibs/gst/base/gstcollectpads.c: Flush queued buffer on _stop(), fixes playing again...
Stefan Kost [Mon, 22 May 2006 16:30:34 +0000 (16:30 +0000)]
libs/gst/base/gstcollectpads.c: Flush queued buffer on _stop(), fixes playing again (#342454)

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
(gst_collect_pads_check_collected):
Flush queued buffer on _stop(), fixes playing again (#342454)

18 years agotests/check/gst/gststructure.c: add a test for a complete structure
Thomas Vander Stichele [Mon, 22 May 2006 13:34:03 +0000 (13:34 +0000)]
tests/check/gst/gststructure.c: add a test for a complete structure

Original commit message from CVS:
* tests/check/gst/gststructure.c: (GST_START_TEST),
(gst_structure_suite):
add a test for a complete structure

18 years agodebugging changes
Thomas Vander Stichele [Mon, 22 May 2006 13:31:48 +0000 (13:31 +0000)]
debugging changes

Original commit message from CVS:
debugging changes

18 years agodocs/faq/: Some minor FAQ updates that won't change the fact that our FAQ is badly...
Tim-Philipp Müller [Fri, 19 May 2006 15:35:41 +0000 (15:35 +0000)]
docs/faq/: Some minor FAQ updates that won't change the fact that our FAQ is badly structured, full of information ha...

Original commit message from CVS:
* docs/faq/developing.xml:
* docs/faq/faq.xml:
* docs/faq/troubleshooting.xml:
* docs/faq/using.xml:
Some minor FAQ updates that won't change the fact that
our FAQ is badly structured, full of information hardly
anyone new to GStreamer needs to know and lacking lots
of information people constantly ask for.

18 years agogst/gstpad.c: Short-circuit gst_pad_set_caps if setting the existing caps pointer...
Jan Schmidt [Fri, 19 May 2006 13:46:10 +0000 (13:46 +0000)]
gst/gstpad.c: Short-circuit gst_pad_set_caps if setting the existing caps pointer again, and avoid printing debug and...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_caps):
Short-circuit gst_pad_set_caps if setting the existing
caps pointer again, and avoid printing debug and
reffing/unreffing the caps.
* plugins/elements/gstqueue.c: (gst_queue_push_one):
There's actually no need to set the caps before pushing -
the acceptcaps method will handle it anyway.

18 years agoAPI: add gst_element_seek_simple() (#342238).
Tim-Philipp Müller [Fri, 19 May 2006 10:29:07 +0000 (10:29 +0000)]
API: add gst_element_seek_simple() (#342238).

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* win32/common/libgstreamer.def:
* gst/gstutils.c: (gst_element_seek_simple):
* gst/gstutils.h:
API: add gst_element_seek_simple() (#342238).

18 years agogst/gsttypefind.*: Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType...
Edward Hervey [Thu, 18 May 2006 14:25:00 +0000 (14:25 +0000)]
gst/gsttypefind.*: Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets registered for GstTypeFind p...

Original commit message from CVS:
* gst/gsttypefind.c: (gst_type_find_get_type):
* gst/gsttypefind.h:
Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
registered for GstTypeFind pointers. This allows wrapping the structure
in bindings (i.e. gst-python).

18 years agogst/gsttagsetter.c: Docs additions and fixes (see #339918).
Tim-Philipp Müller [Thu, 18 May 2006 14:01:03 +0000 (14:01 +0000)]
gst/gsttagsetter.c: Docs additions and fixes (see #339918).

Original commit message from CVS:
* gst/gsttagsetter.c:
Docs additions and fixes (see #339918).

18 years agoplugins/elements/gstcapsfilter.c: The caps intersection algorithm can produce multipl...
Jan Schmidt [Thu, 18 May 2006 09:07:55 +0000 (09:07 +0000)]
plugins/elements/gstcapsfilter.c: The caps intersection algorithm can produce multiple copies of the caps. Until that...

Original commit message from CVS:
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
The caps intersection algorithm can produce multiple copies of the
caps. Until that is fixed, we need to simplify the result to be
sure whether the allowed caps are fixed or not.
* plugins/elements/gstqueue.c: (gst_queue_init),
(gst_queue_bufferalloc), (gst_queue_acceptcaps),
(gst_queue_push_one):
Proxied buffer alloc should not set the caps on the source pad.
When pushing buffers, we always accept the caps change that triggers.
This prevents negotiation errors caused by caps changing mid-stream
and then being refused on our source pad (because upstream is now
refusing those caps).

18 years agotests/examples/helloworld/helloworld.c: Must plug audioconvert and audioresample...
Tim-Philipp Müller [Thu, 18 May 2006 08:48:21 +0000 (08:48 +0000)]
tests/examples/helloworld/helloworld.c: Must plug audioconvert and audioresample between decoder and audio sink.

Original commit message from CVS:
* tests/examples/helloworld/helloworld.c: (main):
Must plug audioconvert and audioresample between decoder
and audio sink.

18 years agoMention bug fixed by previous commit
Jan Schmidt [Wed, 17 May 2006 14:18:12 +0000 (14:18 +0000)]
Mention bug fixed by previous commit

Original commit message from CVS:
Mention bug fixed by previous commit

18 years agogst/gstregistryxml.c: Allow empty strings for some of the plugin fields so we don...
Jan Schmidt [Wed, 17 May 2006 14:01:33 +0000 (14:01 +0000)]
gst/gstregistryxml.c: Allow empty strings for some of the plugin fields so we don't drop valid plugin entries that we...

Original commit message from CVS:
* gst/gstregistryxml.c: (read_string), (load_pad_template),
(load_feature), (load_plugin):
Allow empty strings for some of the plugin fields so we don't
drop valid plugin entries that were written out correctly.

18 years agogst/gstregistryxml.c: Use g_remove and g_rename instead of remove and rename that...
Sébastien Moutte [Wed, 17 May 2006 13:40:20 +0000 (13:40 +0000)]
gst/gstregistryxml.c: Use g_remove and g_rename instead of remove and rename that don't handle utf8 characters. renam...

Original commit message from CVS:
* gst/gstregistryxml.c: (gst_registry_xml_write_cache):
Use g_remove and g_rename instead of remove and rename that don't
handle utf8 characters. rename was failing for users who had specific
characters in their name then the registry was built at each gstreamer init.
* win32/vs6/gst_inspect.dsp:
* win32/vs6/gst_launch.dsp:
* win32/vs6/libgstbase.dsp:
* win32/vs6/libgstcoreelements.dsp:
* win32/vs6/libgstreamer.dsp:
Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG build
of libgstreamer and clean unused libraries in project links settings.

18 years agoplugins/elements/gstqueue.c: The queue is not responsible for pushing an EOS when...
Edward Hervey [Wed, 17 May 2006 09:24:34 +0000 (09:24 +0000)]
plugins/elements/gstqueue.c: The queue is not responsible for pushing an EOS when receiving a fatal flow error. It's ...

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_push_one):
The queue is not responsible for pushing an EOS when receiving a fatal
flow error. It's up to the real element driving the pipeline to do that.

18 years agoplugins/elements/gstqueue.c: The queue was posting a non-needed GST_MESSAGE_ERROR...
Edward Hervey [Tue, 16 May 2006 17:15:02 +0000 (17:15 +0000)]
plugins/elements/gstqueue.c: The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a buffer returned a fa...

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_push_one):
The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
buffer returned a fatal error. It should just send an EOS and stop
it's task.
Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
when pushing buffers on the queue and will be able to handle the event.

18 years agodocs/manual/: Fix typos and minor errors in sample code (#341856).
Tim-Philipp Müller [Tue, 16 May 2006 16:10:38 +0000 (16:10 +0000)]
docs/manual/: Fix typos and minor errors in sample code (#341856).

Original commit message from CVS:
* docs/manual/basics-bins.xml:
* docs/manual/basics-init.xml:
Fix typos and minor errors in sample code (#341856).

18 years agodocs/design/part-qos.txt: Fix indexes in formulas to make more sense.
Wim Taymans [Tue, 16 May 2006 13:31:32 +0000 (13:31 +0000)]
docs/design/part-qos.txt: Fix indexes in formulas to make more sense.

Original commit message from CVS:
* docs/design/part-qos.txt:
Fix indexes in formulas to make more sense.

18 years agolibs/gst/base/gstbasesink.c: Don't report POSITION based on clock time if sync is...
Wim Taymans [Mon, 15 May 2006 11:54:22 +0000 (11:54 +0000)]
libs/gst/base/gstbasesink.c: Don't report POSITION based on clock time if sync is disabled in a sink.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
Don't report POSITION based on clock time if sync is
disabled in a sink.

18 years agogst/gstobject.h: Add cast to make compiler happy - refcount variable was a gint in...
Tim-Philipp Müller [Mon, 15 May 2006 08:16:09 +0000 (08:16 +0000)]
gst/gstobject.h: Add cast to make compiler happy - refcount variable was a gint in GstObject but is a guint in GObjec...

Original commit message from CVS:
* gst/gstobject.h:
Add cast to make compiler happy - refcount variable was a gint
in GstObject but is a guint in GObject and g_atomic_int_get()
wants a gint *.

18 years agofix parallel make
Thomas Vander Stichele [Sun, 14 May 2006 23:23:56 +0000 (23:23 +0000)]
fix parallel make

Original commit message from CVS:
fix parallel make

18 years agoupdate config.h
Thomas Vander Stichele [Sun, 14 May 2006 21:18:23 +0000 (21:18 +0000)]
update config.h

Original commit message from CVS:
update config.h

18 years agowhitespace fixes
Thomas Vander Stichele [Sun, 14 May 2006 21:16:58 +0000 (21:16 +0000)]
whitespace fixes

Original commit message from CVS:
whitespace fixes

18 years agosome streamheader updates
Thomas Vander Stichele [Sun, 14 May 2006 21:16:50 +0000 (21:16 +0000)]
some streamheader updates

Original commit message from CVS:
some streamheader updates

18 years agoMinor docs fixes.
Tim-Philipp Müller [Sun, 14 May 2006 19:25:51 +0000 (19:25 +0000)]
Minor docs fixes.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstevent.c:
* gst/gstevent.h:
* gst/gstmessage.h:
Minor docs fixes.

18 years agoBack to CVS
Jan Schmidt [Sun, 14 May 2006 16:03:20 +0000 (16:03 +0000)]
Back to CVS

Original commit message from CVS:
Back to CVS

18 years agoconfigure.ac: releasing 0.10.6, "Take the cannoli" RELEASE-0_10_6
Jan Schmidt [Sun, 14 May 2006 15:20:24 +0000 (15:20 +0000)]
configure.ac: releasing 0.10.6, "Take the cannoli"

Original commit message from CVS:
2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.6, "Take the cannoli"

18 years agoUpdate .po files
Jan Schmidt [Sun, 14 May 2006 15:18:02 +0000 (15:18 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agotools/gst-launch.c: Fix use of uninitialized variable in the hypothetical case that...
Tim-Philipp Müller [Sat, 13 May 2006 17:50:11 +0000 (17:50 +0000)]
tools/gst-launch.c: Fix use of uninitialized variable in the hypothetical case that some broken plugin creates a GST_...

Original commit message from CVS:
* tools/gst-launch.c: (print_tag):
Fix use of uninitialized variable in the hypothetical
case that some broken plugin creates a GST_TAG_IMAGE
tag containing a NULL buffer (#341667).

18 years agotools/gst-launch.c: Print something more intelligible for image tags when using the...
Tim-Philipp Müller [Fri, 12 May 2006 16:50:37 +0000 (16:50 +0000)]
tools/gst-launch.c: Print something more intelligible for image tags when using the -t switch (#341556).

Original commit message from CVS:
* tools/gst-launch.c: (print_tag):
Print something more intelligible for image tags when
using the -t switch (#341556).

18 years agoMakefile.am: updates for win32
Thomas Vander Stichele [Fri, 12 May 2006 14:53:49 +0000 (14:53 +0000)]
Makefile.am: updates for win32

Original commit message from CVS:
* Makefile.am:
updates for win32
* configure.ac:
define GST_MAJORMINOR so we have it available in win32/common/config.h
Possibly remove it from our Makefile.am files later
* win32/common/config.h:
* win32/common/config.h.in:
added GST_MAJORMINOR
* win32/common/gstenumtypes.c: (register_gst_resource_error):
* win32/common/gstversion.h:
updated

18 years agoadding notes about current implementation and ideas about streamheader
Thomas Vander Stichele [Fri, 12 May 2006 13:42:54 +0000 (13:42 +0000)]
adding notes about current implementation and ideas about streamheader

Original commit message from CVS:
adding notes about current implementation and ideas about streamheader

18 years agowin32/MANIFEST: Update win32 files listing.
Sébastien Moutte [Fri, 12 May 2006 10:50:42 +0000 (10:50 +0000)]
win32/MANIFEST: Update win32 files listing.

Original commit message from CVS:
* win32/MANIFEST:
Update win32 files listing.
* win32/common/gstversion.h:
Add GST_MAJORMINOR definition.
* win32/common/libgstreamer.def:
Add new exported functions.

18 years agogst/gstplugin.c: If an so file has no plugin entry point, unload the module.
Michael Smith [Fri, 12 May 2006 09:28:22 +0000 (09:28 +0000)]
gst/gstplugin.c: If an so file has no plugin entry point, unload the module.

Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_load_file):
If an so file has no plugin entry point, unload the module.

18 years agoplugins/elements/gstqueue.c: Don't forget to signal the _chain or _loop function...
Wim Taymans [Thu, 11 May 2006 19:07:48 +0000 (19:07 +0000)]
plugins/elements/gstqueue.c: Don't forget to signal the _chain or _loop function when the queue size or thresholds ch...

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
(gst_queue_set_property):
Don't forget to signal the _chain or _loop function
when the queue size or thresholds change since that might
cause them to make progres again.

18 years agoG_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
Stefan Kost [Thu, 11 May 2006 18:10:34 +0000 (18:10 +0000)]
G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core

Original commit message from CVS:
* gst/gstclock.c: (gst_clock_class_init):
* gst/gstindex.c: (gst_index_class_init):
* gst/gstobject.c: (gst_object_class_init):
* gst/gstpad.c: (gst_pad_class_init):
* gst/gstpipeline.c: (gst_pipeline_class_init):
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_class_init):
* libs/gst/net/gstnetclientclock.c:
(gst_net_client_clock_class_init):
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_class_init):
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
* plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
* plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
* plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
* plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
* plugins/elements/gstidentity.c: (gst_identity_class_init):
* plugins/elements/gsttee.c: (gst_tee_class_init):
* tests/old/examples/plugins/example.c: (gst_example_class_init):
* tests/old/testsuite/threads/signals.c: (gst_test_class_init):
G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core

18 years agogst/gstbuffer.c: Register subbufer along with the buffer type so that it does not...
Wim Taymans [Thu, 11 May 2006 10:35:14 +0000 (10:35 +0000)]
gst/gstbuffer.c: Register subbufer along with the buffer type so that it does not accidentally gets registered from N...

Original commit message from CVS:
* gst/gstbuffer.c: (_gst_buffer_initialize):
Register subbufer along with the buffer type so that
it does not accidentally gets registered from N
different streaming threads in a non threadsafe way.

18 years agogst/: Make gtk-doc generate docs for our inlined gst_buffer_ref(), gst_event_ref...
Tim-Philipp Müller [Wed, 10 May 2006 16:44:15 +0000 (16:44 +0000)]
gst/: Make gtk-doc generate docs for our inlined gst_buffer_ref(), gst_event_ref() and gst_message_ref() functions ag...

Original commit message from CVS:
* gst/gstbuffer.h:
* gst/gstevent.h:
* gst/gstmessage.h:
Make gtk-doc generate docs for our inlined gst_buffer_ref(),
gst_event_ref() and gst_message_ref() functions again
(ugly hack, please do fix if there's a better way besides
overrides.txt, which doesn't seem to work).

18 years agolibs/gst/check/gstcheck.h: add an assert for setting state to avoid lots of repetitiv...
Thomas Vander Stichele [Wed, 10 May 2006 15:49:30 +0000 (15:49 +0000)]
libs/gst/check/gstcheck.h: add an assert for setting state to avoid lots of repetitive code in the future

Original commit message from CVS:
2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>

* libs/gst/check/gstcheck.h:
add an assert for setting state to avoid lots of repetitive code
in the future

18 years agogst/gstvalue.c: fix a leak if no flags are set
Thomas Vander Stichele [Wed, 10 May 2006 15:38:53 +0000 (15:38 +0000)]
gst/gstvalue.c: fix a leak if no flags are set

Original commit message from CVS:

* gst/gstvalue.c: (gst_value_serialize_flags):
fix a leak if no flags are set
* tests/check/gst/gstvalue.c: (GST_START_TEST):
fix leak in tests

18 years agodocs/manual/basics-pads.xml: Expand a bit on caps and filtered links and update examp...
Tim-Philipp Müller [Wed, 10 May 2006 15:00:32 +0000 (15:00 +0000)]
docs/manual/basics-pads.xml: Expand a bit on caps and filtered links and update examples that were still using the no...

Original commit message from CVS:
* docs/manual/basics-pads.xml:
Expand a bit on caps and filtered links and update
examples that were still using the no longer existing
gst_pad_link_filtered() (#338206).

18 years agolibs/gst/base/gstcollectpads.*: No need to call _stop in _finalize.
Wim Taymans [Wed, 10 May 2006 14:51:33 +0000 (14:51 +0000)]
libs/gst/base/gstcollectpads.*: No need to call _stop in _finalize.

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
(gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
(gst_collect_pads_set_flushing), (gst_collect_pads_start),
(gst_collect_pads_stop):
* libs/gst/base/gstcollectpads.h:
No need to call _stop in _finalize.
Iterate the main pad list in _finalize.
Added some more debug.
Free lists and data in the right order.
Also free data whem doing _remove_pad when stopped for
backward compatibility protect ::started with PAD_LOCK as
well.

18 years agogst/gststructure.c: add some comments rename a method so that it actually says what...
Thomas Vander Stichele [Wed, 10 May 2006 14:12:14 +0000 (14:12 +0000)]
gst/gststructure.c: add some comments rename a method so that it actually says what it does better

Original commit message from CVS:

* gst/gststructure.c: (gst_structure_gtype_from_abbr),
(gst_structure_parse_value):
add some comments
rename a method so that it actually says what it does better

18 years agogst/: make sure some essential types used by events are registered as part of gst_init()
Thomas Vander Stichele [Wed, 10 May 2006 14:05:46 +0000 (14:05 +0000)]
gst/: make sure some essential types used by events are registered as part of gst_init()

Original commit message from CVS:
* gst/gstevent.c: (_gst_event_initialize):
* gst/gstformat.c: (_gst_format_initialize):
make sure some essential types used by events are registered
as part of gst_init()
* gst/gstvalue.c: (gst_value_serialize_flags):
if no flags are set, serialize them to a value that represents NONE
so that deserializing them works
* tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
add tests for serialization and deserialization of flags

18 years agolimit to 80 chars add note about changing divider for flags
Thomas Vander Stichele [Wed, 10 May 2006 13:53:48 +0000 (13:53 +0000)]
limit to 80 chars add note about changing divider for flags

Original commit message from CVS:
limit to 80 chars
add note about changing divider for flags

18 years agolibs/gst/base/gstcollectpads.c: Update docs.
Wim Taymans [Wed, 10 May 2006 11:24:55 +0000 (11:24 +0000)]
libs/gst/base/gstcollectpads.c: Update docs.

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
(gst_collect_pads_collect_range), (gst_collect_pads_available),
(gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
(gst_collect_pads_event), (gst_collect_pads_chain):
Update docs.
Better debug info.
Catch and return errors from the collect function
Refuse data on eos pads.

18 years agogst/gstinterface.h: GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use...
Edward Hervey [Wed, 10 May 2006 10:26:55 +0000 (10:26 +0000)]
gst/gstinterface.h: GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal

Original commit message from CVS:
* gst/gstinterface.h:
GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
GInterface type checking.
They were previously using non-defined macros.

18 years agolibs/gst/base/gstcollectpads.*: Clean up the mess that is collectpads, add comments and
Wim Taymans [Tue, 9 May 2006 20:47:23 +0000 (20:47 +0000)]
libs/gst/base/gstcollectpads.*: Clean up the mess that is collectpads, add comments and

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
(gst_collect_pads_finalize), (gst_collect_pads_add_pad),
(gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
(gst_collect_pads_start), (gst_collect_pads_stop),
(gst_collect_pads_peek), (gst_collect_pads_pop),
(gst_collect_pads_available), (gst_collect_pads_read),
(gst_collect_pads_flush), (gst_collect_pads_check_pads),
(gst_collect_pads_is_collected), (gst_collect_pads_event),
(gst_collect_pads_chain):
* libs/gst/base/gstcollectpads.h:
Clean up the mess that is collectpads, add comments and
FIXMEs where needed.
Maintain a separate pad list so we can add pads while
collecting the other ones. For this we need a new separate
lock (see comics).
Fix memory leak in finalize.
Refactor some weird code to set/unset pad flushing flags, mark
with comments.
Don't crash in _available, _read, _flush when we're EOS.
* tests/check/libs/.cvsignore:
Ignore adapter check binary.

18 years agodoc whitespace fixes
Thomas Vander Stichele [Tue, 9 May 2006 19:14:55 +0000 (19:14 +0000)]
doc whitespace fixes

Original commit message from CVS:
doc whitespace fixes

18 years agoConst-ify GEnumValue arrays.
Tim-Philipp Müller [Tue, 9 May 2006 17:58:35 +0000 (17:58 +0000)]
Const-ify GEnumValue arrays.

Original commit message from CVS:
* gst/gstindex.c: (gst_index_resolver_get_type):
* plugins/elements/gstfakesink.c:
(gst_fake_sink_state_error_get_type):
* plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
(gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
* plugins/elements/gstqueue.c: (queue_leaky_get_type):
Const-ify GEnumValue arrays.

18 years agotests/check/gst/gstbuffer.c: Add test case for flags + gst_buffer_make_metadata_writa...
Tim-Philipp Müller [Tue, 9 May 2006 13:23:06 +0000 (13:23 +0000)]
tests/check/gst/gstbuffer.c: Add test case for flags + gst_buffer_make_metadata_writable().

Original commit message from CVS:
* tests/check/gst/gstbuffer.c: (GST_START_TEST):
Add test case for flags + gst_buffer_make_metadata_writable().

18 years agogst/gstbuffer.c: gst_buffer_make_metadata_writable() should maintain the buffer flags...
Tim-Philipp Müller [Tue, 9 May 2006 12:01:32 +0000 (12:01 +0000)]
gst/gstbuffer.c: gst_buffer_make_metadata_writable() should maintain the buffer flags (those that make sense at least...

Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
gst_buffer_make_metadata_writable() should maintain the
buffer flags (those that make sense at least) (see #340859).

18 years agotools/: Fix up includes: need to include stdlib.h in tools.h for exit().
Tim-Philipp Müller [Tue, 9 May 2006 10:53:18 +0000 (10:53 +0000)]
tools/: Fix up includes: need to include stdlib.h in tools.h for exit().

Original commit message from CVS:
* tools/gst-inspect.c:
* tools/gst-launch.c:
* tools/gst-typefind.c:
* tools/gst-xmlinspect.c:
* tools/tools.h:
Fix up includes: need to include stdlib.h in tools.h for exit().

18 years agogst/gsttaglist.*: API: add GST_TAG_IMAGE tag (#340721).
Tim-Philipp Müller [Tue, 9 May 2006 10:02:51 +0000 (10:02 +0000)]
gst/gsttaglist.*: API: add GST_TAG_IMAGE tag (#340721).

Original commit message from CVS:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
API: add GST_TAG_IMAGE tag (#340721).

18 years agogst/gstquery.c: Added some docs for the segment query.
Wim Taymans [Mon, 8 May 2006 17:12:08 +0000 (17:12 +0000)]
gst/gstquery.c: Added some docs for the segment query.

Original commit message from CVS:
* gst/gstquery.c:
Added some docs for the segment query.

18 years agolibs/gst/base/gstbasesrc.c: Always push non-flushing serialized events in the streami...
Wim Taymans [Mon, 8 May 2006 17:03:13 +0000 (17:03 +0000)]
libs/gst/base/gstbasesrc.c: Always push non-flushing serialized events in the streaming thread.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
(gst_base_src_loop), (gst_base_src_change_state):
Always push non-flushing serialized events in the streaming
thread.

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

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

18 years agogst/gsterror.c: Add a missing error string.
Thomas Vander Stichele [Mon, 8 May 2006 15:52:28 +0000 (15:52 +0000)]
gst/gsterror.c: Add a missing error string.

Original commit message from CVS:

* gst/gsterror.c: (_gst_stream_errors_init):
Add a missing error string.

18 years agolibs/gst/base/gstbasesink.c: Add applied_rate to the debug
Jan Schmidt [Mon, 8 May 2006 14:55:26 +0000 (14:55 +0000)]
libs/gst/base/gstbasesink.c: Add applied_rate to the debug

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
Add applied_rate to the debug
* libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
Copy applied_rate into the outgoing NEWSEGMENT event

18 years agolibs/gst/base/gstbasesink.c: call ::unlock before taking the PREROLL_LOCK so we can...
Philippe Rouquier [Mon, 8 May 2006 11:49:43 +0000 (11:49 +0000)]
libs/gst/base/gstbasesink.c: call ::unlock before taking the PREROLL_LOCK so we can safely handle elements that lock ...

Original commit message from CVS:
Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
* libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
(gst_base_sink_change_state):
call ::unlock before taking the PREROLL_LOCK so we can safely
handle elements that lock in ::render.
Fixes #340174.

18 years agoautogen.sh: Darwin's libtoolize is in fact called glibtoolize.
Edward Hervey [Mon, 8 May 2006 11:43:19 +0000 (11:43 +0000)]
autogen.sh: Darwin's libtoolize is in fact called glibtoolize.

Original commit message from CVS:
* autogen.sh: (CONFIGURE_DEF_OPT):
Darwin's libtoolize is in fact called glibtoolize.
Adding glibtoolize to the list of accepted names for libtoolize.

18 years agolibs/gst/base/gstbasesrc.c: Unify error handling, don't post an error message when...
Wim Taymans [Mon, 8 May 2006 11:35:29 +0000 (11:35 +0000)]
libs/gst/base/gstbasesrc.c: Unify error handling, don't post an error message when a push() returns EOS but perform o...

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
Unify error handling, don't post an error message
when a push() returns EOS but perform our normal EOS
handling code. Fixes #340772.

18 years agodocs/design/part-overview.txt: Make upsteam/downstream concepts more clear.
Wim Taymans [Mon, 8 May 2006 09:52:33 +0000 (09:52 +0000)]
docs/design/part-overview.txt: Make upsteam/downstream concepts more clear.

Original commit message from CVS:
* docs/design/part-overview.txt:
Make upsteam/downstream concepts more clear.
Give an example of serialized/non-serialized events.
* docs/design/part-events.txt:
* docs/design/part-streams.txt:
Mention applied_rate.
* docs/design/part-trickmodes.txt:
Mention applied rate, flesh out some more use cases.
* gst/gstevent.c: (gst_event_new_new_segment),
(gst_event_parse_new_segment), (gst_event_new_new_segment_full),
(gst_event_parse_new_segment_full), (gst_event_new_tag),
(gst_event_parse_tag), (gst_event_new_buffer_size),
(gst_event_parse_buffer_size), (gst_event_new_qos),
(gst_event_parse_qos), (gst_event_parse_seek),
(gst_event_new_navigation):
* gst/gstevent.h:
Add applied_rate field to NEWSEGMENT event.
API: gst_event_new_new_segment_full()
API: gst_event_parse_new_segment_full()
* gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
(gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
(gst_segment_to_stream_time), (gst_segment_to_running_time):
* gst/gstsegment.h:
Add applied_rate to GstSegment structure.
Make calculation of stream_time and running_time more correct
wrt rate/applied_rate.
Add some more docs.
API: GstSegment::applied_rate field
API: gst_segment_set_newsegment_full();
* libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
(gst_base_sink_get_sync_times), (gst_base_sink_get_position):
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_eventfunc),
(gst_base_transform_handle_buffer):
Parse and use applied_rate in the GstSegment field.
* tests/check/gst/gstevent.c: (GST_START_TEST):
Add check for applied_rate field.
* tests/check/gst/gstsegment.c: (GST_START_TEST),
(gstsegments_suite):
Add more checks for various GstSegment operations.

18 years agolibs/gst/base/gstbasesink.c: Store the sync time of the buffer end position separatly...
Wim Taymans [Mon, 8 May 2006 09:16:01 +0000 (09:16 +0000)]
libs/gst/base/gstbasesink.c: Store the sync time of the buffer end position separatly in a new variable eos_rtime so ...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
(gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
(gst_base_sink_get_position), (gst_base_sink_change_state):
Store the sync time of the buffer end position separatly in a
new variable eos_rtime so we can properly sync the EOS event.
Fixes #340697.
Fix the docs for gst_base_sink_set_qos_enabled().
Don't set segment start to invalid value when we receive a
non TIME newsegment.
get closer to handling position reporting for negative rates
correctly.

18 years agogst/gstcaps.c: Docs about how to print caps for debug purposes.
Stefan Kost [Sun, 7 May 2006 19:57:48 +0000 (19:57 +0000)]
gst/gstcaps.c: Docs about how to print caps for debug purposes.

Original commit message from CVS:
* gst/gstcaps.c:
Docs about how to print caps for debug purposes.
* gst/gstpadtemplate.c: (gst_static_pad_template_get):
use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608

18 years agogst/gstelement.c: use full enum names and preprend a '%' in docs strings to make...
Stefan Kost [Sat, 6 May 2006 21:45:27 +0000 (21:45 +0000)]
gst/gstelement.c: use full enum names and preprend a '%' in docs strings to make recent gtk-doc turn that into a link

Original commit message from CVS:
* gst/gstelement.c:
use full enum names and preprend a '%' in docs strings to make recent
gtk-doc turn that into a link

18 years agodocs/manual/: Some typo fixes, some additions, some clarifications.
Tim-Philipp Müller [Fri, 5 May 2006 21:44:57 +0000 (21:44 +0000)]
docs/manual/: Some typo fixes, some additions, some clarifications.

Original commit message from CVS:
* docs/manual/basics-bins.xml:
* docs/manual/basics-bus.xml:
* docs/manual/basics-pads.xml:
Some typo fixes, some additions, some clarifications.

18 years agotools/: Use the string passed to g_option_context_new() for what it's intended for...
Tim-Philipp Müller [Fri, 5 May 2006 17:45:41 +0000 (17:45 +0000)]
tools/: Use the string passed to g_option_context_new() for what it's intended for - the program name is already prin...

Original commit message from CVS:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-run.c: (main):
* tools/gst-typefind.c: (main):
* tools/gst-xmlinspect.c: (main):
Use the string passed to g_option_context_new() for
what it's intended for - the program name is already
printed elsewhere.

18 years agotools/: Add back --version command line option (#340460).
Tim-Philipp Müller [Fri, 5 May 2006 17:07:42 +0000 (17:07 +0000)]
tools/: Add back --version command line option (#340460).

Original commit message from CVS:
* tools/Makefile.am:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-xmlinspect.c: (main):
* tools/tools.h:
Add back --version command line option (#340460).
* tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
Add --version option and use GOption for argument parsing; refactor a
bit; accept directories as arguments and recurse into them; lastly,
print a decent error message when things go wrong.

18 years agoDon't mention GstThread (#340611)
Maciej Katafiasz [Fri, 5 May 2006 14:38:01 +0000 (14:38 +0000)]
Don't mention GstThread (#340611)

Original commit message from CVS:
Don't mention GstThread (#340611)
Update link to GObject tutorial (#340607)

18 years agogst/: Add note about refcounting and miniobject/buffer writeability to docs. Fixes...
Wim Taymans [Fri, 5 May 2006 14:27:31 +0000 (14:27 +0000)]
gst/: Add note about refcounting and miniobject/buffer writeability to docs. Fixes #340604

Original commit message from CVS:
* gst/gstbuffer.h:
* gst/gstminiobject.c:
Add note about refcounting and miniobject/buffer writeability
to docs. Fixes #340604
* gst/gstelementfactory.h:
Added some explanation about @klass.

18 years agoAvoid CORBA & Bonobo references (#340598)
Maciej Katafiasz [Fri, 5 May 2006 14:09:21 +0000 (14:09 +0000)]
Avoid CORBA & Bonobo references (#340598)

Original commit message from CVS:
Avoid CORBA & Bonobo references (#340598)