Stefan Kost [Wed, 4 Feb 2009 14:07:30 +0000 (16:07 +0200)]
check: Don't assume gst_pad_get_peer returns non NULL value.
Stefan Kost [Wed, 4 Feb 2009 13:41:24 +0000 (15:41 +0200)]
leak: don't return without calling va_end
Jonas Holmberg [Tue, 3 Feb 2009 17:04:46 +0000 (18:04 +0100)]
Implement the systemclock with gstpoll
Add a property to select the clock type, currently REALTIME and MONOTONIC when
posix timers are available.
Implement the systemclock with GstPoll instead of GCond. This allows us to
schedule timeouts with nanosecond precission on newer kernels and with ppoll
support. It's also resilient to changes to the systemclock because of NTP or
similar.
Wim Taymans [Tue, 3 Feb 2009 16:49:02 +0000 (17:49 +0100)]
GstPoll: add methods to use gstpoll for timeouts
Add a special timer mode in GstPoll that makes it only use the control socket
with a timeout to schedule timeouts. Also add a pair of methods to wakeup the
timeout thread.
API: GstPoll::gst_poll_new_timer()
API: GstPoll::gst_poll_write_control()
API: GstPoll::gst_poll_read_control()
Wim Taymans [Tue, 3 Feb 2009 14:27:34 +0000 (15:27 +0100)]
GstBaseSink: use new variable to schedule preroll
Use a separate variable to keep track if we need to call the preroll method
instead of abusing the commited variable.
Wim Taymans [Tue, 3 Feb 2009 11:52:49 +0000 (12:52 +0100)]
GstBaseSink: avoid calling preroll multiple times
Fix a regression introduced by fix for #567725 in commit
1c7ab4ed4f19b63ba046a6f2fe7d09a6c17357c5. We should only call the preroll
function once namely when we did not yet commit the state change.
Add a unit test to check that we call the preroll function when interrupting the
clock_wait (see #567725).
Add a unit test to check that we only call the preroll function once.
Thijs Vermeir [Thu, 29 Jan 2009 12:30:45 +0000 (13:30 +0100)]
Force reconfigure of basetransform to recheck alloc request
While reconfiguring a basetransform element we need also to recheck
the alloc request. Because it's possible that due to caps changes
the proxy_alloc state is not correct anymore.
(Re-commit after discusion with Wim on IRC)
Peter Kjellerstedt [Mon, 2 Feb 2009 13:19:57 +0000 (14:19 +0100)]
gstregistrybinary: Make it compile with GST_DISABLE_GST_DEBUG.
Jan Schmidt [Sat, 31 Jan 2009 21:34:28 +0000 (21:34 +0000)]
repo: Rearrange gitignores in docs subdir
tmpl directories are removed by make clean, which deletes the
.gitignore. Use a .gitignore higher up to ignore the tmpl dirs instead.
Jan Schmidt [Sat, 31 Jan 2009 21:32:36 +0000 (21:32 +0000)]
check: Fix comment about the timeout for generic stress test.
Setting the timeout to 0 makes it infinite, so fix the comment
above accordingly.
Jan Schmidt [Sat, 31 Jan 2009 21:31:48 +0000 (21:31 +0000)]
check: Increase timeout for the tee test
The tee stress test keeps timing out for me on one of the slower
machines, so increase the timeout to 3 mins.
Jan Schmidt [Fri, 30 Jan 2009 14:56:08 +0000 (14:56 +0000)]
Update the win32 config.h.in template from the main config.h.in
Stefan Kost [Fri, 30 Jan 2009 20:18:17 +0000 (22:18 +0200)]
Add releaseinfo with online url.
Tim-Philipp Müller [Fri, 30 Jan 2009 18:17:03 +0000 (18:17 +0000)]
Remove broken class to interface cast macros from GstUriHandler and GstImplementsInterface headers
Remove class-to-interface-struct cast macros which don't work,
don't make sense, and in some cases wouldn't even compile if
used. Removal should be ok seeing that code which uses any of
these is broken and bound to crash. Fixes #565607.
API: remove GST_IMPLEMENTS_INTERFACE_CLASS
API: remove GST_IS_IMPLEMENTS_INTERFACE_CLASS
API: remove GST_URI_HANDLER_CLASS
Jan Schmidt [Fri, 30 Jan 2009 16:28:14 +0000 (16:28 +0000)]
Remove gitignore in docs/gst/tmpl.
This gitignore file seems to get deleted by the build, and doesn't
seem to be doing anything useful anyway.
Jan Schmidt [Fri, 30 Jan 2009 16:21:55 +0000 (16:21 +0000)]
Bump common
Jan Schmidt - Sun Microsystems - Dublin Ireland [Fri, 30 Jan 2009 14:59:07 +0000 (14:59 +0000)]
Fix compilation warning with Forte.
Wim Taymans [Fri, 30 Jan 2009 09:43:55 +0000 (10:43 +0100)]
Revert "Check suggested caps for proxy alloc"
This reverts commit
50afd459579191772f42d1a44f3959e530c5c269.
It breaks the interactive test-scale unit test.
Wim Taymans [Fri, 30 Jan 2009 09:42:50 +0000 (10:42 +0100)]
Revert "Force reconfigure of basetransform to recheck alloc request"
This reverts commit
3a4602d7719de3c3ef7aece68b5f9489d0780162.
It breaks the interactive test-scale unit test.
Sebastian Dröge [Fri, 30 Jan 2009 09:29:56 +0000 (10:29 +0100)]
Allocate everything that is written to the registry with g_malloc0()
Allocate every structure that is directly written to the binary
registry with g_malloc0(). Otherwise some parts of it will be
uninitialized (struct padding because of alignment, etc) and
valgrind will complain about it.
Edward Hervey [Fri, 30 Jan 2009 07:30:28 +0000 (08:30 +0100)]
Use a symbolic link for the pre-commit client-side hook
Jan Schmidt [Thu, 29 Jan 2009 15:49:24 +0000 (15:49 +0000)]
Make sure to take a copy of the strings we're going to free later.
Stefan Kost [Mon, 26 Jan 2009 15:15:15 +0000 (17:15 +0200)]
Add logging in failure case. Add more details to a todo comment.
Stefan Kost [Mon, 26 Jan 2009 15:14:07 +0000 (17:14 +0200)]
Add a trivial source for tracking gst_init time accross versions.
Stefan Kost [Mon, 26 Jan 2009 15:13:09 +0000 (17:13 +0200)]
Add todo comments.
Thijs Vermeir [Thu, 29 Jan 2009 12:39:29 +0000 (13:39 +0100)]
Check suggested caps for proxy alloc
Because we are trying to resolve a suggestion here we don't need
to check on caps for proxy_alloc but we need to check on the suggested
caps instead.
Thijs Vermeir [Thu, 29 Jan 2009 12:30:45 +0000 (13:30 +0100)]
Force reconfigure of basetransform to recheck alloc request
While reconfiguring a basetransform element we need also to recheck
the alloc request. Because it's possible that due to caps changes
the proxy_alloc state is not correct anymore.
Stefan Kost [Tue, 27 Jan 2009 21:14:49 +0000 (23:14 +0200)]
Improve the docs for gst_clock_id_wait_async().
Its mentioned in the section docs, but lets repeat at the function docs that the callback can be invoked from any thread.
Tim-Philipp Müller [Tue, 27 Jan 2009 17:53:01 +0000 (17:53 +0000)]
docs: don't use ERROR_CFLAGS when building $docmodule-scan.c
We don't want to use -Wall -Werror and friends when building the gtk-doc-generated
$docmodule-scan.c, since we can't easily fix stuff if a certain gtk-doc/compiler
combination breaks the build. Fixes build on ubuntu intrepid.
Tim-Philipp Müller [Tue, 27 Jan 2009 17:52:14 +0000 (17:52 +0000)]
Make git ignore backup files.
Stefan Kost [Mon, 26 Jan 2009 19:29:02 +0000 (21:29 +0200)]
Don't check timestamp here, its done in the called function anyway.
Wim Taymans [Mon, 26 Jan 2009 11:52:12 +0000 (12:52 +0100)]
Avoid unneeded reads from the control socket
Add a new variable that keeps track of the status of the control socket. This
allows us to avoid doing a read() on the control socket when we did not write
anything to it.
Fixes #568438.
Stefan Kost [Sun, 25 Jan 2009 20:17:31 +0000 (22:17 +0200)]
Add more debug logging for failure cases.
Stefan Kost [Sun, 25 Jan 2009 20:11:32 +0000 (22:11 +0200)]
Document that GST_PLUGIN_DEFINE macros use PACKAGE define. Fixes #559722.
PACKAGE is defined by autofoo. If people use something different, they might want to define it themself.
Thijs Vermeir [Sun, 25 Jan 2009 16:58:52 +0000 (17:58 +0100)]
Fix typo
Thijs Vermeir [Sat, 24 Jan 2009 20:50:08 +0000 (21:50 +0100)]
Only free list of buffers once
Thijs Vermeir [Sat, 24 Jan 2009 13:37:14 +0000 (14:37 +0100)]
Fix typo
Jan Schmidt [Fri, 23 Jan 2009 23:08:03 +0000 (23:08 +0000)]
Ignore another file
Jan Schmidt [Fri, 23 Jan 2009 21:44:11 +0000 (21:44 +0000)]
add gst_type_find_helper_for_extension to the win32 defs file
Jan Schmidt [Fri, 23 Jan 2009 16:09:35 +0000 (16:09 +0000)]
Update win32 config.h for 0.10.22.1 dev cycle...
Jan Schmidt [Fri, 23 Jan 2009 16:08:09 +0000 (16:08 +0000)]
Update a bunch of gitignores to clean up my git status output
Brian Cameron [Fri, 23 Jan 2009 08:54:53 +0000 (09:54 +0100)]
Fix linking failures on Solaris. Fixes bug #568481.
Link libgstreamer with $(LIBM) as it uses math functions.
Add a configure check for socket and nsl library and add
them to LIBS if they're found. This is needed on Solaris
for socket() and gethostbyname().
Stefan Kost [Thu, 22 Jan 2009 16:02:19 +0000 (18:02 +0200)]
Update common snapshot.
Sebastian Dröge [Thu, 22 Jan 2009 12:58:57 +0000 (13:58 +0100)]
Improve debug output by logging the offsets. Fixes bug #568678.
In create() also log the offsets and not only the
buffer size.
Sebastian Dröge [Thu, 22 Jan 2009 12:51:02 +0000 (13:51 +0100)]
Fix pre-commit hook
Wim Taymans [Thu, 22 Jan 2009 11:52:50 +0000 (12:52 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gstreamer
Wim Taymans [Thu, 22 Jan 2009 10:54:41 +0000 (11:54 +0100)]
Add Doc for new typefind method.
Jan Schmidt [Thu, 22 Jan 2009 10:45:59 +0000 (10:45 +0000)]
Back to development -> 0.10.22.1
Wim Taymans [Thu, 22 Jan 2009 09:16:03 +0000 (10:16 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gstreamer
Edward Hervey [Thu, 22 Jan 2009 04:35:02 +0000 (05:35 +0100)]
Install and use pre-commit indentation hook from common
Wim Taymans [Wed, 21 Jan 2009 11:50:29 +0000 (12:50 +0100)]
If no type was found using the typefind functions, try doing an upstream
URI query to guess the type from the extension. See #566661.
Wim Taymans [Wed, 21 Jan 2009 11:48:18 +0000 (12:48 +0100)]
Add new typefing helper function to guess the caps based on the file
extension. See #566661.
API: gst_type_find_helper_for_extension()
Wim Taymans [Wed, 21 Jan 2009 11:45:45 +0000 (12:45 +0100)]
Allow adding a typefinder without a typefind function so that it can be used
to map the caps to the extension. See #566661.
Wim Taymans [Wed, 21 Jan 2009 11:43:55 +0000 (12:43 +0100)]
Update the last_buffer exactly with the buffer that caused the
preroll and also call the preroll method with that preroll buffer.
Fixes #567725.
Wim Taymans [Wed, 21 Jan 2009 11:21:49 +0000 (12:21 +0100)]
do not call the unlink function on the target pad when the ghostpad
is unlinked.
Add some unit tests for this behaviour.
Fixes #566936.
Edward Hervey [Wed, 21 Jan 2009 03:29:25 +0000 (04:29 +0100)]
autogen.sh : Use git submodule
Jan Schmidt [Mon, 19 Jan 2009 22:58:59 +0000 (22:58 +0000)]
Release 0.10.22
Original commit message from CVS:
Release 0.10.22
Jan Schmidt [Mon, 19 Jan 2009 21:20:40 +0000 (21:20 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
Tim-Philipp Müller [Sat, 17 Jan 2009 21:04:41 +0000 (21:04 +0000)]
gst/gstbus.c: Fix order of members in GstBusSource structure - the first member must be the parent structure ie. GSou...
Original commit message from CVS:
* gst/gstbus.c: (gst_bus_set_main_context), (gst_bus_create_watch):
Fix order of members in GstBusSource structure - the first member
must be the parent structure ie. GSource. Should make bus sources
attached to non-default main contexts work in all cases now (ie.
primarily in cases where the callback has a non-NULL user data
argument). Fixes #562170.
* tests/check/gst/gstbus.c: (test_custom_main_context):
Add unit test for the above, based on code by
Justin Karneges <justin at affinix com>.
Jonas Holmberg [Thu, 15 Jan 2009 10:04:37 +0000 (10:04 +0000)]
gst/gstpad.h: A small documentation fix.
Original commit message from CVS:
Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
* gst/gstpad.h:
A small documentation fix.
Sebastian Dröge [Sun, 11 Jan 2009 09:46:52 +0000 (09:46 +0000)]
gst/gstutils.h: Initialize g_once_init* data with 0. Fixes bug #567225.
Original commit message from CVS:
* gst/gstutils.h:
Initialize g_once_init* data with 0. Fixes bug #567225.
Jan Schmidt [Fri, 9 Jan 2009 23:37:19 +0000 (23:37 +0000)]
configure.ac: pre-release 0.10.21.3
Original commit message from CVS:
* configure.ac:
pre-release 0.10.21.3
Wim Taymans [Fri, 9 Jan 2009 15:43:17 +0000 (15:43 +0000)]
libs/gst/base/gstbasesink.*: Fix documentation for the wait_clock method, rename basesink -> sink for consistency.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_wait_clock):
* libs/gst/base/gstbasesink.h:
Fix documentation for the wait_clock method, rename basesink -> sink
for consistency.
Stefan Kost [Thu, 8 Jan 2009 13:41:19 +0000 (13:41 +0000)]
gst/gst.c: Create a registry if there is none also when the option for gst-disable-registry-update has been selected....
Original commit message from CVS:
* gst/gst.c:
Create a registry if there is none also when the option for
gst-disable-registry-update has been selected. Fixes #567002
Tim-Philipp Müller [Tue, 6 Jan 2009 18:10:22 +0000 (18:10 +0000)]
gst/gst.c: Ref new enum type in gst_init.
Original commit message from CVS:
* gst/gst.c: (init_post):
Ref new enum type in gst_init.
* win32/common/libgstreamer.def:
Add recently-added API.
Tim-Philipp Müller [Tue, 6 Jan 2009 17:58:59 +0000 (17:58 +0000)]
Add API for making a GStreamer plugin 'dependent' on external files, directories or environment variables, so that GS...
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt::
* gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
* gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
(gst_plugin_class_init), (gst_plugin_list_free),
(gst_plugin_ext_dep_get_env_vars_hash),
(_priv_plugin_deps_env_vars_changed),
(gst_plugin_ext_dep_extract_env_vars_paths),
(gst_plugin_ext_dep_get_hash_from_stat_entry),
(gst_plugin_ext_dep_direntry_matches),
(gst_plugin_ext_dep_scan_dir_and_match_names),
(gst_plugin_ext_dep_scan_path_with_filenames),
(gst_plugin_ext_dep_get_stat_hash),
(_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
(gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
(gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
* gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
(GST_PLUGIN_DEPENDENCY_FLAG_NONE),
(GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
(GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
(GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
(GstPluginDependencyFlags), (GstPluginFilter):
* gst/gstregistry.c: (gst_registry_scan_path_level):
* gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
(gst_registry_binary_save_plugin_dep),
(gst_registry_binary_save_plugin),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin_dep_strv),
(gst_registry_binary_load_plugin_dep),
(gst_registry_binary_load_plugin):
* gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
(GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
* gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
Add API for making a GStreamer plugin 'dependent' on external files,
directories or environment variables, so that GStreamer knows when
it needs to re-load GStreamer plugins that wrap other plugin systems.
Fixes bug #350477.
API: add gst_plugin_add_dependency()
API: add gst_plugin_add_dependency_simple()
Tim-Philipp Müller [Tue, 6 Jan 2009 13:00:11 +0000 (13:00 +0000)]
docs/faq/gst-uninstalled: Add libgstapp-0.10 from -base to search path and remove the old lib from -bad from the sear...
Original commit message from CVS:
* docs/faq/gst-uninstalled:
Add libgstapp-0.10 from -base to search path and remove the old
lib from -bad from the search path.
Wim Taymans [Mon, 5 Jan 2009 15:42:53 +0000 (15:42 +0000)]
libs/gst/base/gstbasesink.c: Release the object lock before calling the query convert pad functions to avoid deadlocks.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
(gst_base_sink_get_position_paused), (gst_base_sink_get_position):
Release the object lock before calling the query convert pad functions
to avoid deadlocks.
Wim Taymans [Mon, 5 Jan 2009 15:41:00 +0000 (15:41 +0000)]
gst/gstbus.c: The lock order should be maincontext > OBJECT_LOCK so we need to release the object lock when waking up...
Original commit message from CVS:
* gst/gstbus.c: (gst_bus_wakeup_main_context):
The lock order should be maincontext > OBJECT_LOCK so we need to release
the object lock when waking up the mainloop to avoid deadlocks.
Wim Taymans [Mon, 5 Jan 2009 10:14:28 +0000 (10:14 +0000)]
gst/gstbin.c: Use an iterator to set the clock and the index so that we can release the object lock appropriately. Fi...
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
(gst_bin_change_state_func):
Use an iterator to set the clock and the index so that we can release
the object lock appropriately. Fixes #566393.
Edward Hervey [Sat, 3 Jan 2009 18:39:38 +0000 (18:39 +0000)]
libs/gst/base/gstcollectpads.c: Use the name of the pads instead of a pointer, helps in debugging.
Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
Use the name of the pads instead of a pointer, helps in debugging.
Edward Hervey [Sat, 3 Jan 2009 18:16:54 +0000 (18:16 +0000)]
gst/gstindex.c: Add a debugging category for GstIndex, first little step in making indexing top-notch.
Original commit message from CVS:
* gst/gstindex.c: (gst_index_get_type):
Add a debugging category for GstIndex, first little step in making
indexing top-notch.
Edward Hervey [Sat, 3 Jan 2009 18:10:08 +0000 (18:10 +0000)]
gst/: Assign debug statements to relevant categories instead of the 'default' category so they don't get lost in debu...
Original commit message from CVS:
* gst/gstelement.c: (gst_element_message_full),
(gst_element_pads_activate):
* gst/gstobject.c: (gst_object_dispatch_properties_changed):
* gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
(gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
(gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
(gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
Assign debug statements to relevant categories instead of the 'default'
category so they don't get lost in debugging.
Stefan Kost [Thu, 1 Jan 2009 21:27:06 +0000 (21:27 +0000)]
gst/gstdebugutils.c: Add some ideas, how to make the graph smaller.
Original commit message from CVS:
* gst/gstdebugutils.c:
Add some ideas, how to make the graph smaller.
* gst/gstutils.c:
Add a comment from a debug session.
* libs/gst/base/gstbasetransform.c:
Log more context.
* libs/gst/controller/gstinterpolationcontrolsource.c:
Indet.
* plugins/elements/gstcapsfilter.c:
Fix typo in docs.
Tim-Philipp Müller [Sat, 27 Dec 2008 17:41:11 +0000 (17:41 +0000)]
gst/gstbus.c: Make GstBusSource work with non-default main contexts (#562170).
Original commit message from CVS:
* gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
(gst_bus_wakeup_main_context), (gst_bus_set_main_context),
(gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
(gst_bus_create_watch):
Make GstBusSource work with non-default main contexts (#562170).
* tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
(test_watch), (test_watch_with_custom_context), (gst_bus_suite):
Add test case for GstBusSource with a non-default main context.
* tests/check/libs/.cvsignore:
Ignore more.
Tim-Philipp Müller [Sat, 27 Dec 2008 16:23:12 +0000 (16:23 +0000)]
gst/gstregistrybinary.c: Wrap multi-line macros in G_STMT_{START|END}.
Original commit message from CVS:
* gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
(unpack_string)::
Wrap multi-line macros in G_STMT_{START|END}.
Sebastian Dröge [Sat, 20 Dec 2008 17:33:44 +0000 (17:33 +0000)]
API: Add URI query type. This is useful to query the URI of a sink/source element and can be used by demuxers that ne...
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstquark.c:
* gst/gstquark.h:
* gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
(gst_query_parse_uri):
* gst/gstquery.h:
API: Add URI query type. This is useful to query the URI
of a sink/source element and can be used by demuxers that
need to get data from other files.
This query should go upstream by default.
Fixes bug #562949.
* plugins/elements/gstfdsink.c: (gst_fd_sink_query):
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
(gst_fd_src_query):
* plugins/elements/gstfilesink.c: (gst_file_sink_query):
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
(gst_file_src_query):
Implement URI query.
Alessandro Decina [Fri, 19 Dec 2008 15:11:06 +0000 (15:11 +0000)]
Don't forward gst_pad_set_caps() on a source ghostpad to its target.
Original commit message from CVS:
* gst/gstghostpad.c:
* tests/check/gst/gstghostpad.c:
Don't forward gst_pad_set_caps() on a source ghostpad to its target.
That would cause the ghostpad to emit notify::caps two times (fist
from gst_pad_set_caps() and after from on_src_target_notify()).
Wim Taymans [Fri, 19 Dec 2008 11:24:36 +0000 (11:24 +0000)]
tests/check/gst/gstghostpad.c: Add some more unit-tests for the ghostpad notify signal, one of which currently fails.
Original commit message from CVS:
* tests/check/gst/gstghostpad.c: (ghost_notify_caps),
(GST_START_TEST):
Add some more unit-tests for the ghostpad notify signal, one of which
currently fails.
Sebastian Dröge [Fri, 19 Dec 2008 09:44:49 +0000 (09:44 +0000)]
win32/common/libgstreamer.def: Add gst_tag_setter_reset_tags to the list of exported symbols.
Original commit message from CVS:
* win32/common/libgstreamer.def:
Add gst_tag_setter_reset_tags to the list of exported symbols.
Alessandro Decina [Wed, 17 Dec 2008 16:16:45 +0000 (16:16 +0000)]
In a source ghostpad, when caps are changed in the target pad, the change needs to be reflected in the ghostpad.
Original commit message from CVS:
* gst/gstghostpad.c:
* tests/check/gst/gstghostpad.c:
In a source ghostpad, when caps are changed in the target pad, the
change needs to be reflected in the ghostpad.
Fixes #564863.
Sebastian Dröge [Wed, 17 Dec 2008 09:37:47 +0000 (09:37 +0000)]
gst/gstutils.c: Add FIXME for 0.11 to set the pad as message source and not the element. Otherwise it's impossible to...
Original commit message from CVS:
* gst/gstutils.c: (gst_element_found_tags_for_pad):
Add FIXME for 0.11 to set the pad as message source and not
the element. Otherwise it's impossible to detect for which
pad the tags were found without adding an event probe
or something similar to the pad.
Wim Taymans [Tue, 16 Dec 2008 21:33:57 +0000 (21:33 +0000)]
docs/faq/general.xml: Update the faq.
Original commit message from CVS:
* docs/faq/general.xml:
Update the faq.
Stefan Kost [Tue, 16 Dec 2008 15:51:52 +0000 (15:51 +0000)]
Rename api added in previous commit and add since tag to docs.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttagsetter.c:
* gst/gsttagsetter.h:
Rename api added in previous commit and add since tag to docs.
API: gst_tag_setter_reset_tags()
Stefan Kost [Tue, 16 Dec 2008 14:05:40 +0000 (14:05 +0000)]
Add function to reset tagsetter for element reuse.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttagsetter.c:
* gst/gsttagsetter.h:
Add function to reset tagsetter for element reuse.
API: gst_tag_setter_flush()
Stefan Kost [Tue, 16 Dec 2008 09:37:53 +0000 (09:37 +0000)]
gst/gsttaglist.c: Avoid copy of empty taglist.
Original commit message from CVS:
* gst/gsttaglist.c:
Avoid copy of empty taglist.
Stefan Kost [Tue, 16 Dec 2008 09:23:21 +0000 (09:23 +0000)]
More complete unit tests. Fix handling of empty taglists (they were not merged before).
Original commit message from CVS:
* gst/gsttaglist.c:
* tests/check/gst/gsttag.c:
More complete unit tests. Fix handling of empty taglists (they were
not merged before).
Stefan Kost [Tue, 16 Dec 2008 07:07:36 +0000 (07:07 +0000)]
gst/: Update GstTagSetter and GstTagMergeMode documentation. Mention that tags can come from events and from applicat...
Original commit message from CVS:
* gst/gsttaglist.h:
* gst/gsttagsetter.c:
Update GstTagSetter and GstTagMergeMode documentation. Mention
that tags can come from events and from application. Fix example.
Wim Taymans [Mon, 15 Dec 2008 15:27:06 +0000 (15:27 +0000)]
docs/design/part-TODO.txt: Remove the seqnum entry that we implemented in 0.10 already.
Original commit message from CVS:
* docs/design/part-TODO.txt:
Remove the seqnum entry that we implemented in 0.10 already.
Add entry about removing the format return value for queries.
Wim Taymans [Mon, 15 Dec 2008 12:47:59 +0000 (12:47 +0000)]
libs/gst/base/gstbasesink.c: Expose the render-delay as a property so things like appsink can use it to tweak the syn...
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_init), (gst_base_sink_set_property),
(gst_base_sink_get_property):
Expose the render-delay as a property so things like appsink can use it
to tweak the synchronisation.
Peter Kjellerstedt [Wed, 10 Dec 2008 15:19:45 +0000 (15:19 +0000)]
libs/gst/check/gstcheck.h: Allow check tests to use
Original commit message from CVS:
* libs/gst/check/gstcheck.h: Allow check tests to use
MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
CK_FORK=no to be used with multiple check test that use threads.
Sebastian Dröge [Tue, 9 Dec 2008 16:23:58 +0000 (16:23 +0000)]
gst/gstutils.c: Fix a caps memory leak introduced by the last change.
Original commit message from CVS:
* gst/gstutils.c: (gst_element_get_compatible_pad):
Fix a caps memory leak introduced by the last change.
Sebastian Dröge [Tue, 9 Dec 2008 15:45:36 +0000 (15:45 +0000)]
gst/gstutils.c: Check if the caps of the pads are compatible before returning a pad and claiming it is compatible. Th...
Original commit message from CVS:
* gst/gstutils.c: (gst_element_get_compatible_pad):
Check if the caps of the pads are compatible before returning
a pad and claiming it is compatible. This, among other things,
fixes a bug with gst-launch where an incompatible pad is chosen
and linking fails. Fixes bug #544003.
Sebastian Dröge [Tue, 9 Dec 2008 14:46:24 +0000 (14:46 +0000)]
libs/gst/check/gstcheck.c: Revert accidentially commited patch for bug #404631 which tries to print a backtrace if a ...
Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_init):
Revert accidentially commited patch for bug #404631 which
tries to print a backtrace if a testcase is terminated by
a signal. This code was never activated as the corresponding
configure.ac change wasn't committed.
Sebastian Dröge [Tue, 9 Dec 2008 10:58:01 +0000 (10:58 +0000)]
tests/check/libs/controller.c: This test should return TRUE now as syncing an uncontrolled object will succeed now (t...
Original commit message from CVS:
* tests/check/libs/controller.c: (GST_START_TEST):
This test should return TRUE now as syncing an uncontrolled
object will succeed now (there's nothing to sync).
Stefan Kost [Tue, 9 Dec 2008 09:56:25 +0000 (09:56 +0000)]
libs/gst/controller/gstcontroller.c: Aggregate return value for gst_controller_sync_values(). More info in logging. A...
Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
Aggregate return value for gst_controller_sync_values(). More info in
logging. Always set values on first sync-call.
* libs/gst/controller/gstcontrolsource.c:
Microoptimizations.
* libs/gst/controller/gsthelper.c:
Fix return code and comment.
Stefan Kost [Tue, 9 Dec 2008 09:00:57 +0000 (09:00 +0000)]
tools/gst-launch.1.in: Fix description of how to specify a type in caps. Fixes #553873.
Original commit message from CVS:
* tools/gst-launch.1.in:
Fix description of how to specify a type in caps. Fixes #553873.
Also ranges and list contain values and not property-assignments.
Wim Taymans [Mon, 8 Dec 2008 22:28:05 +0000 (22:28 +0000)]
plugins/elements/gsttee.c: Check for changed pads-list before checking the last returned
Original commit message from CVS:
* plugins/elements/gsttee.c: (gst_tee_handle_buffer):
Check for changed pads-list before checking the last returned
GstFlowReturn because the pad could have been removed and we
need to ignore the value in that case.
Wim Taymans [Mon, 8 Dec 2008 18:35:44 +0000 (18:35 +0000)]
libs/gst/base/gstbasetransform.*: Add vmethod that is called before we start the transform and which can be used to c...
Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_getrange), (gst_base_transform_chain):
* libs/gst/base/gstbasetransform.h:
Add vmethod that is called before we start the transform and which can
be used to configure the transform, such as dynamic properties.
David Schleef [Fri, 5 Dec 2008 20:32:03 +0000 (20:32 +0000)]
gst/gst.c: Search for plugins on win32 based on the location of the gstreamer DLL. Fixes #548786
Original commit message from CVS:
* gst/gst.c:
Search for plugins on win32 based on the location of the
gstreamer DLL. Fixes #548786