Jan Schmidt [Wed, 26 Jul 2006 22:59:19 +0000 (22:59 +0000)]
gst/gstquery.h: Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN - rates are a gdouble
Original commit message from CVS:
* gst/gstquery.h:
Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
rates are a gdouble
Stefan Kost [Wed, 26 Jul 2006 20:30:55 +0000 (20:30 +0000)]
gst/gstregistry.c: Move big documentation comment into class section header, so that it appears in the API docs.
Original commit message from CVS:
* gst/gstregistry.c:
Move big documentation comment into class section header, so that it
appears in the API docs.
Jan Schmidt [Wed, 26 Jul 2006 17:18:25 +0000 (17:18 +0000)]
docs/gst/gstreamer-sections.txt: Oops. Commit the docs additions too for new API.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Oops. Commit the docs additions too for new API.
Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
Jan Schmidt [Wed, 26 Jul 2006 17:04:45 +0000 (17:04 +0000)]
gst/gststructure.*: Add API for setting values into structures without performing a quark lookup, if the appropriate ...
Original commit message from CVS:
* gst/gststructure.c: (gst_structure_id_set),
(gst_structure_id_set_valist):
* gst/gststructure.h:
Add API for setting values into structures without performing
a quark lookup, if the appropriate quark is already known.
API: gst_structure_id_set
API: gst_structure_id_set_valist
* gst/parse/grammar.y:
* gst/parse/parse.l:
Remove some dead code shown by the coverage information.
Don't throw a critical g_warning when encountering a syntax error,
just warn and let the normal error path handle it.
* plugins/elements/gstelements.c:
Bump the rank of filesink up to PRIMARY so that it is preferred over
gnomevfssink for file:// sink uri's
* tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
(GST_START_TEST), (run_delayed_test),
(gst_parse_test_element_base_init),
(gst_parse_test_element_class_init), (gst_parse_test_element_init),
(gst_parse_test_element_change_state),
(gst_register_parse_element), (parse_suite):
Beef up the tests for parse syntax to check that more error cases
fail as they are supposed to. Increases the test coverage a bit.
Tim-Philipp Müller [Wed, 26 Jul 2006 11:43:23 +0000 (11:43 +0000)]
docs/manual/basics-elements.xml: Fix gst_element_link() example.
Original commit message from CVS:
* docs/manual/basics-elements.xml:
Fix gst_element_link() example.
* gst/gstutils.c:
Mention in API docs that one should usually gst_bin_add()
elements to a bin or pipeline before doing the linking.
Thomas Vander Stichele [Wed, 26 Jul 2006 10:47:17 +0000 (10:47 +0000)]
back to 32 bit
Original commit message from CVS:
back to 32 bit
Wim Taymans [Wed, 26 Jul 2006 10:39:58 +0000 (10:39 +0000)]
gst/gstbuffer.c: Avoid function call for known types by keeping the buffer and subbuffer GType global.
Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
(gst_subbuffer_get_type), (gst_buffer_create_sub):
Avoid function call for known types by keeping the buffer and
subbuffer GType global.
* plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
Random silly optimisations in read() path.
Jan Schmidt [Wed, 26 Jul 2006 06:18:44 +0000 (06:18 +0000)]
tools/gst-launch.c: If the top-level of the parse is a normal bin, it doesn't do the right logic to run as a top-leve...
Original commit message from CVS:
* tools/gst-launch.c: (main):
If the top-level of the parse is a normal bin, it doesn't do the
right logic to run as a top-level element, so place it inside a
pipeline.
Tim-Philipp Müller [Tue, 25 Jul 2006 19:37:05 +0000 (19:37 +0000)]
plugins/elements/gstfilesrc.c: Remove superfluous g_object_notify() calls, GObject does that for us automatically.
Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
Remove superfluous g_object_notify() calls, GObject does
that for us automatically.
Christian Schaller [Tue, 25 Jul 2006 15:07:58 +0000 (15:07 +0000)]
add latest .h addition
Original commit message from CVS:
add latest .h addition
Stefan Kost [Tue, 25 Jul 2006 13:06:14 +0000 (13:06 +0000)]
gst/gstinfo.h: Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to here.
Original commit message from CVS:
* gst/gstinfo.h:
Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to
here.
Tim-Philipp Müller [Mon, 24 Jul 2006 16:33:31 +0000 (16:33 +0000)]
gst/gsttaglist.c: Allow more than one GST_TAG_IMAGE per taglist.
Original commit message from CVS:
* gst/gsttaglist.c: (_gst_tag_initialize):
Allow more than one GST_TAG_IMAGE per taglist.
Thomas Vander Stichele [Mon, 24 Jul 2006 07:40:13 +0000 (07:40 +0000)]
gst/gstminiobject.c: update docs
Original commit message from CVS:
* gst/gstminiobject.c:
update docs
* plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
(gst_fd_src_create):
log recurring events at LOG level
add more debug for when the fd gets set
Thomas Vander Stichele [Mon, 24 Jul 2006 07:37:52 +0000 (07:37 +0000)]
remove --enable-docs
Original commit message from CVS:
remove --enable-docs
Tim-Philipp Müller [Sun, 23 Jul 2006 09:41:30 +0000 (09:41 +0000)]
ChangeLog surgery: add bug reference
Original commit message from CVS:
ChangeLog surgery: add bug reference
Stefan Kost [Fri, 21 Jul 2006 18:52:30 +0000 (18:52 +0000)]
gst/gstparse.c: Also remove reentrance checks if flex is MT save (#348179)
Original commit message from CVS:
* gst/gstparse.c: (gst_parse_launch):
Also remove reentrance checks if flex is MT save (#348179)
Fix my empty ChangeLog entry below
Andy Wingo [Fri, 21 Jul 2006 16:01:34 +0000 (16:01 +0000)]
docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
Original commit message from CVS:
2006-07-21 Andy Wingo <wingo@pobox.com>
* docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
Andy Wingo [Fri, 21 Jul 2006 15:48:04 +0000 (15:48 +0000)]
libs/gst/check/Makefile.am (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
Original commit message from CVS:
2006-07-21 Andy Wingo <wingo@pobox.com>
* libs/gst/check/Makefile.am
(libgstcheck_@GST_MAJORMINOR@include_HEADERS)
(libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
* libs/gst/check/gstbufferstraw.h:
* libs/gst/check/gstbufferstraw.c: Add some new hype testing
functions, thus proving I am still a GStreamer haxor. OK I wrote
them a long time ago, but anyways.
Stefan Kost [Fri, 21 Jul 2006 13:11:33 +0000 (13:11 +0000)]
Original commit message from CVS:
* configure.ac:
* gst/gstparse.c: (gst_parse_launch):
Wim Taymans [Fri, 21 Jul 2006 10:40:25 +0000 (10:40 +0000)]
gst/gstparse.c: Protect recursive calls to _parse with a recursive mutex and busy flag.
Original commit message from CVS:
* gst/gstparse.c: (gst_parse_launch):
Protect recursive calls to _parse with a recursive mutex
and busy flag.
Wim Taymans [Fri, 21 Jul 2006 10:38:53 +0000 (10:38 +0000)]
tests/check/gst/gstpad.c: Fix leak in test.
Original commit message from CVS:
* tests/check/gst/gstpad.c: (GST_START_TEST):
Fix leak in test.
Stefan Kost [Thu, 20 Jul 2006 20:02:55 +0000 (20:02 +0000)]
gst/gstparse.c: Do not hange on recursive uasge of gst_parse_launch()
Original commit message from CVS:
* gst/gstparse.c: (gst_parse_launch):
Do not hange on recursive uasge of gst_parse_launch()
Tim-Philipp Müller [Thu, 20 Jul 2006 16:10:17 +0000 (16:10 +0000)]
gst/gsttaglist.c: Add some more docs, comments and FIXME 0.11s here and there and also fix some typos.
Original commit message from CVS:
* gst/gsttaglist.c:
Add some more docs, comments and FIXME 0.11s here and there
and also fix some typos.
Tim-Philipp Müller [Thu, 20 Jul 2006 10:50:20 +0000 (10:50 +0000)]
gst/gstsegment.h: Convert tabs to spaces for better readability.
Original commit message from CVS:
* gst/gstsegment.h:
Convert tabs to spaces for better readability.
Edward Hervey [Thu, 20 Jul 2006 10:25:28 +0000 (10:25 +0000)]
tests/check/libs/gdp.c: the test_buffer test fails at line 140 on ppc64 at the following check: "GST_BUFFER_IN_CAPS f...
Original commit message from CVS:
* tests/check/libs/gdp.c: (gst_dp_suite):
the test_buffer test fails at line 140 on ppc64 at the following
check:
fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer, GST_BUFFER_FLAG_IN_CAPS),
"GST_BUFFER_IN_CAPS flag should have been copied !");
See bug #348114 for more details.
Tim-Philipp Müller [Wed, 19 Jul 2006 12:40:54 +0000 (12:40 +0000)]
Fix typos (#348000).
Original commit message from CVS:
* docs/pwg/advanced-scheduling.xml:
* gst/gstpad.c:
Fix typos (#348000).
Tim-Philipp Müller [Tue, 18 Jul 2006 20:38:45 +0000 (20:38 +0000)]
docs/pwg/intro-basics.xml: Fix wrong links (#347927).
Original commit message from CVS:
* docs/pwg/intro-basics.xml:
Fix wrong links (#347927).
Stefan Kost [Tue, 18 Jul 2006 19:01:25 +0000 (19:01 +0000)]
make --disable-index work (#342564)
Original commit message from CVS:
* gst/gstregistry.h:
* gst/gstregistryxml.c: (load_feature),
(gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
* win32/common/config.h:
make --disable-index work (#342564)
Peter Kjellerstedt [Tue, 18 Jul 2006 09:42:31 +0000 (09:42 +0000)]
gst/: The attached patch adds two missing defines to gsttrace.h when tracing is disabled. It also corrects one exist...
Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis dot com>
* gst/Makefile.am:
* gst/gsttrace.h:
The attached patch adds two missing defines to gsttrace.h when tracing
is disabled. It also corrects one existing define.
Fixes #347756.
Wim Taymans [Mon, 17 Jul 2006 17:40:52 +0000 (17:40 +0000)]
Add two functions to check and change the SIGSEGV behaviour when loading plugins.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
* gst/gst.h:
* gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
Add two functions to check and change the SIGSEGV behaviour
when loading plugins.
Don't mess with the SIGSEGV handler when we were told not to.
Fixes #347794.
API: gst_segtrap_is_enabled
API: gst_segtrap_set_enabled
Wim Taymans [Fri, 14 Jul 2006 16:42:20 +0000 (16:42 +0000)]
Revert fix for regression in #347408 after release.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
* tests/check/elements/filesrc.c: (GST_START_TEST):
Revert fix for regression in #347408 after release.
Antoine Tremblay [Fri, 14 Jul 2006 16:20:18 +0000 (16:20 +0000)]
gst/gstutils.c: Free iterator when done (#347311).
Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail com>
* gst/gstutils.c: (gst_element_unlink):
Free iterator when done (#347311).
* tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
And add a test case for this.
Jan Schmidt [Fri, 14 Jul 2006 15:52:55 +0000 (15:52 +0000)]
configure.ac: Bump nano back to CVS
Original commit message from CVS:
* configure.ac:
Bump nano back to CVS
Jan Schmidt [Fri, 14 Jul 2006 15:50:19 +0000 (15:50 +0000)]
configure.ac: releasing 0.10.9, "On the road again"
Original commit message from CVS:
2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
* configure.ac:
releasing 0.10.9, "On the road again"
Jan Schmidt [Thu, 13 Jul 2006 19:47:14 +0000 (19:47 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
Wim Taymans [Thu, 13 Jul 2006 15:51:05 +0000 (15:51 +0000)]
Revert pull-0 fix for release. Disable check. Fixes #347408.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
* tests/check/elements/filesrc.c: (GST_START_TEST):
Revert pull-0 fix for release. Disable check. Fixes #347408.
Thomas Vander Stichele [Thu, 13 Jul 2006 14:02:16 +0000 (14:02 +0000)]
libs/gst/dataprotocol/dataprotocol.c: Fixes #347337: failure to deserialize event packets with empty payload (only ev...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_event_from_packet_1_0):
Fixes #347337: failure to deserialize event packets with
empty payload (only event type)
Thomas Vander Stichele [Thu, 13 Jul 2006 13:57:33 +0000 (13:57 +0000)]
gst/Makefile.am: do not install a .c file in the header directory
Original commit message from CVS:
* gst/Makefile.am:
do not install a .c file in the header directory
Edward Hervey [Thu, 13 Jul 2006 10:47:00 +0000 (10:47 +0000)]
gst/gstghostpad.c: GhostPad no longer implicitely use the padtemplates of the targets.
Original commit message from CVS:
* gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
GhostPad no longer implicitely use the padtemplates of the targets.
Fixes #347384
Jan Schmidt [Tue, 11 Jul 2006 22:55:40 +0000 (22:55 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
Jan Schmidt [Tue, 11 Jul 2006 20:44:46 +0000 (20:44 +0000)]
Mention bug #341029 fixed by bilboed's previous commit
Original commit message from CVS:
Mention bug #341029 fixed by bilboed's previous commit
Jan Schmidt [Tue, 11 Jul 2006 20:14:20 +0000 (20:14 +0000)]
Make GstValueArray comparison be order dependent as designed.
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_compare_list),
(gst_value_compare_array), (_gst_value_initialize):
* tests/check/gst/gstvalue.c: (GST_START_TEST):
Make GstValueArray comparison be order dependent as designed.
Add checks for value lists and value array comparisons.
Fixes #347221
Edward Hervey [Tue, 11 Jul 2006 16:20:09 +0000 (16:20 +0000)]
gst/gstbin.c: (de)activate src pads before calling state_change on the childs.
Original commit message from CVS:
* gst/gstbin.c: (activate_pads),
(iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
(gst_bin_change_state_func):
(de)activate src pads before calling state_change on the childs.
This is to avoid the case where a src ghostpad is blocked (holding the
stream lock), which would block the deactivation of the ghostpad's
target pad.
* gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
(gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
(gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
(gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
(gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
(gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
(gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
(gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
(gst_proxy_pad_dispose), (gst_proxy_pad_init),
(gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
(gst_ghost_pad_class_init),
(gst_ghost_pad_internal_do_activate_push),
(gst_ghost_pad_internal_do_activate_pull),
(gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
(gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
(gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
(gst_ghost_pad_new), (gst_ghost_pad_set_target):
GhostPads now create their internal GstProxyPad at creation (and not
when they're linked, as it was being done previously).
The internal and target pads are linked straight away.
The data will also travel through the other pad in order to make
pad blocking and probes non-hackish (the probe/block now really happens
on the GhostPad and not on the target).
* gst/gstpad.c: (gst_pad_set_blocked_async),
(gst_pad_link_prepare), (gst_pad_push_event):
Remove previous ghostpad cruft.
* gst/gstutils.c: (gst_pad_add_data_probe),
(gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
(gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
(gst_pad_remove_buffer_probe):
Remove previous ghost pad cruft.
Added more detailed debug statements.
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Fix the testsuite for refcounting changes.
The comments about who has references were correct, but the refcount
being checked wasn't the same (!?!).
Stefan Kost [Mon, 10 Jul 2006 19:35:32 +0000 (19:35 +0000)]
More docs for configuration options, add docs to gtk-doc.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstconfig.h.in:
More docs for configuration options, add docs to gtk-doc.
Stefan Kost [Mon, 10 Jul 2006 18:27:40 +0000 (18:27 +0000)]
Fix build when disabling tracing (fixes #344016). Also start to document the defines that disable the sub-systems.
Original commit message from CVS:
* gst/Makefile.am:
* gst/gstconfig.h.in:
* win32/common/config.h:
Fix build when disabling tracing (fixes #344016). Also start to document
the defines that disable the sub-systems.
Edward Hervey [Mon, 10 Jul 2006 09:42:20 +0000 (09:42 +0000)]
gst/gst.c: let's make valgrind happy...
Original commit message from CVS:
* gst/gst.c: (ensure_current_registry_forking):
let's make valgrind happy...
Wim Taymans [Sun, 9 Jul 2006 16:56:48 +0000 (16:56 +0000)]
gst/gstelement.c: Better pad activation code: Reset the collect value too on resync.
Original commit message from CVS:
* gst/gstelement.c: (activate_pads),
(iterator_activate_fold_with_resync), (gst_element_pads_activate):
Better pad activation code: Reset the collect value too on resync.
Add some comments.
Wim Taymans [Sun, 9 Jul 2006 13:26:06 +0000 (13:26 +0000)]
gst/gstpad.c: Use some more macros where it makes sense.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
(gst_pad_activate_push):
Use some more macros where it makes sense.
Allow pad mode switching instead of asserting. When a pad
is activated in one mode and we activate it in another,
deactivate it first before activating it in a different mode.
Fixes #329198.
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).