Andy Wingo [Sat, 8 Jul 2006 13:22:32 +0000 (13:22 +0000)]
tools/gst-launch.c (main): Handle err == NULL. gst/gst.c (init_post, ensure_current_registry) (ensure_current_registr...
Original commit message from CVS:
2006-07-08 Andy Wingo <wingo@pobox.com>
* tools/gst-launch.c (main): Handle err == NULL.
* gst/gst.c (init_post, ensure_current_registry)
(ensure_current_registry_forking)
(ensure_current_registry_nonforking): Reduce #ifdef ratnest by
factoring out the registry scanning into separate functions. Don't
fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
Better environment var name/interface suggestions accepted.
Tim-Philipp Müller [Fri, 7 Jul 2006 17:16:26 +0000 (17:16 +0000)]
gst/gstobject.c: Random micro-optimisation: don't use a hash table with strings as keys and the usual strdup/strcmp i...
Original commit message from CVS:
* gst/gstobject.c: (gst_object_set_name_default),
(gst_object_set_name):
Random micro-optimisation: don't use a hash table
with strings as keys and the usual strdup/strcmp
involved, but rather just use the GQuark of the
type name as key, since it needs to be looked up
anyway to get the type name string.
* tests/check/gst/gstobject.c: (GST_START_TEST):
Fix various leaks.
Tim-Philipp Müller [Fri, 7 Jul 2006 15:42:08 +0000 (15:42 +0000)]
gst/gstbin.c: Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
Original commit message from CVS:
* gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
(gst_bin_iterate_all_by_interface):
Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
GTypes are gulongs and thus the top 4 bytes might be cut
off on some platforms when doing GPOINTER_TO_INT, leading
to invalid GTypes and bad things happening.
Also add a check to make sure the type passed in is really
an interface type.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
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)
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.
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
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.
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.
Thomas Vander Stichele [Mon, 3 Jul 2006 11:10:43 +0000 (11:10 +0000)]
fix leak
Original commit message from CVS:
fix leak
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).
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
Thomas Vander Stichele [Sun, 2 Jul 2006 22:44:24 +0000 (22:44 +0000)]
add macros
Original commit message from CVS:
add macros
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
Thomas Vander Stichele [Sun, 2 Jul 2006 22:27:32 +0000 (22:27 +0000)]
clean more
Original commit message from CVS:
clean more
Thomas Vander Stichele [Sun, 2 Jul 2006 22:20:20 +0000 (22:20 +0000)]
moap ignore
Original commit message from CVS:
moap ignore
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
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
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
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
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
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
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
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
Thomas Vander Stichele [Sun, 2 Jul 2006 12:57:19 +0000 (12:57 +0000)]
unbreak test
Original commit message from CVS:
unbreak test
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
Thomas Vander Stichele [Sun, 2 Jul 2006 12:52:09 +0000 (12:52 +0000)]
ignore more
Original commit message from CVS:
ignore more
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
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%
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%
Thomas Vander Stichele [Sun, 2 Jul 2006 00:39:28 +0000 (00:39 +0000)]
moap ignore
Original commit message from CVS:
moap ignore
Thomas Vander Stichele [Sun, 2 Jul 2006 00:38:35 +0000 (00:38 +0000)]
moap ignore
Original commit message from CVS:
moap ignore
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%
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
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
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
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()
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.
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).
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).
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).
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).
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.
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.
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.
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).
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.
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).
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.
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.
Christian Schaller [Mon, 19 Jun 2006 08:56:48 +0000 (08:56 +0000)]
latest updates
Original commit message from CVS:
latest updates
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.
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.
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.
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.
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.
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.
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.
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
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.
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.
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').
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.
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
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).
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.
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.
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().
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.
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.
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
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.
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.
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.
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.
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
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
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
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
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
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
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
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
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
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
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
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.
Thomas Vander Stichele [Tue, 6 Jun 2006 16:52:59 +0000 (16:52 +0000)]
ifdef LOADSAVE
Original commit message from CVS:
ifdef LOADSAVE
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