glsdk/gstreamer0-10.git
15 years ago.cvsignore: Ignore more.
Tim-Philipp Müller [Fri, 7 Jul 2006 09:47:19 +0000 (09:47 +0000)]
.cvsignore: Ignore more.

Original commit message from CVS:
* .cvsignore:
Ignore more.

15 years agoMake gst-element-check-$VERSION.m4 call gst-inspect-$VERSION instead of the unversion...
Tim-Philipp Müller [Fri, 7 Jul 2006 09:09:10 +0000 (09:09 +0000)]
Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION instead of the unversioned gst-inspect (#324176, #168659).

Original commit message from CVS:
* Makefile.am:
* configure.ac:
* gst-element-check.m4:
* gst-element-check.m4.in:
Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
instead of the unversioned gst-inspect (#324176, #168659).

15 years agogst/gstmessage.h: Use a valid int for the _MESSAGE_ANY enum value to avoid compiler...
Wim Taymans [Thu, 6 Jul 2006 16:17:20 +0000 (16:17 +0000)]
gst/gstmessage.h: Use a valid int for the _MESSAGE_ANY enum value to avoid compiler warnings.

Original commit message from CVS:
* gst/gstmessage.h:
Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
warnings.

15 years agolibs/gst/base/gstbasesrc.c: Update docs. blocksize == 0 now means the default blocksi...
Wim Taymans [Thu, 6 Jul 2006 15:46:25 +0000 (15:46 +0000)]
libs/gst/base/gstbasesrc.c: Update docs. blocksize == 0 now means the default blocksize when working in push based mode.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_wait), (gst_base_src_update_length),
(gst_base_src_get_range), (gst_base_src_default_check_get_range),
(gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
(gst_base_src_loop), (gst_base_src_start),
(gst_base_src_activate_pull):
Update docs.
blocksize == 0 now means the default blocksize when working in push
based mode.
Remove some pointless asserts in _wait function.
Fix offset/length calculations and EOS handling. We can now pull 0
bytes as well, which is allowed.
use _check_get_range() to decide if we can operate in _pull based
mode.
Fix refcounting leak when check_get_range function was not
implemented.
API GstBaseSrc::blocksize range can be 0 too now (default)
* tests/check/elements/filesrc.c: (GST_START_TEST),
(filesrc_suite):
Added check to test _get_range() behaviour.

15 years agogst/gstpad.*: Lots of comments and docs added to the pad functions.
Wim Taymans [Thu, 6 Jul 2006 15:21:46 +0000 (15:21 +0000)]
gst/gstpad.*: Lots of comments and docs added to the pad functions.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
(gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
(gst_pad_pull_range):
* gst/gstpad.h:
Lots of comments and docs added to the pad functions.
Flesh out the expected behaviour of the get_range() functions.

15 years agogst/: Remove comma at end of enumerator list.
Wim Taymans [Thu, 6 Jul 2006 09:21:03 +0000 (09:21 +0000)]
gst/: Remove comma at end of enumerator list.

Original commit message from CVS:
* gst/gstbus.h:
* gst/gstclock.h:
* gst/gstevent.h:
* gst/gstiterator.h:
* gst/gstpad.h:
* gst/gstplugin.h:
* gst/gsttask.h:
Remove comma at end of enumerator list.

15 years agowin32/common/: Add new exported functions.
Sébastien Moutte [Wed, 5 Jul 2006 19:56:08 +0000 (19:56 +0000)]
win32/common/: Add new exported functions.

Original commit message from CVS:
* win32/common/libgstbase.def:
* win32/common/libgstdataprotocol.def:
* win32/common/libsgtreamer.def:
Add new exported functions.

15 years agolibs/gst/base/gstpushsrc.c: Add some more docs here and there.
Wim Taymans [Wed, 5 Jul 2006 18:20:58 +0000 (18:20 +0000)]
libs/gst/base/gstpushsrc.c: Add some more docs here and there.

Original commit message from CVS:
* libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
Add some more docs here and there.

15 years agolibs/gst/base/gstbasesink.c: When operating in pull mode update the offset so that...
Wim Taymans [Wed, 5 Jul 2006 18:18:47 +0000 (18:18 +0000)]
libs/gst/base/gstbasesink.c: When operating in pull mode update the offset so that we read sequentially.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
(gst_base_sink_loop), (gst_base_sink_get_position):
When operating in pull mode update the offset so that we
read sequentially.

15 years agogst/gstregistryxml.c: Avoid strdup. (will happen in libxml, but hey!)
Wim Taymans [Wed, 5 Jul 2006 18:17:01 +0000 (18:17 +0000)]
gst/gstregistryxml.c: Avoid strdup. (will happen in libxml, but hey!)

Original commit message from CVS:
* gst/gstregistryxml.c: (read_string):
Avoid strdup. (will happen in libxml, but hey!)
* gst/gsturi.c:
Add some more docs.

15 years agoNo point in checking if the size of the subbuffer > 0, the code handles it correclty...
Wim Taymans [Wed, 5 Jul 2006 17:09:18 +0000 (17:09 +0000)]
No point in checking if the size of the subbuffer > 0, the code handles it correclty as demonstrated by unit test.

Original commit message from CVS:
* gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
* tests/check/gst/gstbuffer.c: (GST_START_TEST),
(gst_buffer_suite):
No point in checking if the size of the subbuffer > 0, the
code handles it correclty as demonstrated by unit test.
Also add a unit test for the zero sized _new_and_alloc and
_copy. Fixes #346663.

15 years agolibs/gst/base/gstbasetransform.c: Make sure the buffer we pass to transform_ip has...
Wim Taymans [Wed, 5 Jul 2006 08:16:12 +0000 (08:16 +0000)]
libs/gst/base/gstbasetransform.c: Make sure the buffer we pass to transform_ip has a refcount of 1 and thus is writab...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_buffer_alloc),
(gst_base_transform_handle_buffer):
Make sure the buffer we pass to transform_ip has a refcount of
1 and thus is writable. Fixes #343196

15 years agoplugins/elements/gstfilesrc.*: Add "sequential" property, off by default, to use...
Jan Schmidt [Tue, 4 Jul 2006 09:01:51 +0000 (09:01 +0000)]
plugins/elements/gstfilesrc.*: Add "sequential" property, off by default, to use madvise and hint to the kernel that ...

Original commit message from CVS:
* 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_map_region):
* plugins/elements/gstfilesrc.h:
Add "sequential" property, off by default, to use madvise and hint
to the kernel that sequential access is desired.
Touch all retrieved pages by default to ensure they are pulled
into memory. (Closes #345720)

15 years agodocs/design/: Small docs updates.
Wim Taymans [Mon, 3 Jul 2006 17:44:09 +0000 (17:44 +0000)]
docs/design/: Small docs updates.

Original commit message from CVS:
* docs/design/part-block.txt:
* docs/design/part-dynamic.txt:
Small docs updates.

15 years agogst/: Use GSlice when the glib we build against is >= 2.10
Wim Taymans [Mon, 3 Jul 2006 16:57:54 +0000 (16:57 +0000)]
gst/: Use GSlice when the glib we build against is >= 2.10

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
(gst_caps_unref), (gst_static_caps_get),
(gst_caps_append_structure):
* gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
Use GSlice when the glib we build against is >= 2.10

15 years agogst/gstelement.c: Small cleanup in pad activation code.
Wim Taymans [Mon, 3 Jul 2006 16:46:07 +0000 (16:46 +0000)]
gst/gstelement.c: Small cleanup in pad activation code.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_pads_activate):
Small cleanup in pad activation code.

15 years agoThe attached patch will make the inclusion of gettext.h unconditional in gst/gst...
Peter Kjellerstedt [Mon, 3 Jul 2006 14:14:48 +0000 (14:14 +0000)]
The attached patch will make the inclusion of gettext.h unconditional in gst/gst-i18n-app.h and gst/gst-i18n-lib.h, a...

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis dot com>
* gst/gst-i18n-app.h:
* gst/gst-i18n-lib.h:
* tools/gst-inspect.c: (print_signal_info):
The attached patch will make the inclusion of gettext.h unconditional in
gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
libintl.h in tools/gst-inspect.c.
This allows use of --disable-nls again and fixes #344642.

15 years agofix leak
Thomas Vander Stichele [Mon, 3 Jul 2006 11:10:43 +0000 (11:10 +0000)]
fix leak

Original commit message from CVS:
fix leak

15 years agogst/gstpad.c: Implement pad blocking on events according to part-block.txt.
Edward Hervey [Mon, 3 Jul 2006 10:30:49 +0000 (10:30 +0000)]
gst/gstpad.c: Implement pad blocking on events according to part-block.txt.

Original commit message from CVS:
* gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
Implement pad blocking on events according to part-block.txt.
More comments on behaviour.
* tests/check/gst/gstevent.c: (test_event):
Send event to peer pad of blocked pad (else it will block).

15 years agolibs/gst/check/gstcheck.c: if we get the wrong message, give us the types as string
Thomas Vander Stichele [Sun, 2 Jul 2006 23:22:31 +0000 (23:22 +0000)]
libs/gst/check/gstcheck.c: if we get the wrong message, give us the types as string

Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_message_error),
(gst_check_run_suite):
if we get the wrong message, give us the types as string
* plugins/elements/gstfilesrc.c: (gst_file_src_start):
Fix a translatable
* tests/check/elements/filesrc.c: (GST_START_TEST):
add a test for trying to open a non-existing file

15 years agoadd macros
Thomas Vander Stichele [Sun, 2 Jul 2006 22:44:24 +0000 (22:44 +0000)]
add macros

Original commit message from CVS:
add macros

15 years agoremove double var
Thomas Vander Stichele [Sun, 2 Jul 2006 22:28:38 +0000 (22:28 +0000)]
remove double var

Original commit message from CVS:
remove double var

15 years agoclean more
Thomas Vander Stichele [Sun, 2 Jul 2006 22:27:32 +0000 (22:27 +0000)]
clean more

Original commit message from CVS:
clean more

15 years agomoap ignore
Thomas Vander Stichele [Sun, 2 Jul 2006 22:20:20 +0000 (22:20 +0000)]
moap ignore

Original commit message from CVS:
moap ignore

15 years agotests/check/gst/gstbin.c: add a test for adding self
Thomas Vander Stichele [Sun, 2 Jul 2006 22:17:31 +0000 (22:17 +0000)]
tests/check/gst/gstbin.c: add a test for adding self

Original commit message from CVS:
* tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
add a test for adding self

15 years agolibs/gst/check/gstcheck.h: add some assert_ as alias for fail_unless_*
Thomas Vander Stichele [Sun, 2 Jul 2006 22:05:48 +0000 (22:05 +0000)]
libs/gst/check/gstcheck.h: add some assert_ as alias for fail_unless_*

Original commit message from CVS:
* libs/gst/check/gstcheck.h:
add some assert_ as alias for fail_unless_*
* tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
increase test coverage

15 years agoMakefile.am: include lcov.mak for lcov coverage generation
Thomas Vander Stichele [Sun, 2 Jul 2006 21:54:43 +0000 (21:54 +0000)]
Makefile.am: include lcov.mak for lcov coverage generation

Original commit message from CVS:
* Makefile.am:
include lcov.mak for lcov coverage generation
* tools/Makefile.am:
add to CLEANFILES

15 years agowhitespace/doc fixes
Thomas Vander Stichele [Sun, 2 Jul 2006 21:52:57 +0000 (21:52 +0000)]
whitespace/doc fixes

Original commit message from CVS:
whitespace/doc fixes

15 years agotests/check/elements/.cvsignore: moaping
Edward Hervey [Sun, 2 Jul 2006 16:27:14 +0000 (16:27 +0000)]
tests/check/elements/.cvsignore: moaping

Original commit message from CVS:
* tests/check/elements/.cvsignore:
moaping

15 years agoconfigure.ac: don't set CFLAGS and friends for gcov, done from GST_GCOV now
Thomas Vander Stichele [Sun, 2 Jul 2006 14:39:12 +0000 (14:39 +0000)]
configure.ac: don't set CFLAGS and friends for gcov, done from GST_GCOV now

Original commit message from CVS:
* configure.ac:
don't set CFLAGS and friends for gcov, done from GST_GCOV now
* tests/check/Makefile.am:
clean up gcov files

15 years agogst/gstcaps.c: remove gst_caps_simplify; it was not declared and not used and depreca...
Thomas Vander Stichele [Sun, 2 Jul 2006 14:37:10 +0000 (14:37 +0000)]
gst/gstcaps.c: remove gst_caps_simplify; it was not declared and not used and deprecated in 0.8

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_remove_and_get_structure):
remove gst_caps_simplify; it was not declared and not used
and deprecated in 0.8

15 years agodocs/faq/gst-uninstalled: don't put empty paths on PYTHONPATH
Thomas Vander Stichele [Sun, 2 Jul 2006 14:05:54 +0000 (14:05 +0000)]
docs/faq/gst-uninstalled: don't put empty paths on PYTHONPATH

Original commit message from CVS:
* docs/faq/gst-uninstalled:
don't put empty paths on PYTHONPATH
* docs/gst/gstreamer-sections.txt:
remove some symbols that are not there

15 years agounbreak test
Thomas Vander Stichele [Sun, 2 Jul 2006 12:57:19 +0000 (12:57 +0000)]
unbreak test

Original commit message from CVS:
unbreak test

15 years agogst/gstcaps.c: whitespace fixes
Thomas Vander Stichele [Sun, 2 Jul 2006 12:54:03 +0000 (12:54 +0000)]
gst/gstcaps.c: whitespace fixes

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_compare_structures):
whitespace fixes
* tests/check/gst/gstbuffer.c: (GST_START_TEST):
* tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
add more tests

15 years agoignore more
Thomas Vander Stichele [Sun, 2 Jul 2006 12:52:09 +0000 (12:52 +0000)]
ignore more

Original commit message from CVS:
ignore more

15 years agolibs/gst/dataprotocol/Makefile.am: build dataprotocol test by linking to the lib...
Thomas Vander Stichele [Sun, 2 Jul 2006 09:04:45 +0000 (09:04 +0000)]
libs/gst/dataprotocol/Makefile.am: build dataprotocol test by linking to the lib, instead of compiling the source, so...

Original commit message from CVS:
* libs/gst/dataprotocol/Makefile.am:
build dataprotocol test by linking to the lib, instead of
compiling the source, so we get coverage
* tests/check/Makefile.am:
* tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
(cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
add a test for filesrc

15 years agotests/check/gst/gststructure.c: Push coverage from 59.04% to 70.00%
Thomas Vander Stichele [Sun, 2 Jul 2006 08:26:48 +0000 (08:26 +0000)]
tests/check/gst/gststructure.c: Push coverage from 59.04% to 70.00%

Original commit message from CVS:
* tests/check/gst/gststructure.c: (GST_START_TEST),
(gst_structure_suite):
Push coverage from 59.04% to 70.00%

15 years agotests/check/gst/gststructure.c: Push coverage from 59.04% to 70.00%
Thomas Vander Stichele [Sun, 2 Jul 2006 00:40:56 +0000 (00:40 +0000)]
tests/check/gst/gststructure.c: Push coverage from 59.04% to 70.00%

Original commit message from CVS:
* tests/check/gst/gststructure.c: (GST_START_TEST),
(gst_structure_suite):
Push coverage from 59.04% to 70.00%

15 years agomoap ignore
Thomas Vander Stichele [Sun, 2 Jul 2006 00:39:28 +0000 (00:39 +0000)]
moap ignore

Original commit message from CVS:
moap ignore

15 years agomoap ignore
Thomas Vander Stichele [Sun, 2 Jul 2006 00:38:35 +0000 (00:38 +0000)]
moap ignore

Original commit message from CVS:
moap ignore

15 years agotests/check/Makefile.am: gst-inspect every element; this makes sure that we also...
Thomas Vander Stichele [Sun, 2 Jul 2006 00:33:51 +0000 (00:33 +0000)]
tests/check/Makefile.am: gst-inspect every element; this makes sure that we also get coverage on element's get/set fu...

Original commit message from CVS:
* tests/check/Makefile.am:
gst-inspect every element; this makes sure that we also get
coverage on element's get/set functions
* tests/check/gst/gststructure.c: (GST_START_TEST),
(gst_structure_suite):
Push coverage from 59.04% to 70.00%

15 years agoconfigure.ac: set CFLAGS and friends to -O0 if gcov is being used add GCOV LIBS
Thomas Vander Stichele [Sat, 1 Jul 2006 23:26:06 +0000 (23:26 +0000)]
configure.ac: set CFLAGS and friends to -O0 if gcov is being used add GCOV LIBS

Original commit message from CVS:
* configure.ac:
set CFLAGS and friends to -O0 if gcov is being used
add GCOV LIBS
* gst/Makefile.am:
* libs/gst/base/Makefile.am:
* libs/gst/check/Makefile.am:
* libs/gst/controller/Makefile.am:
* libs/gst/dataprotocol/Makefile.am:
* libs/gst/net/Makefile.am:
* plugins/elements/Makefile.am:
* plugins/indexers/Makefile.am:
add makefile rules to generate gcov data and clean up
* tests/check/Makefile.am:
add a coverage target that generates an html overview
of coverage data

15 years agofix docs build
Thomas Vander Stichele [Sat, 1 Jul 2006 23:19:28 +0000 (23:19 +0000)]
fix docs build

Original commit message from CVS:
fix docs build

15 years agotests/check/: use the new macro
Thomas Vander Stichele [Sat, 1 Jul 2006 20:56:56 +0000 (20:56 +0000)]
tests/check/: use the new macro

Original commit message from CVS:
* tests/check/elements/fakesink.c:
* tests/check/elements/fakesrc.c:
* tests/check/elements/fdsrc.c:
* tests/check/elements/identity.c:
* tests/check/generic/sinks.c: (gst_sinks_suite):
* tests/check/generic/states.c:
* tests/check/gst/gst.c:
* tests/check/gst/gstabi.c:
* tests/check/gst/gstbin.c:
* tests/check/gst/gstbuffer.c: (gst_buffer_suite):
* tests/check/gst/gstbus.c: (gst_bus_suite):
* tests/check/gst/gstcaps.c: (GST_START_TEST):
* tests/check/gst/gstelement.c:
* tests/check/gst/gstevent.c: (gst_event_suite):
* tests/check/gst/gstghostpad.c:
* tests/check/gst/gstiterator.c: (gst_iterator_suite):
* tests/check/gst/gstmessage.c: (gst_message_suite):
* tests/check/gst/gstminiobject.c:
* tests/check/gst/gstobject.c:
* tests/check/gst/gstpad.c:
* tests/check/gst/gstpipeline.c:
* tests/check/gst/gstplugin.c:
* tests/check/gst/gstquery.c: (gst_query_suite):
* tests/check/gst/gstsegment.c: (gst_segment_suite):
* tests/check/gst/gststructure.c:
* tests/check/gst/gstsystemclock.c:
* tests/check/gst/gsttag.c:
* tests/check/gst/gsttask.c: (gst_task_suite):
* tests/check/gst/gstutils.c:
* tests/check/gst/gstvalue.c:
* tests/check/libs/adapter.c:
* tests/check/libs/basesrc.c:
* tests/check/libs/collectpads.c:
* tests/check/libs/controller.c:
* tests/check/libs/gdp.c: (gst_dp_suite):
* tests/check/libs/gstnetclientclock.c:
* tests/check/libs/gstnettimeprovider.c:
* tests/check/libs/libsabi.c: (libsabi_suite):
* tests/check/libs/typefindhelper.c:
* tests/check/pipelines/cleanup.c:
* tests/check/pipelines/parse-launch.c:
* tests/check/pipelines/simple-launch-lines.c:
* tests/check/pipelines/stress.c: (stress_suite):
use the new macro

15 years agolibs/gst/check/gstcheck.*: create a macro and function so that the simple unit test...
Thomas Vander Stichele [Sat, 1 Jul 2006 20:54:25 +0000 (20:54 +0000)]
libs/gst/check/gstcheck.*: create a macro and function so that the simple unit test case can be just one macro to cre...

Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_run_suite):
* libs/gst/check/gstcheck.h:
create a macro and function so that the simple unit test
case can be just one macro to create main()

15 years agogst/: Fix deserialisation from XML. Set parent manually instead of using gst_bin_add...
Tim-Philipp Müller [Fri, 30 Jun 2006 13:17:46 +0000 (13:17 +0000)]
gst/: Fix deserialisation from XML. Set parent manually instead of using gst_bin_add(), since gst_bin_add() will unli...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_restore_thyself):
* gst/gstxml.c: (gst_xml_make_element):
Fix deserialisation from XML. Set parent manually
instead of using gst_bin_add(), since gst_bin_add()
will unlink all pads of the element being added.
Fixes #341667.

15 years agogst/gst.c: Fix missing g_strdup() and double free when using the
Peter Kjellerstedt [Wed, 28 Jun 2006 15:19:08 +0000 (15:19 +0000)]
gst/gst.c: Fix missing g_strdup() and double free when using the

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
Fix missing g_strdup() and double free when using the
--gst-plugin-load command line option (#346097).

15 years agogst/gstinfo.c: Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
Tim-Philipp Müller [Fri, 23 Jun 2006 13:16:46 +0000 (13:16 +0000)]
gst/gstinfo.c: Promote GST_DEBUG_CATEGORY_STATIC in example in docs.

Original commit message from CVS:
* gst/gstinfo.c:
Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
* libs/gst/net/gstnetclientclock.c:
* libs/gst/net/gstnettimeprovider.c:
Use GST_DEBUG_CATEGORY_STATIC here too (#342503).

15 years agodocs/manual/advanced-dataaccess.xml: Fix buffer probe example compilation in
Tim-Philipp Müller [Fri, 23 Jun 2006 10:30:09 +0000 (10:30 +0000)]
docs/manual/advanced-dataaccess.xml: Fix buffer probe example compilation in

Original commit message from CVS:
* docs/manual/advanced-dataaccess.xml:
Fix buffer probe example compilation in
ADM (#345708).

15 years agogst/gstelement.c: We need to deactivate src pads first and then sink pads.
Edward Hervey [Thu, 22 Jun 2006 17:09:13 +0000 (17:09 +0000)]
gst/gstelement.c: We need to deactivate src pads first and then sink pads.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_pads_activate):
We need to deactivate src pads first and then sink pads.
The reason is the src pads might be blocking while holding the streaming
lock, so we need to deactivate them first so that deactivating the sink
pads doesn't block (since it will require the streaming lock).

15 years agolibs/gst/base/gstbasetransform.c: Forgot to remove two unneeded unrefs.
Wim Taymans [Thu, 22 Jun 2006 15:12:50 +0000 (15:12 +0000)]
libs/gst/base/gstbasetransform.c: Forgot to remove two unneeded unrefs.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_buffer_alloc):
Forgot to remove two unneeded unrefs.
Simplify a check _is_equal allready checks the obvious case.

15 years agodocs/design/part-block.txt: Some docs about what pad_block should do.
Wim Taymans [Thu, 22 Jun 2006 14:09:41 +0000 (14:09 +0000)]
docs/design/part-block.txt: Some docs about what pad_block should do.

Original commit message from CVS:
* docs/design/part-block.txt:
Some docs about what pad_block should do.

15 years agogst/gstcaps.c: Fix crasher when passed NULL. Doc clarification.
Wim Taymans [Thu, 22 Jun 2006 13:51:19 +0000 (13:51 +0000)]
gst/gstcaps.c: Fix crasher when passed NULL. Doc clarification.

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_replace):
Fix crasher when passed NULL. Doc clarification.
Optimize for the trivial case.
* gst/gstpipeline.c: (gst_pipeline_change_state):
Small cleanups.
* libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
Small documentation cleanup.
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_buffer_alloc):
Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
is what we need and it avoids a whole lot of redundant
refcount operations.

15 years agodocs/manual/advanced-dataaccess.xml: Fix 'Embedding static elements' section to use
Philip Jägenstedt [Thu, 22 Jun 2006 08:53:40 +0000 (08:53 +0000)]
docs/manual/advanced-dataaccess.xml: Fix 'Embedding static elements' section to use

Original commit message from CVS:
Patch by: Philip Jägenstedt  <philip at lysator liu se>
* docs/manual/advanced-dataaccess.xml:
Fix 'Embedding static elements' section to use
GST_PLUGIN_DEFINE_STATIC (#345607).

15 years agotests/check/pipelines/simple-launch-lines.c: Attempt to 'fix' spuriously failing...
Tim-Philipp Müller [Wed, 21 Jun 2006 11:12:24 +0000 (11:12 +0000)]
tests/check/pipelines/simple-launch-lines.c: Attempt to 'fix' spuriously failing test case: it seems like the timeout...

Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
Attempt to 'fix' spuriously failing test case: it seems like the
timeout of half a second is simply too small when the system is under
load otherwise, and the timeout doesn't really seem to serve any
particular purpose here. Give the pipeline a few seconds to preroll
first, and then give it another half a second to go from PAUSED to
PLAYING and marshal the message into the main thread.

15 years agotools/gst-feedback-m.m: Don't only use unversioned tools, try versioned tools as...
Tim-Philipp Müller [Wed, 21 Jun 2006 10:14:00 +0000 (10:14 +0000)]
tools/gst-feedback-m.m: Don't only use unversioned tools, try versioned tools as well (#345086).

Original commit message from CVS:
* tools/gst-feedback-m.m:
Don't only use unversioned tools, try versioned tools as well
(#345086).

15 years agogst/gstbus.c: Fix some typos, make docs more explicit.
Tim-Philipp Müller [Wed, 21 Jun 2006 10:01:58 +0000 (10:01 +0000)]
gst/gstbus.c: Fix some typos, make docs more explicit.

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_class_init):
Fix some typos, make docs more explicit.

15 years agotests/check/gst/gstghostpad.c: Added some more ghostpad tests, mainly blocking and...
Wim Taymans [Tue, 20 Jun 2006 08:40:40 +0000 (08:40 +0000)]
tests/check/gst/gstghostpad.c: Added some more ghostpad tests, mainly blocking and probes.

Original commit message from CVS:
* tests/check/gst/gstghostpad.c: (block_callback),
(GST_START_TEST), (gst_ghost_pad_suite):
Added some more ghostpad tests, mainly blocking
and probes.

15 years agolatest updates
Christian Schaller [Mon, 19 Jun 2006 08:56:48 +0000 (08:56 +0000)]
latest updates

Original commit message from CVS:
latest updates

15 years agoplugins/elements/gstfilesink.*: Check if we can seek in the file instead of assuming...
Wim Taymans [Fri, 16 Jun 2006 16:28:37 +0000 (16:28 +0000)]
plugins/elements/gstfilesink.*: Check if we can seek in the file instead of assuming we always can. Post an error whe...

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
(gst_file_sink_close_file), (gst_file_sink_do_seek),
(gst_file_sink_event), (gst_file_sink_render):
* plugins/elements/gstfilesink.h:
Check if we can seek in the file instead of assuming
we always can. Post an error when we are asked to seek in a
non-seekable file (like a fifo). Fixes #343312.
Some cleanups.

15 years agotools/gst-launch.1.in: Un-garble (fourcc) bit in filtered caps section.
Tim-Philipp Müller [Fri, 16 Jun 2006 14:31:07 +0000 (14:31 +0000)]
tools/gst-launch.1.in: Un-garble (fourcc) bit in filtered caps section.

Original commit message from CVS:
* tools/gst-launch.1.in:
Un-garble (fourcc) bit in filtered caps section.

15 years agodocs/manual/: Don't leak bus reference in sample code.
Tim-Philipp Müller [Fri, 16 Jun 2006 09:39:54 +0000 (09:39 +0000)]
docs/manual/: Don't leak bus reference in sample code.

Original commit message from CVS:
* docs/manual/advanced-autoplugging.xml:
* docs/manual/basics-helloworld.xml:
* docs/manual/highlevel-components.xml:
Don't leak bus reference in sample code.

15 years agoautogen.sh: Add default for new --enable-plugin-docs switch.
Tim-Philipp Müller [Fri, 16 Jun 2006 08:30:47 +0000 (08:30 +0000)]
autogen.sh: Add default for new --enable-plugin-docs switch.

Original commit message from CVS:
* autogen.sh:
Add default for new --enable-plugin-docs switch.
* configure.ac:
Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
Fixes #344039.
* docs/Makefile.am:
Use new ENABLE_PLUGIN_DOCS conditional.

15 years agogst/gstbin.c: Make it clear with a FIXME and a real define what the #if 0 previously...
Wim Taymans [Wed, 14 Jun 2006 10:34:14 +0000 (10:34 +0000)]
gst/gstbin.c: Make it clear with a FIXME and a real define what the #if 0 previously disabled.

Original commit message from CVS:
* gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
Make it clear with a FIXME and a real define what the #if 0
previously disabled.

15 years agolibs/gst/base/: Don't randomly and silently reset a segment when the format changes...
Wim Taymans [Wed, 14 Jun 2006 10:31:43 +0000 (10:31 +0000)]
libs/gst/base/: Don't randomly and silently reset a segment when the format changes as this is a bug somewhere upstre...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
(gst_base_sink_preroll_object), (gst_base_sink_get_position):
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_eventfunc):
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
Don't randomly and silently reset a segment when the format
changes as this is a bug somewhere upstream. Fixes #330379.

15 years agolibs/gst/controller/gstcontroller.c: Fix controlling of float properties (#344849).
Wouter Paesen [Wed, 14 Jun 2006 08:26:53 +0000 (08:26 +0000)]
libs/gst/controller/gstcontroller.c: Fix controlling of float properties (#344849).

Original commit message from CVS:
Patch by: Wouter Paesen  <wouter at kangaroot net>
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_new):
Fix controlling of float properties (#344849).
* tests/check/libs/controller.c:
(gst_test_mono_source_get_property),
(gst_test_mono_source_set_property),
(gst_test_mono_source_class_init), (GST_START_TEST):
While we're at it, add some float stuff to unit test.

15 years agodocs/: add a gdp image
Thomas Vander Stichele [Tue, 13 Jun 2006 19:24:34 +0000 (19:24 +0000)]
docs/: add a gdp image

Original commit message from CVS:

* docs/README:
* docs/images/gdp-header.svg:
add a gdp image
* docs/libs/Makefile.am:
* docs/libs/gdp-header.png:
* libs/gst/dataprotocol/dataprotocol.c:
add it to the API docs
* docs/manual/intro-motivation.xml:
fix typo

15 years agogst/gst.c: If the fork()'ed child process can't write the updated registry cache...
Tim-Philipp Müller [Tue, 13 Jun 2006 16:41:37 +0000 (16:41 +0000)]
gst/gst.c: If the fork()'ed child process can't write the updated registry cache file to disk for some reason, make i...

Original commit message from CVS:
* gst/gst.c: (scan_and_update_registry), (init_post):
If the fork()'ed child process can't write the updated registry cache
file to disk for some reason, make it exit with a failure exit code,
so that the parent can then re-scan the plugins itself and update the
registry structures in memory and work with that (rather than failing
when creating elements because seemingly no plugins are available).
Refactor registry scanning code into separate function for this and
also separate fork() and non-fork() code paths. Fixes #344748.

15 years agodocs/manual/advanced-dataaccess.xml: Fix wrong PluginDesc. Fixes #344755.
Wim Taymans [Tue, 13 Jun 2006 16:24:43 +0000 (16:24 +0000)]
docs/manual/advanced-dataaccess.xml: Fix wrong PluginDesc. Fixes #344755.

Original commit message from CVS:
* docs/manual/advanced-dataaccess.xml:
Fix wrong PluginDesc. Fixes #344755.

15 years agogst/gstregistryxml.c: Fix silly bug that prevented us from creating ~/.gstreamer...
Tim-Philipp Müller [Tue, 13 Jun 2006 13:30:46 +0000 (13:30 +0000)]
gst/gstregistryxml.c: Fix silly bug that prevented us from creating ~/.gstreamer-0.10 and writing the registry in one...

Original commit message from CVS:
* gst/gstregistryxml.c: (gst_registry_xml_write_cache):
Fix silly bug that prevented us from creating
~/.gstreamer-0.10 and writing the registry in one
go (the first call to g_mkstemp() would overwrite the
placeholder in the template string, so the second call
to g_mkstemp() after creating the missing directory
would then error out with 'invalid argument').

15 years agogst/gst.c: Free string.
Edward Hervey [Tue, 13 Jun 2006 11:17:02 +0000 (11:17 +0000)]
gst/gst.c: Free string.

Original commit message from CVS:
* gst/gst.c: (init_post):
Free string.

15 years agogst/: remove GLib 2.6 compatibility code
Thomas Vander Stichele [Tue, 13 Jun 2006 08:20:24 +0000 (08:20 +0000)]
gst/: remove GLib 2.6 compatibility code

Original commit message from CVS:

* gst/glib-compat-private.h:
* gst/glib-compat.c:
* gst/glib-compat.h:
* gst/gstvalue.c: (gst_value_serialize_flags):
remove GLib 2.6 compatibility code

15 years agogst/parse/Makefile.am: Fix build with 'make -j N' even more (#340016).
Tim-Philipp Müller [Mon, 12 Jun 2006 16:50:09 +0000 (16:50 +0000)]
gst/parse/Makefile.am: Fix build with 'make -j N' even more (#340016).

Original commit message from CVS:
* gst/parse/Makefile.am:
Fix build with 'make -j N' even more (#340016).

15 years agodocs/gst/gstreamer-sections.txt: Fix docs.
Wim Taymans [Mon, 12 Jun 2006 09:37:58 +0000 (09:37 +0000)]
docs/gst/gstreamer-sections.txt: Fix docs.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Fix docs.

15 years agogst/gstsegment.c: Use G_UNLIKELY to help the compiler a bit.
Wim Taymans [Mon, 12 Jun 2006 09:29:49 +0000 (09:29 +0000)]
gst/gstsegment.c: Use G_UNLIKELY to help the compiler a bit.

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_duration),
(gst_segment_set_last_stop), (gst_segment_set_seek),
(gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
(gst_segment_to_running_time), (gst_segment_clip):
Use G_UNLIKELY to help the compiler a bit.

15 years agogst/: constify quark registration strings. Fixes #344115
Stefan Kost [Mon, 12 Jun 2006 09:28:35 +0000 (09:28 +0000)]
gst/: constify quark registration strings. Fixes #344115

Original commit message from CVS:
Patch by: Stefan Kost <ensonic at sonicpulse dot de>
* gst/gstevent.c: (gst_event_get_type):
* gst/gstmessage.c:
* gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
(gst_pad_push):
constify quark registration strings. Fixes #344115
Avoid unneeded type checking is _pad_push() by internally
calling gst_pad_chain_unchecked().

15 years agogst/gstbuffer.c: Init _type for consistency.
Wim Taymans [Mon, 12 Jun 2006 09:23:43 +0000 (09:23 +0000)]
gst/gstbuffer.c: Init _type for consistency.

Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
(_gst_buffer_copy), (gst_buffer_is_metadata_writable),
(gst_subbuffer_finalize), (gst_buffer_create_sub),
(gst_buffer_is_span_fast), (gst_buffer_span):
Init _type for consistency.
Use _FLAGS macro to avoid type check.
Avoid unneeded type checks in subbufer code.

15 years agogst/: Use _CAST macros to avoid unneeded type checking.
Wim Taymans [Mon, 12 Jun 2006 09:17:44 +0000 (09:17 +0000)]
gst/: Use _CAST macros to avoid unneeded type checking.

Original commit message from CVS:
* gst/gst.c: (gst_debug_help):
* gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
* gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
(gst_plugin_feature_list_free):
* gst/gstregistry.c: (gst_registry_add_plugin),
(gst_registry_add_feature), (gst_registry_plugin_filter),
(gst_registry_feature_filter), (gst_registry_find_plugin),
(gst_registry_find_feature), (gst_registry_get_plugin_list),
(gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
* gst/gstregistryxml.c: (load_feature),
(gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
* gst/gstminiobject.c: (gst_mini_object_unref),
(gst_mini_object_replace), (gst_value_mini_object_free),
(gst_value_mini_object_copy):
Use _CAST macros to avoid unneeded type checking.
Added some more G_UNLIKELY.

15 years agogst/gstbuffer.h: Avoid unneeded type checking.
Wim Taymans [Mon, 12 Jun 2006 09:11:44 +0000 (09:11 +0000)]
gst/gstbuffer.h: Avoid unneeded type checking.

Original commit message from CVS:
* gst/gstbuffer.h:
Avoid unneeded type checking.
API: GST_BUFFER_IS_DISCONT
* gst/gstminiobject.h:
Avoid type check in flag accessor.
* gst/gstelementfactory.h:
* gst/gstplugin.h:
* gst/gstpluginfeature.h:
Add _CAST macros.
API: GST_ELEMENT_FACTORY_CAST
API: GST_PLUGIN_CAST
API: GST_PLUGIN_FEATURE_CAST

15 years agogst/gstobject.c: Add G_UNLIKELY in type registration.
Wim Taymans [Mon, 12 Jun 2006 09:06:01 +0000 (09:06 +0000)]
gst/gstobject.c: Add G_UNLIKELY in type registration.

Original commit message from CVS:
* gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
(gst_object_unref):
Add G_UNLIKELY in type registration.
Avoid type check in _ref/_unref since that is also
done in glib.

15 years agoAdd G_UNLIKELY in type registration.
Wim Taymans [Mon, 12 Jun 2006 08:55:21 +0000 (08:55 +0000)]
Add G_UNLIKELY in type registration.

Original commit message from CVS:
* gst/gsterror.c: (gst_g_error_get_type):
* gst/gstpadtemplate.c: (gst_pad_template_get_type),
(gst_static_pad_template_get_type):
* gst/gsttaglist.c: (gst_tag_list_get_type):
* gst/gsttagsetter.c: (gst_tag_setter_get_type):
* gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
* gst/gsturi.c: (gst_uri_handler_get_type):
* gst/gstvalue.c: (gst_date_get_type):
* gst/gstxml.c: (gst_xml_get_type):
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
(gst_base_sink_preroll_object), (gst_base_sink_get_position):
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
Add G_UNLIKELY in type registration.

15 years agotools/gst-inspect.c: Properly print enum values.
Wim Taymans [Mon, 12 Jun 2006 08:51:20 +0000 (08:51 +0000)]
tools/gst-inspect.c: Properly print enum values.

Original commit message from CVS:
* tools/gst-inspect.c: (print_signal_info):
Properly print enum values.

15 years agogst/gstinfo.*: Add some G_[UN]LIKELY.
Wim Taymans [Mon, 12 Jun 2006 08:47:16 +0000 (08:47 +0000)]
gst/gstinfo.*: Add some G_[UN]LIKELY.

Original commit message from CVS:
* gst/gstinfo.c: (gst_debug_set_active),
(gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
* gst/gstinfo.h:
Add some G_[UN]LIKELY.
Maintain __gst_debug_min to avoid formatting the arguments of
debug messages that will be dropped anyway to avoid a lot of
overhead from the debugging system.

15 years agopo/POTFILES.*: add missing files containing translatable strings, tell intltool about...
Stefan Kost [Sun, 11 Jun 2006 20:37:41 +0000 (20:37 +0000)]
po/POTFILES.*: add missing files containing translatable strings, tell intltool about one exception

Original commit message from CVS:
* po/POTFILES.in:
* po/POTFILES.skip:
add missing files containing translatable strings, tell intltool about
one exception

15 years agotests/check/libs/.cvsignore: add test-binary to ignore list
Stefan Kost [Sun, 11 Jun 2006 17:28:19 +0000 (17:28 +0000)]
tests/check/libs/.cvsignore: add test-binary to ignore list

Original commit message from CVS:
* tests/check/libs/.cvsignore:
add test-binary to ignore list

15 years agodocs/libs/gstreamer-libs-docs.sgml: reorder (put dp into a chapter) and indent
Stefan Kost [Sun, 11 Jun 2006 17:03:06 +0000 (17:03 +0000)]
docs/libs/gstreamer-libs-docs.sgml: reorder (put dp into a chapter) and indent

Original commit message from CVS:
* docs/libs/gstreamer-libs-docs.sgml:
reorder (put dp into a chapter) and indent

15 years agoadd notes on our autotools setup
Thomas Vander Stichele [Sun, 11 Jun 2006 11:56:36 +0000 (11:56 +0000)]
add notes on our autotools setup

Original commit message from CVS:
add notes on our autotools setup

15 years agoback to HEAD
Thomas Vander Stichele [Sat, 10 Jun 2006 17:32:53 +0000 (17:32 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

15 years agoreleasing 0.10.8
Thomas Vander Stichele [Sat, 10 Jun 2006 17:06:33 +0000 (17:06 +0000)]
releasing 0.10.8

Original commit message from CVS:
releasing 0.10.8

15 years agogst/gst.c: move pid declaration to declaration block
Thomas Vander Stichele [Sat, 10 Jun 2006 11:51:58 +0000 (11:51 +0000)]
gst/gst.c: move pid declaration to declaration block

Original commit message from CVS:
* gst/gst.c: (init_post):
move pid declaration to declaration block

15 years agogst/gst.c: use _exit() instead of exit() in our forked child; this ensures that none...
Thomas Vander Stichele [Sat, 10 Jun 2006 11:47:42 +0000 (11:47 +0000)]
gst/gst.c: use _exit() instead of exit() in our forked child; this ensures that none of the registered exit handlers ...

Original commit message from CVS:
* gst/gst.c: (init_post):
use _exit() instead of exit() in our forked child; this ensures
that none of the registered exit handlers from whatever is using
GStreamer get executed.  This fixes gnome-mixer-applet failing
to load, because ORBit would shut down.
Spotted by: Edward Hervey  <edward@fluendo.com>
Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
Fixes #344474

15 years agoconfigure.ac: back to TRUNK
Thomas Vander Stichele [Fri, 9 Jun 2006 18:52:02 +0000 (18:52 +0000)]
configure.ac: back to TRUNK

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

* configure.ac:
back to TRUNK

15 years agoreleasing 0.10.7
Thomas Vander Stichele [Fri, 9 Jun 2006 18:49:25 +0000 (18:49 +0000)]
releasing 0.10.7

Original commit message from CVS:
releasing 0.10.7

15 years ago0.10.6.2 prerelease
Thomas Vander Stichele [Wed, 7 Jun 2006 10:46:04 +0000 (10:46 +0000)]
0.10.6.2 prerelease

Original commit message from CVS:
* configure.ac:
* po/af.po:
* po/az.po:
* po/bg.po:
* po/ca.po:
* po/cs.po:
* po/de.po:
* po/en_GB.po:
* po/fr.po:
* po/it.po:
* po/nb.po:
* po/nl.po:
* po/ru.po:
* po/sq.po:
* po/sr.po:
* po/sv.po:
* po/tr.po:
* po/uk.po:
* po/vi.po:
* po/zh_CN.po:
* po/zh_TW.po:
* win32/common/config.h:
0.10.6.2 prerelease

15 years agoFix leak spotted by coverity checker. Fixes #343827
Wim Taymans [Wed, 7 Jun 2006 08:38:30 +0000 (08:38 +0000)]
Fix leak spotted by coverity checker. Fixes #343827

Original commit message from CVS:
* gst/gstindex.c: (gst_index_gtype_resolver):
* tools/gst-xmlinspect.c: (print_plugin_info):
Fix leak spotted by coverity checker. Fixes #343827
Fix another other leak found by paolo borelli.

15 years agoifdef LOADSAVE
Thomas Vander Stichele [Tue, 6 Jun 2006 16:52:59 +0000 (16:52 +0000)]
ifdef LOADSAVE

Original commit message from CVS:
ifdef LOADSAVE

15 years agoremove old docs
Thomas Vander Stichele [Tue, 6 Jun 2006 15:18:26 +0000 (15:18 +0000)]
remove old docs

Original commit message from CVS:
remove old docs

15 years agoterminate ifdef
Thomas Vander Stichele [Tue, 6 Jun 2006 14:51:45 +0000 (14:51 +0000)]
terminate ifdef

Original commit message from CVS:
terminate ifdef

15 years agoremove unused tmpl
Thomas Vander Stichele [Tue, 6 Jun 2006 14:32:55 +0000 (14:32 +0000)]
remove unused tmpl

Original commit message from CVS:
remove unused tmpl

15 years agoadd note to docs about GDP versioning; remove tmpl file
Thomas Vander Stichele [Tue, 6 Jun 2006 14:29:54 +0000 (14:29 +0000)]
add note to docs about GDP versioning; remove tmpl file

Original commit message from CVS:
add note to docs about GDP versioning; remove tmpl file