Wim Taymans [Thu, 22 Mar 2007 08:23:41 +0000 (08:23 +0000)]
gst/gstpad.c: Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
Original commit message from CVS:
Patch by: <syrjala at sci dot fi>
* gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
Improve debugging.
Michael Smith [Wed, 21 Mar 2007 18:13:40 +0000 (18:13 +0000)]
docs/pwg/advanced-types.xml: Fix some errors in the typefinding docs pointed out on irc.
Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Fix some errors in the typefinding docs pointed out on irc.
Jan Schmidt [Wed, 21 Mar 2007 17:50:46 +0000 (17:50 +0000)]
libs/gst/base/gstbasesrc.c: Clarify FIXME comment in the face of having added unlock_stop()
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c:
Clarify FIXME comment in the face of having added unlock_stop()
Wim Taymans [Wed, 21 Mar 2007 11:52:04 +0000 (11:52 +0000)]
gst/gstbin.c: Prepare for release where we warn against possible app breakage in the case of live pipelines along wit...
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
Prepare for release where we warn against possible app breakage in the
case of live pipelines along with an env var to enable/disable live
preroll mode (GST_COMPAT=[no-]live-preroll).
Zaheer Abbas Merali [Tue, 20 Mar 2007 14:25:15 +0000 (14:25 +0000)]
plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset): So we should use correct constants for checking...
Original commit message from CVS:
* plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
So we should use correct constants for checking for None offset.
Wim Taymans [Tue, 20 Mar 2007 14:17:47 +0000 (14:17 +0000)]
docs/design/part-block.txt: Mention the fact that the newly switched element should be set to at least PAUSED.
Original commit message from CVS:
* docs/design/part-block.txt:
Mention the fact that the newly switched element should be set to at
least PAUSED.
Wim Taymans [Tue, 20 Mar 2007 10:23:25 +0000 (10:23 +0000)]
gst/gst.c: Fix compilation with registry disabled as spotted by Saur.
Original commit message from CVS:
* gst/gst.c:
Fix compilation with registry disabled as spotted by Saur.
Olivier Crete [Tue, 20 Mar 2007 09:46:11 +0000 (09:46 +0000)]
gst/gstelement.c: Look at the pending state too when syncing the element state to the parent. Fixes #420133.
Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/gstelement.c: (gst_element_sync_state_with_parent):
Look at the pending state too when syncing the element state to the
parent. Fixes #420133.
Jan Schmidt [Mon, 19 Mar 2007 15:01:40 +0000 (15:01 +0000)]
libs/gst/base/: Add ::unlock_stop to basesrc and basesink. This allows an opportunity for sub-classes to correctly cl...
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
(gst_base_sink_change_state):
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
(gst_base_src_default_event), (gst_base_src_unlock_stop),
(gst_base_src_deactivate):
* libs/gst/base/gstbasesrc.h:
Add ::unlock_stop to basesrc and basesink. This allows an opportunity
for sub-classes to correctly clear any state they set trying to
unlock, such as clearing out unlock commands from a command fd.
* plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
(gst_fd_sink_render), (gst_fd_sink_unlock),
(gst_fd_sink_unlock_stop):
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
(gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
(gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
Implement unlock_stop in fdsrc and fdsink.
Implement seeking in fdsrc when a seekable fd is passed, as in
gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
Evan Nemerson [Mon, 19 Mar 2007 12:07:32 +0000 (12:07 +0000)]
gst/gstelement.c: Fix pad-added and pad-removed signal signatures so that the pad type is stated as GST_TYPE_PAD inst...
Original commit message from CVS:
Patch by: Evan Nemerson <evan at coeus dash group dot com>
* gst/gstelement.c: (gst_element_class_init):
Fix pad-added and pad-removed signal signatures so that the pad type is
stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
Wim Taymans [Mon, 19 Mar 2007 10:47:56 +0000 (10:47 +0000)]
docs/gst/gstreamer-sections.txt: Add new element field and method.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add new element field and method.
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
(bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_recalc_state), (gst_bin_get_state_func),
(gst_bin_element_set_state), (gst_bin_change_state_func),
(gst_bin_continue_func), (bin_bus_handler),
(bin_push_state_continue), (bin_handle_async_start),
(bin_handle_async_done), (gst_bin_handle_message_func):
Make async state changes a bit smarter by using new ASYNC_START and
ASYNC_DONE messages. This reduces the number of times we run the state
recalculation thread.
Don't change state of element with a pending ASYNC_START message.
Deprecate STATE_DIRTY messages.
* gst/gstelement.c: (gst_element_init), (gst_element_send_event),
(gst_element_get_state_func), (gst_element_continue_state),
(gst_element_lost_state), (gst_element_set_state_func),
(gst_element_change_state):
* gst/gstelement.h:
Keep the state that was last set by the app in a new element field.
Don't allow state changes when handling an element event.
Post ASYNC_START and ASYNC_DONE messages.
Change lost_state so that we go to PAUSED and wait for the parent to set
us to PLAYING again (so latency calculation can be performed)
Export gst_element_change_state() method so that subclasses can use it.
API: gst_element_change_state()
API: GST_STATE_TARGET
* gst/gstpipeline.c: (gst_pipeline_class_init),
(reset_stream_time), (gst_pipeline_change_state),
(gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
Using the new ASYNC_START message we can reset the base_time when
needed. This can then be used to implement base_time redistribution in
flushing seeks so that we can remove the explicit seek handling.
Perform latency query and configuration when going to PLAYING.
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_query), (gst_base_sink_change_state):
Post new ASYNC_START/ASYNC_DONE messages.
* tests/check/generic/sinks.c: (GST_START_TEST):
Fix test because the bin will not set the async element to PLAYING right
away.
* tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
Make the message check a little stronger.
Handle ASYNC messages.
* tests/check/pipelines/cleanup.c: (GST_START_TEST):
* tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
Expect ASYNC_DONE messages.
Wim Taymans [Mon, 19 Mar 2007 09:55:02 +0000 (09:55 +0000)]
Add ASYNC_START and ASYNC_DONE messages to prepare for latency support.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_new_async_start),
(gst_message_new_async_done), (gst_message_parse_info),
(gst_message_parse_async_start):
* gst/gstmessage.h:
Add ASYNC_START and ASYNC_DONE messages to prepare for latency
support.
Thomas Vander Stichele [Thu, 15 Mar 2007 22:33:14 +0000 (22:33 +0000)]
typos
Original commit message from CVS:
typos
Tim-Philipp Müller [Thu, 15 Mar 2007 12:37:50 +0000 (12:37 +0000)]
tools/gst-inspect.c: Now that we don't check for the 'Codec' keyword any longer in the klass, we shouldn't spew a war...
Original commit message from CVS:
* tools/gst-inspect.c:
(print_plugin_automatic_install_info_codecs):
Now that we don't check for the 'Codec' keyword any longer in the
klass, we shouldn't spew a warning if the klass isn't a decoder or
encoder (since it might be a Source/Network, for example).
Tim-Philipp Müller [Wed, 14 Mar 2007 17:24:18 +0000 (17:24 +0000)]
tools/gst-inspect.c: Don't require decoder/demuxer/depayloader elements or encoder/muxer/paylader elements to have 'C...
Original commit message from CVS:
* tools/gst-inspect.c:
(print_plugin_automatic_install_info_codecs):
Don't require decoder/demuxer/depayloader elements or
encoder/muxer/paylader elements to have 'Codec' as part of their
factory class string when introspecting a plugin's capabilities.
draft-klass.txt mentions that it might be removed in future, and
flump3dec doesn't have it as part of its class string, so chances
are others might also not have it.
Thomas Vander Stichele [Wed, 14 Mar 2007 15:42:01 +0000 (15:42 +0000)]
update i18n doc
Original commit message from CVS:
update i18n doc
Thomas Vander Stichele [Wed, 14 Mar 2007 15:17:09 +0000 (15:17 +0000)]
reformat
Original commit message from CVS:
reformat
Thomas Vander Stichele [Wed, 14 Mar 2007 15:15:45 +0000 (15:15 +0000)]
po/: Update translations from translation project
Original commit message from CVS:
* 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:
Update translations from translation project
Stefan Kost [Wed, 14 Mar 2007 13:40:28 +0000 (13:40 +0000)]
gst/gstchildproxy.c: Invert precondition check to be alike the ones in the mimiced gobject api.
Original commit message from CVS:
* gst/gstchildproxy.c: (gst_child_proxy_get_property),
(gst_child_proxy_set_property):
Invert precondition check to be alike the ones in the mimiced gobject
api.
Thomas Vander Stichele [Wed, 14 Mar 2007 11:21:48 +0000 (11:21 +0000)]
fix misleading log statement
Original commit message from CVS:
fix misleading log statement
Stefan Kost [Tue, 13 Mar 2007 14:53:21 +0000 (14:53 +0000)]
docs/: Do some Architect work.
Original commit message from CVS:
* docs/design/draft-tagreading.txt:
* docs/random/ensonic/audiobaseclasses.txt:
Do some Architect work.
* gst/gstobject.c: (gst_object_set_name):
Add a WARNING.
* gst/gstpad.c:
Add docs that point from gst_pad_get_range to gst_pad_pull_range
Jan Schmidt [Mon, 12 Mar 2007 15:27:05 +0000 (15:27 +0000)]
gst/gstsystemclock.c: Defer starting the async system clock thread until the first async wait is scheduled. Fixes #41...
Original commit message from CVS:
* gst/gstsystemclock.c: (gst_system_clock_init),
(gst_system_clock_start_async), (gst_system_clock_id_wait_async):
Defer starting the async system clock thread until the first async
wait is scheduled. Fixes #414986.
Tim-Philipp Müller [Mon, 12 Mar 2007 14:23:16 +0000 (14:23 +0000)]
plugins/elements/gstmultiqueue.c: Fix small leak (free GstSingleQueue structure too, not only contents).
Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
(gst_single_queue_free):
Fix small leak (free GstSingleQueue structure too, not only contents).
Sébastien Moutte [Sat, 10 Mar 2007 15:44:44 +0000 (15:44 +0000)]
gst/gstbin.c: Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
Original commit message from CVS:
* gst/gstbin.c:(gst_bin_add):
Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
Add new exported functions.
Wim Taymans [Fri, 9 Mar 2007 16:39:29 +0000 (16:39 +0000)]
docs/plugins/gstreamer-plugins-sections.txt: Fix GstTee docs.
Original commit message from CVS:
* docs/plugins/gstreamer-plugins-sections.txt:
Fix GstTee docs.
Wim Taymans [Fri, 9 Mar 2007 16:30:38 +0000 (16:30 +0000)]
Add metadata copy functions. Fixes #393099.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
* gst/gstbuffer.h:
Add metadata copy functions. Fixes #393099.
* gst/gstutils.c: (gst_buffer_stamp):
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer):
Use new metadata copy functions.
Thomas Vander Stichele [Fri, 9 Mar 2007 14:20:25 +0000 (14:20 +0000)]
plugins/elements/gstidentity.*: Separate out check-imperfect-timestamp and check-imperfect-offset.
Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_init), (gst_identity_check_perfect),
(gst_identity_check_imperfect_timestamp),
(gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
(gst_identity_set_property), (gst_identity_get_property):
* plugins/elements/gstidentity.h:
Separate out check-imperfect-timestamp and check-imperfect-offset.
Put back check-perfect as it was to keep compatibility.
Jan Schmidt [Fri, 9 Mar 2007 12:34:46 +0000 (12:34 +0000)]
gst/gstelement.c: There's no need to warn if VOID_PENDING is not NONE here, as long as the state is NULL it's ok, and...
Original commit message from CVS:
* gst/gstelement.c: (gst_element_dispose):
There's no need to warn if VOID_PENDING is not NONE here, as
long as the state is NULL it's ok, and that's checked immediately
above.
Zaheer Abbas Merali [Thu, 8 Mar 2007 17:58:57 +0000 (17:58 +0000)]
plugins/elements/gstidentity.c: Fix check for perfect stream to ignore buffers with -1 offsets/offset ends when check...
Original commit message from CVS:
2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* plugins/elements/gstidentity.c: (gst_identity_check_perfect):
Fix check for perfect stream to ignore buffers with -1
offsets/offset ends when checking data contiguity.
Wim Taymans [Thu, 8 Mar 2007 16:26:44 +0000 (16:26 +0000)]
tools/gst-launch.c: Print INFO messages.
Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
Print INFO messages.
Wim Taymans [Thu, 8 Mar 2007 11:40:18 +0000 (11:40 +0000)]
libs/gst/base/gstbasetransform.*: Add support for dropping buffers with custom GstFlowReturn.
Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_eventfunc),
(gst_base_transform_handle_buffer), (gst_base_transform_chain),
(gst_base_transform_activate):
* libs/gst/base/gstbasetransform.h:
Add support for dropping buffers with custom GstFlowReturn.
Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
buffers or dropped buffers.
* docs/libs/gstreamer-libs-sections.txt:
docs for new custom return code.
* plugins/elements/gstidentity.c: (gst_identity_transform_ip):
Use drop support in base class to implement drop-probability.
Tim-Philipp Müller [Wed, 7 Mar 2007 17:26:49 +0000 (17:26 +0000)]
gst/: Remove newlines at end of debug log strings.
Original commit message from CVS:
* gst/gst.c: (load_plugin_func):
* gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
* gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
* gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
Remove newlines at end of debug log strings.
Zaheer Abbas Merali [Wed, 7 Mar 2007 17:14:53 +0000 (17:14 +0000)]
plugins/elements/gstidentity.c: Only post bus message at max, once per buffer received.
Original commit message from CVS:
2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* plugins/elements/gstidentity.c: (gst_identity_check_perfect):
Only post bus message at max, once per buffer received.
Wim Taymans [Wed, 7 Mar 2007 17:13:17 +0000 (17:13 +0000)]
docs/design/: Add doc about synchronisation
Original commit message from CVS:
* docs/design/Makefile.am:
* docs/design/part-synchronisation.txt:
Add doc about synchronisation
* docs/design/draft-latency.txt:
* docs/design/part-TODO.txt:
* docs/design/part-clocks.txt:
* docs/design/part-events.txt:
* docs/design/part-gstbus.txt:
* docs/design/part-gstpipeline.txt:
* docs/design/part-live-source.txt:
* docs/design/part-messages.txt:
* docs/design/part-overview.txt:
* docs/design/part-streams.txt:
* docs/design/part-trickmodes.txt:
Documentation updates.
Jan Schmidt [Wed, 7 Mar 2007 17:09:57 +0000 (17:09 +0000)]
gstreamer.doap: Update the doap file.
Original commit message from CVS:
* gstreamer.doap:
Update the doap file.
Zaheer Abbas Merali [Wed, 7 Mar 2007 17:02:51 +0000 (17:02 +0000)]
plugins/elements/gstidentity.c: Rename non-perfect to imperfect for Mike and for the sanctity of the language.
Original commit message from CVS:
2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* plugins/elements/gstidentity.c: (gst_identity_check_perfect):
Rename non-perfect to imperfect for Mike and for the sanctity of
the language.
Also make sure bus message gets emitted for data-incontiguities.
Zaheer Abbas Merali [Wed, 7 Mar 2007 16:58:42 +0000 (16:58 +0000)]
plugins/elements/gstidentity.*: Emit bus message if check-perfect is true and we encounter a non-perfect stream betwe...
Original commit message from CVS:
2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* plugins/elements/gstidentity.c: (gst_identity_check_perfect),
(gst_identity_start):
* plugins/elements/gstidentity.h:
Emit bus message if check-perfect is true and we encounter a
non-perfect stream between 2 consecutive buffers.
Fixes #415394.
Jan Schmidt [Wed, 7 Mar 2007 16:55:02 +0000 (16:55 +0000)]
configure.ac: Back to CVS
Original commit message from CVS:
* configure.ac:
Back to CVS
Jan Schmidt [Wed, 7 Mar 2007 16:44:04 +0000 (16:44 +0000)]
Release 0.10.12
Original commit message from CVS:
Release 0.10.12
Jan Schmidt [Wed, 7 Mar 2007 16:31:30 +0000 (16:31 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
Jan Schmidt [Wed, 7 Mar 2007 12:51:20 +0000 (12:51 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
Jan Schmidt [Thu, 1 Mar 2007 18:46:36 +0000 (18:46 +0000)]
configure.ac: Version 0.10.11.2 (0.10.12 pre-release)
Original commit message from CVS:
* configure.ac:
Version 0.10.11.2 (0.10.12 pre-release)
Bump libtool versioning.
Stefan Kost [Thu, 1 Mar 2007 14:49:41 +0000 (14:49 +0000)]
libs/gst/base/gstbasesrc.c: Log flow-names and not numbers.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
Log flow-names and not numbers.
Thomas Vander Stichele [Wed, 28 Feb 2007 19:25:48 +0000 (19:25 +0000)]
configure.ac: Convert to new AG_GST style.
Original commit message from CVS:
* configure.ac:
Convert to new AG_GST style.
Wim Taymans [Wed, 28 Feb 2007 18:51:47 +0000 (18:51 +0000)]
libs/gst/base/gstbasesink.c: Don't unref query twice.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
Don't unref query twice.
Wim Taymans [Wed, 28 Feb 2007 16:57:49 +0000 (16:57 +0000)]
gst/gstvalue.c: Implement GstObject -> string transform so we print object names when serializing GValues containing ...
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_transform_object_string),
(_gst_value_initialize):
Implement GstObject -> string transform so we print object names
when serializing GValues containing GstObjects.
Wim Taymans [Wed, 28 Feb 2007 16:55:53 +0000 (16:55 +0000)]
docs/gst/gstreamer-sections.txt: Add new stuff to docs.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add new stuff to docs.
Wim Taymans [Wed, 28 Feb 2007 16:46:07 +0000 (16:46 +0000)]
libs/gst/base/gstbasesink.c: Improve latency query code.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
(gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
(gst_base_sink_change_state):
Improve latency query code.
Don't leak latency events.
* tests/check/gst/gstbin.c: (GST_START_TEST):
Improve debugging.
Wim Taymans [Wed, 28 Feb 2007 16:43:43 +0000 (16:43 +0000)]
gst/gstelement.*: Improve docs a little. Added Since: for new macro.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_message_full),
(gst_element_get_state_func):
* gst/gstelement.h:
Improve docs a little. Added Since: for new macro.
* gst/gstobject.c: (gst_object_sink):
* gst/gstpipeline.c: (gst_pipeline_change_state),
(gst_pipeline_set_new_stream_time):
* gst/gstpipeline.h:
Improve debugging and docs.
* gst/gstutils.c: (gst_element_state_change_return_get_name):
Improve debugging.
Wim Taymans [Wed, 28 Feb 2007 16:40:02 +0000 (16:40 +0000)]
gst/gstelement.c: Handle INFO messages from the GST_ELEMENT_INFO macro as well.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_message_full),
(gst_element_set_locked_state), (gst_element_get_state_func),
(gst_element_change_state):
Handle INFO messages from the GST_ELEMENT_INFO macro as well.
Documentation updates.
Small code cleanups.
* gst/gstmessage.c: (gst_message_new_info),
(gst_message_parse_info):
* gst/gstmessage.h:
API: gst_message_new_info()
API: gst_message_parse_info()
Add INFO message create and parse code.
Wim Taymans [Wed, 28 Feb 2007 16:35:48 +0000 (16:35 +0000)]
gst/gstbin.c: Also report the live parameter of a latency query.
Original commit message from CVS:
* gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
(bin_query_latency_done):
Also report the live parameter of a latency query.
Thomas Vander Stichele [Wed, 28 Feb 2007 12:57:42 +0000 (12:57 +0000)]
plug test leak
Original commit message from CVS:
plug test leak
Thomas Vander Stichele [Wed, 28 Feb 2007 12:43:57 +0000 (12:43 +0000)]
actually use the env var for tests
Original commit message from CVS:
actually use the env var for tests
Thomas Vander Stichele [Wed, 28 Feb 2007 12:40:45 +0000 (12:40 +0000)]
tests/check/generic/states.c: Copy the current generic/states example from -base and adapt so we can use the exact sa...
Original commit message from CVS:
* tests/check/generic/states.c: (GST_START_TEST), (states_suite):
Copy the current generic/states example from -base and adapt so
we can use the exact same code everywhere.
Check a STATES_IGNORE_ELEMENTS env var which can be used
to ignore certain element factories for this test, which is
what is being done in -base
* tests/check/Makefile.am:
Mention this environment variable.
Wim Taymans [Tue, 27 Feb 2007 17:22:07 +0000 (17:22 +0000)]
API: gst_bus_timed_pop()
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
(gst_bus_timed_pop), (gst_bus_pop):
* gst/gstbus.h:
API: gst_bus_timed_pop()
Implement gst_bus_timed_pop() to do a blocking timed wait for a
message to arrive on the bus.
* tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
(gst_bus_suite):
Two unit tests for new _timed_pop() function.
Wim Taymans [Fri, 23 Feb 2007 17:42:06 +0000 (17:42 +0000)]
gst/gstpipeline.c: Don't ref a NULL clock in _provide_clock_func().
Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_change_state),
(gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
Don't ref a NULL clock in _provide_clock_func().
Don't allow an INVALID delay.
Don't try to calculate base_time with an invalid start_time.
Also distribute and notify a NULL clock when it was selected.
* tools/gst-launch.c: (event_loop):
Don't crash when a NULL clock was selected in the pipeline.
Tim-Philipp Müller [Fri, 23 Feb 2007 13:42:19 +0000 (13:42 +0000)]
docs/: Some small updates: update plugin system identifier prefix mention our new install
Original commit message from CVS:
* docs/design/Makefile.am:
* docs/design/draft-missing-plugins.txt:
* docs/random/draft-missing-plugins.txt:
Some small updates: update plugin system identifier prefix
('gstreamer.net' to 'gstreamer'), mention our new install
API in libgstbaseutils rather than libgimme-codec, add
reference to the online docs.
Thomas Vander Stichele [Wed, 21 Feb 2007 15:35:19 +0000 (15:35 +0000)]
win32/common/config.h: Pretty sure Bill never made a powerpc version. Powerpc hackers, use moap cl ci to only check ...
Original commit message from CVS:
* win32/common/config.h:
Pretty sure Bill never made a powerpc version. Powerpc hackers,
use moap cl ci to only check in what is mentioned in the ChangeLog.
Thomas Vander Stichele [Wed, 21 Feb 2007 15:34:14 +0000 (15:34 +0000)]
Fix up documentation to link to the correct GstGError section.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstelement.h:
Fix up documentation to link to the correct GstGError section.
Add GST_ELEMENT_INFO macro since someone else added a Info message.
Thomas Vander Stichele [Wed, 21 Feb 2007 15:30:53 +0000 (15:30 +0000)]
tools/gst-launch.c: Make sure that we actually show the important message part of a warning message.
Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
Make sure that we actually show the important message part of a
warning message.
No need to check if the gerror is not NULL to free; first of all
g_free accepts NULL; and second the default error handler would
segfault if gerror was NULL.
Wim Taymans [Wed, 21 Feb 2007 12:10:14 +0000 (12:10 +0000)]
docs/gst/gstreamer-sections.txt: Removed docs as well.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Removed docs as well.
Wim Taymans [Wed, 21 Feb 2007 12:01:41 +0000 (12:01 +0000)]
gst/gstmessage.*: Remove new messages for release.
Original commit message from CVS:
* gst/gstmessage.c: (gst_message_parse_duration):
* gst/gstmessage.h:
Remove new messages for release.
Wim Taymans [Tue, 20 Feb 2007 18:02:50 +0000 (18:02 +0000)]
Make the ghostpad a parent of the internal pad again for better backward compatibility. Don't write code that relies ...
Original commit message from CVS:
* docs/design/part-gstghostpad.txt:
* gst/gstghostpad.c: (gst_ghost_pad_dispose),
(gst_ghost_pad_new_full):
Make the ghostpad a parent of the internal pad again for better backward
compatibility. Don't write code that relies on this however.
* gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
(gst_pad_link_check_hierarchy):
Require that parents should be GstElements in the hierarchy check.
Wim Taymans [Tue, 20 Feb 2007 10:45:13 +0000 (10:45 +0000)]
gst/gstbin.c: Improve debug info.
Original commit message from CVS:
* gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
(gst_bin_change_state_func), (bin_query_min_max_init),
(bin_query_latency_fold), (bin_query_latency_done),
(gst_bin_query):
Improve debug info.
Implement latency query.
Wim Taymans [Tue, 20 Feb 2007 10:16:27 +0000 (10:16 +0000)]
Do not set the internal pad as a parent anymore so we can avoid hierarchy linking errors when the ghostpad has no par...
Original commit message from CVS:
* docs/design/part-gstghostpad.txt:
* gst/gstghostpad.c: (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_dispose),
(gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
Do not set the internal pad as a parent anymore so we can avoid
hierarchy linking errors when the ghostpad has no parent yet. This also
fixes failed activation because of unlinked internal pads, which in
turn fixes the impossible case where you have to activate a pad before
you can add it to a running element.
Also fix the docs.
* gst/gstpad.c: (pre_activate), (post_activate),
(gst_pad_set_active), (gst_pad_activate_pull),
(gst_pad_activate_push), (gst_pad_check_pull_range):
Add some more debug info.
Mark activation mode in pre_activate so that we don't try to activate in
endless loops. Fixes #385084.
Wim Taymans [Mon, 19 Feb 2007 18:08:59 +0000 (18:08 +0000)]
libs/gst/base/gstbasetransform.c: Implement a checkgetrange function instead of relying on the default core behaviour...
Original commit message from CVS:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
(gst_base_transform_check_get_range):
Implement a checkgetrange function instead of relying on the default
core behaviour that assumes we can operate in pull mode if we have a
getrange function. First step at fixing #385084.
Stefan Kost [Thu, 15 Feb 2007 12:05:09 +0000 (12:05 +0000)]
More docs coverage and some ChangeLog surgery (add missing names)
Original commit message from CVS:
* gst/gstchildproxy.h:
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasetransform.h:
More docs coverage and some ChangeLog surgery (add missing names)
Wim Taymans [Thu, 15 Feb 2007 11:32:02 +0000 (11:32 +0000)]
docs/design/: Some doc updates. Start renaming from stream_time to running_time where it was used wrongly.
Original commit message from CVS:
* docs/design/part-TODO.txt:
* docs/design/part-activation.txt:
* docs/design/part-block.txt:
* docs/design/part-buffering.txt:
* docs/design/part-clocks.txt:
* docs/design/part-element-source.txt:
* docs/design/part-events.txt:
* docs/design/part-gstbin.txt:
* docs/design/part-gstbus.txt:
* docs/design/part-gstpipeline.txt:
* docs/design/part-live-source.txt:
* docs/design/part-messages.txt:
* docs/design/part-overview.txt:
* docs/design/part-qos.txt:
* docs/design/part-query.txt:
* docs/design/part-states.txt:
* docs/design/part-trickmodes.txt:
Some doc updates. Start renaming from stream_time to running_time where
it was used wrongly.
Wim Taymans [Thu, 15 Feb 2007 09:07:25 +0000 (09:07 +0000)]
libs/gst/base/gstbasesrc.c: Answer LATENCY query.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
Answer LATENCY query.
Wim Taymans [Thu, 15 Feb 2007 08:40:38 +0000 (08:40 +0000)]
tests/check/gst/gstevent.c: Improve debugging.
Original commit message from CVS:
* tests/check/gst/gstevent.c: (event_probe), (test_event),
(GST_START_TEST):
Improve debugging.
Wim Taymans [Thu, 15 Feb 2007 08:37:19 +0000 (08:37 +0000)]
gst/gstpad.c: Improve debugging of default pad dispatcher and query functions.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_get_internal_links_default),
(gst_pad_dispatcher):
Improve debugging of default pad dispatcher and query functions.
Wim Taymans [Thu, 15 Feb 2007 08:31:25 +0000 (08:31 +0000)]
docs/gst/gstreamer-sections.txt: Remove old unused method.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Remove old unused method.
Wim Taymans [Tue, 13 Feb 2007 15:51:00 +0000 (15:51 +0000)]
tests/check/gst/gstsegment.c: Fix check
Original commit message from CVS:
* tests/check/gst/gstsegment.c: (GST_START_TEST):
Fix check
Wim Taymans [Tue, 13 Feb 2007 15:34:15 +0000 (15:34 +0000)]
docs/design/part-seeking.txt: Some small update.
Original commit message from CVS:
* docs/design/part-seeking.txt:
Some small update.
* gst/gstsegment.c: (gst_segment_set_seek):
Revert old bogus change that should make seeking work again.
Stefan Kost [Tue, 13 Feb 2007 14:52:47 +0000 (14:52 +0000)]
docs/random/ensonic/: Possible dynamic reconnection api, plus some type fixes the other two docs.
Original commit message from CVS:
* docs/random/ensonic/dynlink.txt:
* docs/random/ensonic/interfaces.txt:
* docs/random/ensonic/receipies.txt:
Possible dynamic reconnection api, plus some type fixes the other two
docs.
Sebastian Dröge [Tue, 13 Feb 2007 13:40:05 +0000 (13:40 +0000)]
plugins/elements/: Also check for an absolute path following file:// in the filesrc element. Remove redundant check a...
Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
* plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
Also check for an absolute path following file:// in the filesrc
element. Remove redundant check and call g_path_is_absolute() on the
unescaped location.
Stefan Kost [Tue, 13 Feb 2007 09:10:53 +0000 (09:10 +0000)]
docs/design/draft-klass.txt: Add existing category analysis.
Original commit message from CVS:
* docs/design/draft-klass.txt:
Add existing category analysis.
* gst/gstcaps.c:
Fix doc example, framerate is a fraction.
Stefan Kost [Mon, 12 Feb 2007 19:55:24 +0000 (19:55 +0000)]
Add crossreferences to glib/gobject docs.
Original commit message from CVS:
* configure.ac:
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
* docs/plugins/Makefile.am:
Add crossreferences to glib/gobject docs.
Wim Taymans [Mon, 12 Feb 2007 11:32:22 +0000 (11:32 +0000)]
docs/design/draft-latency.txt: Small update.
Original commit message from CVS:
* docs/design/draft-latency.txt:
Small update.
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_get_latency), (gst_base_sink_query_latency),
(gst_base_sink_wait_clock), (gst_base_sink_send_qos),
(gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
(gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
(gst_base_sink_get_position), (gst_base_sink_query),
(gst_base_sink_change_state):
* libs/gst/base/gstbasesink.h:
API: gst_base_sink_query_latency() to let subclasses query the upstream
latency.
API: gst_base_sink_get_latency() to let subclasses query the configured
latency in the sink.
Implement query and set latency.
Update some docs.
As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
don't continue preroll when we are flushing. Fixes #405284.
* tests/check/pipelines/stress.c: (change_state_timeout),
(quit_timeout), (GST_START_TEST), (stress_suite):
Test for #405284.
René Stadler [Mon, 12 Feb 2007 10:50:20 +0000 (10:50 +0000)]
API: add GST_TAG_REFERENCE_LEVEL (#403597).
Original commit message from CVS:
Patch by: René Stadler <mail at renestadler de>
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
API: add GST_TAG_REFERENCE_LEVEL (#403597).
Stefan Kost [Sun, 11 Feb 2007 19:59:12 +0000 (19:59 +0000)]
docs/libs/Makefile.am: Fix path to core docs.
Original commit message from CVS:
* docs/libs/Makefile.am:
Fix path to core docs.
* gst/gstbin.c: (gst_bin_get_by_interface),
(gst_bin_iterate_all_by_interface):
Refix docs by also renaming 'interface' to 'iface' in implementation.
* docs/gst/gstreamer-sections.txt:
* gst/gstcaps.c:
* gst/gstchildproxy.c: (gst_child_proxy_base_init):
* gst/gstchildproxy.h:
* gst/gstelementfactory.c:
* gst/gstpadtemplate.h:
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_new):
Document more.
Sébastien Moutte [Sat, 10 Feb 2007 18:31:12 +0000 (18:31 +0000)]
gst/gstbin.h: Replace interface parameter name by iface as interface is a reserved keyword in Visual Studio for C++ p...
Original commit message from CVS:
* gst/gstbin.h:(gst_bin_get_by_interface),
(gst_bin_iterate_all_by_interface):
Replace interface parameter name by iface as interface is
a reserved keyword in Visual Studio for C++ projects so it removes
a build error for application developpers using VS.
* plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
Fix a bug on Windows in uri format check. Now the prefix checked
is file:// and next we check if the path after file:// is absolute.
* win32/common/libgstbase.def:
* win32/common/libgstdataprotocol.def:
* win32/common/libgstgstreamer.def:
Add new exported functions.
Andy Wingo [Fri, 9 Feb 2007 15:25:45 +0000 (15:25 +0000)]
tests/check/pipelines/simple-launch-lines.c
Original commit message from CVS:
2007-02-09 Andy Wingo <wingo@pobox.com>
* tests/check/pipelines/simple-launch-lines.c
(simple_launch_lines_suite, test_tee): Disable tee test until I
have time to fix it :-(
Andy Wingo [Fri, 9 Feb 2007 13:59:32 +0000 (13:59 +0000)]
tests/check/: Add ABI checks for PPC32.
Original commit message from CVS:
2007-02-09 Andy Wingo <wingo@pobox.com>
* tests/check/Makefile.am (noinst_HEADERS):
* tests/check/libs/libsabi.c:
* tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
* tests/check/gst/gstabi.c:
* tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
Andy Wingo [Fri, 9 Feb 2007 13:45:27 +0000 (13:45 +0000)]
tests/check/pipelines/simple-launch-lines.c (test_tee): Add tests for push and pull tee behavior.
Original commit message from CVS:
2007-02-09 Andy Wingo <wingo@pobox.com>
* tests/check/pipelines/simple-launch-lines.c (test_tee): Add
tests for push and pull tee behavior.
* plugins/elements/gsttee.h:
* plugins/elements/gsttee.c: Describe has-sink-loop better, and
mark as deprecated as well as unimplemented. It was a crack idea.
Add support for tee operating in pull mode, off by default.
Andy Wingo [Fri, 9 Feb 2007 13:41:24 +0000 (13:41 +0000)]
gst/gstregistryxml.c (load_feature, load_plugin): Drop some normal-case logs down to LOG, raise errors to WARNING.
Original commit message from CVS:
2007-02-09 Andy Wingo <wingo@pobox.com>
* gst/gstregistryxml.c (load_feature, load_plugin): Drop some
normal-case logs down to LOG, raise errors to WARNING.
(gst_registry_xml_read_cache): Don't log before calling a function
that logs.
* gst/gstregistry.c (gst_registry_finalize): Less debug on program
exit (registry finalize).
(gst_registry_add_plugin, gst_registry_add_feature): No need for a
DEBUG log when we emit signals that people don't even have the
chance to connect to.
(gst_registry_scan_path_level): Less logging in the normal case.
Michal Benes [Mon, 5 Feb 2007 13:15:44 +0000 (13:15 +0000)]
plugins/elements/gstfilesrc.c: Correctly generate EOS for non-seekable files. We don't have a total length for them a...
Original commit message from CVS:
Patch by: Michal Benes <michal dot benes at itonis dot tv>
* plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
Correctly generate EOS for non-seekable files. We don't have a total
length for them and would get an unexpected end of file if we only
special-cased for regular files. (Fixes: #404569)
Sebastian Dröge [Mon, 5 Feb 2007 08:15:26 +0000 (08:15 +0000)]
tests/check/elements/filesrc.c: Add unit test for the GstURIHandler interface in filesrc. This also tests the newly a...
Original commit message from CVS:
* tests/check/elements/filesrc.c: (GST_START_TEST),
(filesrc_suite):
Add unit test for the GstURIHandler interface in filesrc. This also
tests the newly added file://localhost/foo/bar support.
Tim-Philipp Müller [Sun, 4 Feb 2007 16:14:19 +0000 (16:14 +0000)]
gst/gstelementfactory.h: The klass string is not a hierarchy. Add reference to the design doc for more information an...
Original commit message from CVS:
* gst/gstelementfactory.h:
The klass string is not a hierarchy. Add reference to the design doc
for more information and common types.
Wim Taymans [Fri, 2 Feb 2007 18:08:32 +0000 (18:08 +0000)]
gst/gstquery.c: Remove old structure field.
Original commit message from CVS:
* gst/gstquery.c: (gst_query_new_latency):
Remove old structure field.
Stefan Kost [Fri, 2 Feb 2007 12:27:16 +0000 (12:27 +0000)]
tools/gst-launch.1.in: Give example for network streaming (#351998)
Original commit message from CVS:
* tools/gst-launch.1.in:
Give example for network streaming (#351998)
Wim Taymans [Fri, 2 Feb 2007 11:48:48 +0000 (11:48 +0000)]
docs/gst/gstreamer-sections.txt: Add docs for new methods.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add docs for new methods.
* gst/gstevent.c: (gst_event_new_latency),
(gst_event_parse_latency):
* gst/gstevent.h:
Add new LATENCY event to configure latency in a pipeline.
API: gst_event_new_latency
API: gst_event_parse_latency
* gst/gstmessage.c: (gst_message_new_buffering),
(gst_message_new_lost_preroll), (gst_message_new_prerolled),
(gst_message_new_latency), (gst_message_parse_buffering),
(gst_message_parse_lost_preroll):
* gst/gstmessage.h:
Added messages used in draft-latency.
API: gst_message_new_lost_preroll
API: gst_message_parse_lost_preroll
API: gst_message_new_prerolled
API: gst_message_new_latency
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency):
* gst/gstquery.h:
Implemented new latency query as in design doc.
API: gst_query_new_latency
API: gst_query_set_latency
API: gst_query_parse_latency
Wim Taymans [Fri, 2 Feb 2007 11:33:19 +0000 (11:33 +0000)]
docs/design/draft-latency.txt: Slight redesign to allow for dynamic latency adjustments.
Original commit message from CVS:
* docs/design/draft-latency.txt:
Slight redesign to allow for dynamic latency adjustments.
* docs/design/part-negotiation.txt:
Fix some typos.
Sebastian Dröge [Fri, 2 Feb 2007 10:41:29 +0000 (10:41 +0000)]
plugins/elements/: Allow file://localhost/foo/bar URLs and correctly fail for every other hostname that one sets. Thi...
Original commit message from CVS:
reviewed by: Wim Taymans <wim@fluendo.com>
* plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
* plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
Allow file://localhost/foo/bar URLs and correctly fail for every other
hostname that one sets. This was gnomevfssrc is linked for those if
installed as it can handle it (#403172)
Sebastian Dröge [Thu, 1 Feb 2007 19:00:48 +0000 (19:00 +0000)]
libs/gst/base/gstcollectpads.*: Don't put the previously added destroy notify in the GstCollectData struct as all it'...
Original commit message from CVS:
reviewed by: Tim-Philipp Müller <tim at centricular dot net>
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
(unref_data), (gst_collect_pads_add_pad_full):
* libs/gst/base/gstcollectpads.h:
Don't put the previously added destroy notify in the GstCollectData
struct as all it's padding is already used and we don't want to break
ABI. Instead put in the pad's GObject data for now. This should be
cleaned up for 0.11 (#402393).
Sebastian Dröge [Thu, 1 Feb 2007 17:52:11 +0000 (17:52 +0000)]
API: Add function to specify a destroy notification for custom
Original commit message from CVS:
reviewed by: Wim Taymans <wim@fluendo.com>
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
(unref_data), (gst_collect_pads_add_pad),
(gst_collect_pads_add_pad_full):
* libs/gst/base/gstcollectpads.h:
API: Add function to specify a destroy notification for custom
GstCollectData when adding new pads in GstCollectPads (#402393).
Tim-Philipp Müller [Thu, 1 Feb 2007 17:10:25 +0000 (17:10 +0000)]
po/sv.po: Update Swedish translation (#378255).
Original commit message from CVS:
* po/sv.po:
Update Swedish translation (#378255).
Stefan Kost [Wed, 31 Jan 2007 11:42:53 +0000 (11:42 +0000)]
docs/design/draft-klass.txt: Fix the previous change, this is a list of categories and not a hierarchy.
Original commit message from CVS:
* docs/design/draft-klass.txt:
Fix the previous change, this is a list of categories and not a hierarchy.
Stefan Kost [Wed, 31 Jan 2007 11:02:29 +0000 (11:02 +0000)]
docs/design/draft-klass.txt: Add info about how to get a list of used classes.
Original commit message from CVS:
* docs/design/draft-klass.txt:
Add info about how to get a list of used classes.
Tim-Philipp Müller [Tue, 30 Jan 2007 19:12:54 +0000 (19:12 +0000)]
plugins/elements/gsttypefindelement.c: Don't leak found caps in chain function (no idea why that never showed up as a...
Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain_do_typefinding),
(gst_type_find_element_change_state):
Don't leak found caps in chain function (no idea why that never
showed up as a leak anywhere).