Tim-Philipp Müller [Mon, 8 Oct 2007 20:45:07 +0000 (20:45 +0000)]
win32/common/: Update generated files.
Original commit message from CVS:
* win32/common/gstenumtypes.c:
* win32/common/gstenumtypes.h:
* win32/common/gstversion.h:
Update generated files.
Tim-Philipp Müller [Mon, 8 Oct 2007 17:59:35 +0000 (17:59 +0000)]
docs/manual/advanced-autoplugging.xml: Prefix section with broken code with a warning (see #342432).
Original commit message from CVS:
* docs/manual/advanced-autoplugging.xml:
Prefix section with broken code with a warning (see #342432).
Tim-Philipp Müller [Mon, 8 Oct 2007 17:26:09 +0000 (17:26 +0000)]
docs/manual/: Call g_thread_init() before g_option_context_new() to avoid warnings. Spotted by Ritesh Khadgaray. Fixe...
Original commit message from CVS:
* docs/manual/appendix-integration.xml:
* docs/manual/basics-init.xml:
Call g_thread_init() before g_option_context_new() to
avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
Wim Taymans [Mon, 8 Oct 2007 17:05:06 +0000 (17:05 +0000)]
libs/gst/base/gstbasesink.c: When we received EOS and are waiting for when to post the EOS message, our state is prer...
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
(gst_base_sink_queue_object_unlocked),
(gst_base_sink_queue_object), (gst_base_sink_event),
(gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
When we received EOS and are waiting for when to post the EOS message,
our state is prerolled and we should not return ASYNC.
Reorganize some code paths to implement this behavior.
* tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
(gst_sinks_suite):
Add unit test to verify above EOS fix.
Wim Taymans [Mon, 8 Oct 2007 10:28:18 +0000 (10:28 +0000)]
plugins/elements/gsttypefindelement.c: Move detecting the input caps of the sinkpad to the setcaps function.
Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_have_type), (gst_type_find_element_init),
(gst_type_find_element_setcaps), (gst_type_find_element_chain):
Move detecting the input caps of the sinkpad to the setcaps function.
This allows us to update the output caps when we receive new input caps
instead of always using the first detected caps.
Wim Taymans [Mon, 8 Oct 2007 10:21:15 +0000 (10:21 +0000)]
libs/gst/base/gstbasesink.c: Don't try to preroll non-async elements after a flush.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_event),
(gst_base_sink_get_position):
Don't try to preroll non-async elements after a flush.
Subtract latency form clock times when reporting position.
Wim Taymans [Fri, 5 Oct 2007 14:44:18 +0000 (14:44 +0000)]
gst/: Small comment and documentation update.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_pause_task):
* gst/gstutils.c:
Small comment and documentation update.
Wim Taymans [Fri, 5 Oct 2007 14:40:06 +0000 (14:40 +0000)]
libs/gst/base/gstbasesrc.c: Rework the locking of basesrc in a similar fashion to basesink. We basically have one loc...
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
(gst_base_src_set_live), (gst_base_src_is_live),
(gst_base_src_query_latency), (gst_base_src_perform_seek),
(gst_base_src_default_event), (gst_base_src_wait),
(gst_base_src_do_sync), (gst_base_src_get_range),
(gst_base_src_pad_get_range), (gst_base_src_loop),
(gst_base_src_unlock), (gst_base_src_unlock_stop),
(gst_base_src_set_flushing), (gst_base_src_set_playing),
(gst_base_src_activate_push), (gst_base_src_activate_pull),
(gst_base_src_change_state):
Rework the locking of basesrc in a similar fashion to basesink. We
basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
us to handle live sources and semi live ones much better.
Simplify flushing.
Fix unlocking when seeking, shutting down and pausing in live sources.
Wim Taymans [Fri, 5 Oct 2007 11:52:39 +0000 (11:52 +0000)]
tests/check/pipelines/simple-launch-lines.c: Fix compilation again.
Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
Fix compilation again.
Stefan Kost [Wed, 3 Oct 2007 15:27:24 +0000 (15:27 +0000)]
gst/gstelement.c: Use meaningful categories for the logs to clean the default one.
Original commit message from CVS:
* gst/gstelement.c:
Use meaningful categories for the logs to clean the default one.
Stefan Kost [Wed, 3 Oct 2007 15:05:30 +0000 (15:05 +0000)]
tests/check/pipelines/cleanup.c: Print message name and not just number.
Original commit message from CVS:
* tests/check/pipelines/cleanup.c:
Print message name and not just number.
Stefan Kost [Wed, 3 Oct 2007 15:02:43 +0000 (15:02 +0000)]
docs/design/draft-tagreading.txt: Add some more thoughts.
Original commit message from CVS:
* docs/design/draft-tagreading.txt:
Add some more thoughts.
Stefan Kost [Wed, 3 Oct 2007 14:51:03 +0000 (14:51 +0000)]
tests/check/pipelines/simple-launch-lines.c: Print message name and not just number.
Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c:
Print message name and not just number.
Stefan Kost [Wed, 3 Oct 2007 12:05:17 +0000 (12:05 +0000)]
libs/gst/base/gsttypefindhelper.c: Speedup typefinding. This is work in progress (see #459862).
Original commit message from CVS:
* libs/gst/base/gsttypefindhelper.c:
Speedup typefinding. This is work in progress (see #459862).
Stefan Kost [Wed, 3 Oct 2007 11:36:14 +0000 (11:36 +0000)]
gst/gstplugin.c: Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
Original commit message from CVS:
* gst/gstplugin.c:
Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
Spotted by Josep Torra Valles <josep@fluendo.com>.
Tim-Philipp Müller [Wed, 3 Oct 2007 11:16:48 +0000 (11:16 +0000)]
gst/gstclock.h: Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags field has moved to GstObject.
Original commit message from CVS:
* gst/gstclock.h:
Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
field has moved to GstObject.
Wim Taymans [Tue, 2 Oct 2007 15:20:58 +0000 (15:20 +0000)]
libs/gst/base/gstbasesrc.c: Call unlock for live sources so that they can't get stuck in _create and produce a buffer...
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
(gst_base_src_get_range), (gst_base_src_change_state):
Call unlock for live sources so that they can't get stuck in _create and
produce a buffer before they are set back to PLAYING.
Edward Hervey [Tue, 2 Oct 2007 09:21:48 +0000 (09:21 +0000)]
plugins/elements/gstqueue.c: Comment the segment-related code... in the PROPER function.
Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
(gst_queue_locked_dequeue):
Comment the segment-related code... in the PROPER function.
See #482147 and my commit from yesterday.
Wim Taymans [Mon, 1 Oct 2007 17:59:21 +0000 (17:59 +0000)]
libs/gst/base/gstbasesrc.c: Also initialize the counter that calculates the first timestamp on a buffer correctly for...
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
Also initialize the counter that calculates the first timestamp on a
buffer correctly for non-live sources.
Edward Hervey [Mon, 1 Oct 2007 12:31:28 +0000 (12:31 +0000)]
plugins/elements/gstqueue.c: Disable code that's breaking the current-time-level reporting.
Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
Disable code that's breaking the current-time-level reporting.
See #482147
Sebastian Dröge [Sun, 30 Sep 2007 18:16:34 +0000 (18:16 +0000)]
docs/gst/gstreamer-sections.txt: Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section as they should...
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
as they shouldn't show up. Fixes the docs build.
Sébastien Moutte [Sat, 29 Sep 2007 11:46:31 +0000 (11:46 +0000)]
gst/gstinfo.h: Add an explicit variable importation needed on VS6 (only for MSC_VER)
Original commit message from CVS:
* gst/gstinfo.h:
Add an explicit variable importation needed on VS6 (only for MSC_VER)
Define M_PI which is used in files which are including gstinfo.h.
VS6 includes doesn't define it.
* win32/common/libgstbase.def:
* win32/common/libgstcontroller.def:
* win32/common/libgstreamer.def:
Add new exported functions and variables.
* win32/vs6/libgstcontroller.dsp:
* win32/vs6/libgstreamer.dsp:
Update the list of files to build.
Felipe Contreras [Fri, 28 Sep 2007 10:22:40 +0000 (10:22 +0000)]
plugins/elements/gstqueue.c: Improve debugging. Fixes #480858.
Original commit message from CVS:
Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
* plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
(gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
(gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
Improve debugging. Fixes #480858.
Felipe Contreras [Fri, 28 Sep 2007 10:15:23 +0000 (10:15 +0000)]
plugins/elements/gstqueue.c: First patch of code cleanups, use the macros and right arguments in the macros to signal...
Original commit message from CVS:
Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
* plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
First patch of code cleanups, use the macros and right arguments in the
macros to signal and lock the queue. See #480858.
Wim Taymans [Wed, 26 Sep 2007 18:06:42 +0000 (18:06 +0000)]
gst/gstbus.c: Improve debugging when dealing with _poll().
Original commit message from CVS:
* gst/gstbus.c: (poll_func):
Improve debugging when dealing with _poll().
Tim-Philipp Müller [Wed, 26 Sep 2007 18:04:42 +0000 (18:04 +0000)]
gst/gstregistryxml.c: Fix memory leak I introduced a few days ago.
Original commit message from CVS:
* gst/gstregistryxml.c:
Fix memory leak I introduced a few days ago.
Michael Smith [Wed, 26 Sep 2007 17:00:22 +0000 (17:00 +0000)]
gst/gstbuffer.c: Make it once again possible to free GstBuffers in the default build.
Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_finalize):
Make it once again possible to free GstBuffers in the default
build.
The poisoning scribbles on parts of the miniobject we need in
order to free it.
Fixes #480341
Tim-Philipp Müller [Tue, 25 Sep 2007 18:35:39 +0000 (18:35 +0000)]
API: add GST_TAG_COMPOSER, fixes #459809.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c:
* gst/gsttaglist.h:
API: add GST_TAG_COMPOSER, fixes #459809.
Sebastian Dröge [Mon, 24 Sep 2007 17:41:25 +0000 (17:41 +0000)]
gst/gstplugin.*: Add the 3-clause BSD license and the MIT/X11 license to the license list. Fixes #479784.
Original commit message from CVS:
* gst/gstplugin.c:
* gst/gstplugin.h:
Add the 3-clause BSD license and the MIT/X11 license to the license
list. Fixes #479784.
Tim-Philipp Müller [Mon, 24 Sep 2007 17:22:21 +0000 (17:22 +0000)]
docs/faq/getting.xml: Add Q+A about different GStreamer versions (#364056).
Original commit message from CVS:
* docs/faq/getting.xml:
Add Q+A about different GStreamer versions (#364056).
Wim Taymans [Mon, 24 Sep 2007 12:46:17 +0000 (12:46 +0000)]
libs/gst/base/gstbasesink.c: Return correct gboolean from query function.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
(gst_base_sink_event), (gst_base_sink_change_state):
Return correct gboolean from query function.
Wim Taymans [Mon, 24 Sep 2007 12:29:23 +0000 (12:29 +0000)]
libs/gst/base/gstbasesink.c: Simplify latency query.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
(gst_base_sink_event), (gst_base_sink_query),
(gst_base_sink_change_state):
Simplify latency query.
When not synchronizing, we can report latency without querying the peer
element.
Wim Taymans [Mon, 24 Sep 2007 11:46:35 +0000 (11:46 +0000)]
gst/: Fix small typos in the docs.
Original commit message from CVS:
* gst/gstobject.h:
* gst/gstvalue.c:
Fix small typos in the docs.
Wim Taymans [Mon, 24 Sep 2007 11:22:26 +0000 (11:22 +0000)]
docs/design/: Documentation updates and typo fixes.
Original commit message from CVS:
* docs/design/draft-latency.txt:
* docs/design/draft-push-pull.txt:
* docs/design/draft-tagreading.txt:
* docs/design/part-MT-refcounting.txt:
* docs/design/part-activation.txt:
* docs/design/part-block.txt:
* docs/design/part-element-source.txt:
* docs/design/part-events.txt:
* docs/design/part-gstbin.txt:
* docs/design/part-gstelement.txt:
* docs/design/part-gstobject.txt:
* docs/design/part-gstpipeline.txt:
* docs/design/part-messages.txt:
* docs/design/part-preroll.txt:
* docs/design/part-push-pull.txt:
* docs/design/part-qos.txt:
* docs/design/part-query.txt:
* docs/design/part-scheduling.txt:
* docs/design/part-seeking.txt:
* docs/design/part-segments.txt:
* docs/design/part-states.txt:
Documentation updates and typo fixes.
Tim-Philipp Müller [Sun, 23 Sep 2007 10:16:49 +0000 (10:16 +0000)]
plugins/elements/gstfakesink.c: Add some debug text to error message to indicate that we errored out on request.
Original commit message from CVS:
* plugins/elements/gstfakesink.c:
Add some debug text to error message to indicate that
we errored out on request.
* tools/gst-launch.c:
When the state change to PLAYING fails, check for an
error message on the bus and print it.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:22:10 +0000 (17:22 +0000)]
updated translations
Original commit message from CVS:
updated translations
Thomas Vander Stichele [Sat, 22 Sep 2007 17:18:52 +0000 (17:18 +0000)]
po/: Added Spanish translation.
Original commit message from CVS:
translated by: Jorge González González <aloriel@gmail.com>
* po/LINGUAS:
* po/es.po:
Added Spanish translation.
Wim Taymans [Fri, 21 Sep 2007 14:37:38 +0000 (14:37 +0000)]
plugins/elements/gstqueue.c: Fix printf arguments.
Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_push_one):
Fix printf arguments.
Stefan Kost [Thu, 20 Sep 2007 10:36:23 +0000 (10:36 +0000)]
tests/check/generic/states.c: Improved state change unit test.
Original commit message from CVS:
* tests/check/generic/states.c:
Improved state change unit test.
Stefan Kost [Thu, 20 Sep 2007 07:42:35 +0000 (07:42 +0000)]
gst/gstbin.h: Move priv to the right place.
Original commit message from CVS:
* gst/gstbin.h:
Move priv to the right place.
* gst/gstsystemclock.c:
Add FIXME: and improve log.
* tests/check/Makefile.am:
* tests/examples/manual/Makefile.am:
Work with all types of registries.
Wim Taymans [Wed, 19 Sep 2007 20:39:52 +0000 (20:39 +0000)]
libs/gst/base/gstbasesrc.c: Don't unref the event after pushing it. Fixes #478401.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
Don't unref the event after pushing it. Fixes #478401.
Stefan Kost [Wed, 19 Sep 2007 18:07:18 +0000 (18:07 +0000)]
Ignore registries in any format.
Original commit message from CVS:
* .cvsignore:
* tests/examples/manual/.cvsignore:
Ignore registries in any format.
Tim-Philipp Müller [Wed, 19 Sep 2007 13:28:40 +0000 (13:28 +0000)]
gst/glib-compat-private.h: Add compatibility macro for g_intern_string() for
Original commit message from CVS:
* gst/glib-compat-private.h:
Add compatibility macro for g_intern_string() for
GLib-2.8 (any reason we can't just bump the
requirement to at least 2.10?)
* gst/gstpadtemplate.h:
* gst/gstelementfactory.c:
* gst/gstregistryxml.c:
* gst/gstregistrybinary.c:
Make GstStaticPadTemplate's templ_name field a const gchar * and fix
up the internal code accordingly. This shouldn't be a problem, since
there is no reason external code could ever assume the string in such
a structure is dynamically allocated unless it did that itself; the
use of g_strdup() is private to element factories. The new code also
saves some memory by putting pad template name strings into the GLib
quark table instead of allocating them dynamically.
Declaring this field constant fixes warnings with g++-4.2 when using
the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
Stefan Kost [Wed, 19 Sep 2007 12:31:16 +0000 (12:31 +0000)]
gst/gstelementfactory.c: Release static caps. Fixes #475723.
Original commit message from CVS:
* gst/gstelementfactory.c:
Release static caps. Fixes #475723.
Tim-Philipp Müller [Tue, 18 Sep 2007 22:13:57 +0000 (22:13 +0000)]
gst/gstinfo.*: Make some internal API take const gchar * instead of just gchar * to avoid compiler warnings with g++-...
Original commit message from CVS:
* gst/gstinfo.c:
* gst/gstinfo.h:
Make some internal API take const gchar * instead of just
gchar * to avoid compiler warnings with g++-4.2.2 when
passing string constants (partially fixes #478092).
Wim Taymans [Mon, 17 Sep 2007 20:55:23 +0000 (20:55 +0000)]
gst/gstbin.c: A latency query fails when one of the sinks fail.
Original commit message from CVS:
* gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
A latency query fails when one of the sinks fail.
* gst/gstelement.c: (gst_element_set_base_time):
Improve debugging.
Jan Schmidt [Mon, 17 Sep 2007 17:17:29 +0000 (17:17 +0000)]
Fix minor compilation warnings shown with Forte.
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_continue_func):
* libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
Fix minor compilation warnings shown with Forte.
Wim Taymans [Mon, 17 Sep 2007 06:01:53 +0000 (06:01 +0000)]
plugins/elements/gstqueue.c: Measure queue level based on the diff between head and tail timestamps even when pushing...
Original commit message from CVS:
* plugins/elements/gstqueue.c: (apply_buffer),
(gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
Measure queue level based on the diff between head and tail timestamps
even when pushing the first buffer.
Wim Taymans [Fri, 14 Sep 2007 23:06:31 +0000 (23:06 +0000)]
libs/gst/base/gstbasesink.c: Sinks that don't preroll can always be queried for the latency.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
(gst_base_sink_event), (gst_base_sink_change_state):
Sinks that don't preroll can always be queried for the latency.
Don't post ASYNC start when we are not async.
Wim Taymans [Fri, 14 Sep 2007 20:24:22 +0000 (20:24 +0000)]
plugins/elements/gstqueue.*: When downstream returns UNEXPECTED from pushing a buffer, don't try to push more buffers...
Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
(gst_queue_handle_sink_event), (gst_queue_chain),
(gst_queue_push_one), (gst_queue_handle_src_query),
(gst_queue_sink_activate_push), (gst_queue_src_activate_push):
* plugins/elements/gstqueue.h:
When downstream returns UNEXPECTED from pushing a buffer, don't try to
push more buffers but allow pushing of EOS and NEWSEGMENT.
Add some more debug info here and there. Fixes #476514.
Wim Taymans [Fri, 14 Sep 2007 15:52:27 +0000 (15:52 +0000)]
libs/gst/base/gstbasesink.c: Latency query is allowed after we are prerolled. Introduce a new flag for this and stop ...
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_init),
(gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
(gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
(gst_base_sink_set_flushing), (gst_base_sink_query),
(gst_base_sink_change_state):
Latency query is allowed after we are prerolled. Introduce a new flag
for this and stop abusing other variables.
Wim Taymans [Thu, 13 Sep 2007 23:53:48 +0000 (23:53 +0000)]
libs/gst/base/gstbasesrc.c: Push OOB events downstream when we get them in send_event. This allows the application to...
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
Push OOB events downstream when we get them in send_event. This allows
the application to insert events in the pipeline.
Add some more comments.
Wim Taymans [Thu, 13 Sep 2007 21:27:33 +0000 (21:27 +0000)]
gst/: Move latency query from GstPipeline to GstBin so that we can also use it when async-handling is enabled on bins.
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_class_init), (clear_queue),
(do_bin_latency), (gst_bin_change_state_func):
* gst/gstpipeline.c: (gst_pipeline_change_state):
Move latency query from GstPipeline to GstBin so that we can also
use it when async-handling is enabled on bins.
Wim Taymans [Thu, 13 Sep 2007 21:19:08 +0000 (21:19 +0000)]
libs/gst/base/gstbasesrc.c: Update docs.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
(gst_base_src_do_sync), (gst_base_src_change_state):
Update docs.
Clean up the timestamping and syncing code for pseudo live sources.
Steve Fink [Thu, 13 Sep 2007 19:27:53 +0000 (19:27 +0000)]
docs/manual/appendix-checklist.xml: Mention less -R switch in the section about debug output (#474055).
Original commit message from CVS:
Patch by: Steve Fink <sphink gmail com>
* docs/manual/appendix-checklist.xml:
Mention less -R switch in the section about debug output (#474055).
Wim Taymans [Thu, 13 Sep 2007 17:15:38 +0000 (17:15 +0000)]
plugins/elements/gstqueue.c: Queue can latency to the pipeline up to the configured max size in time.
Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
Queue can latency to the pipeline up to the configured max size in time.
Report this fact in the latency query.
Sebastien Moutte [Thu, 13 Sep 2007 09:08:23 +0000 (09:08 +0000)]
libs/gst/controller/: Use gst_guint64_to_gdouble() when converting from a uint64 or
Original commit message from CVS:
Patch by: Sebastien Moutte <sebastien at moutte dot net>
* libs/gst/controller/gstinterpolation.c:
* libs/gst/controller/gstlfocontrolsource.c:
Use gst_guint64_to_gdouble() when converting from a uint64 or
GstClockTime to double to fix the build on win32. Fixes #474371.
Sebastian Dröge [Thu, 13 Sep 2007 08:42:55 +0000 (08:42 +0000)]
gst/gstbuffer.c: Implement poisoning for GstBuffer if --enable-poisoning is specified.
Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_finalize):
Implement poisoning for GstBuffer if --enable-poisoning is specified.
When finalizing a buffer the complete struct is filled with 0xff,
thus making a use of the buffer after the final unref impossible.
Sebastian Dröge [Thu, 13 Sep 2007 08:36:37 +0000 (08:36 +0000)]
tests/check/libs/controller.c: Use fail_unless_equals_int(a, b) instead of fail_unless_equals (a == b) to get better ...
Original commit message from CVS:
* tests/check/libs/controller.c: (GST_START_TEST):
Use fail_unless_equals_int(a, b) instead of
fail_unless_equals (a == b) to get better output on failures.
Tim-Philipp Müller [Wed, 12 Sep 2007 16:35:48 +0000 (16:35 +0000)]
tests/check/gst/gsturi.c: Also check for the other file URI variant on win32.
Original commit message from CVS:
* tests/check/gst/gsturi.c:
Also check for the other file URI variant on win32.
Tim-Philipp Müller [Wed, 12 Sep 2007 12:36:51 +0000 (12:36 +0000)]
gst/gsturi.c: If there's no hostname, we want to return 'c:/foo/bar.txt' and not '/c:/foo/bar.txt' on Windows. Fixes ...
Original commit message from CVS:
* gst/gsturi.c: (gst_uri_get_location):
If there's no hostname, we want to return 'c:/foo/bar.txt'
and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
* tests/check/gst/gsturi.c:
Unit test for the above and a few more things.
Wim Taymans [Tue, 11 Sep 2007 23:27:42 +0000 (23:27 +0000)]
docs/design/part-live-source.txt: Add docs on how live sources should timestamp.
Original commit message from CVS:
* docs/design/part-live-source.txt:
Add docs on how live sources should timestamp.
* libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
Add some more debug info.
For subclasses that are live and like to sync, add aditional startup
latency to sync time and timestamps so that we timstamp according to the
design doc.
Tim-Philipp Müller [Tue, 11 Sep 2007 18:59:09 +0000 (18:59 +0000)]
gst/gstbuffer.c: Also do a g_type_class_ref() for the subbuffer type in the init function.
Original commit message from CVS:
* gst/gstbuffer.c:
Also do a g_type_class_ref() for the subbuffer type in
the init function.
Wim Taymans [Tue, 11 Sep 2007 15:55:50 +0000 (15:55 +0000)]
Add function to perform a query on the peer of a pad.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstpad.c: (gst_pad_peer_query):
* gst/gstpad.h:
Add function to perform a query on the peer of a pad.
API: gst_pad_peer_query()
Stefan Kost [Tue, 11 Sep 2007 13:43:53 +0000 (13:43 +0000)]
tests/check/gst/gstsystemclock.c: Cleanup the test a little (use gst-logging and not g_message). Improve test to chec...
Original commit message from CVS:
* tests/check/gst/gstsystemclock.c:
Cleanup the test a little (use gst-logging and not g_message). Improve
test to check if a wait reached the target.
Tim-Philipp Müller [Tue, 11 Sep 2007 10:33:14 +0000 (10:33 +0000)]
docs/libs/gstreamer-libs-sections.txt: Add new API to docs and fix the build.
Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Add new API to docs and fix the build.
Wim Taymans [Mon, 10 Sep 2007 16:50:11 +0000 (16:50 +0000)]
libs/gst/base/gstbasesrc.*: Add property to make the basesrc timestamp buffers based on the current running time.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_init), (gst_base_src_set_do_timestamp),
(gst_base_src_get_do_timestamp), (gst_base_src_set_property),
(gst_base_src_get_property), (gst_base_src_do_sync):
* libs/gst/base/gstbasesrc.h:
Add property to make the basesrc timestamp buffers based on the current
running time.
API: GstBaseSrc::do-timestamp
API: gst_base_src_set_do_timestamp()
API: gst_base_src_get_do_timestamp()
Tim-Philipp Müller [Sat, 8 Sep 2007 20:25:57 +0000 (20:25 +0000)]
docs/random/release: Really make sure translations are up-to-date before a release (#465010).
Original commit message from CVS:
* docs/random/release:
Really make sure translations are up-to-date before
a release (#465010).
Christian Schaller [Fri, 7 Sep 2007 14:46:52 +0000 (14:46 +0000)]
add latest header files
Original commit message from CVS:
add latest header files
Sebastian Dröge [Fri, 7 Sep 2007 04:50:23 +0000 (04:50 +0000)]
gst/gstregistrybinary.c: Always destroy the timer, also in error cases.
Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
Always destroy the timer, also in error cases.
Wim Taymans [Wed, 5 Sep 2007 22:29:58 +0000 (22:29 +0000)]
docs/manual/highlevel-xml.xml: Fix XML example code. Fixes #472714.
Original commit message from CVS:
* docs/manual/highlevel-xml.xml:
Fix XML example code. Fixes #472714.
Wim Taymans [Wed, 5 Sep 2007 22:12:42 +0000 (22:12 +0000)]
libs/gst/base/gstbasesink.c: Protect eos and have_preroll with the OBJECT lock so we don't need to take the PREROLL l...
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
(gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
(gst_base_sink_query):
Protect eos and have_preroll with the OBJECT lock so we don't need to
take the PREROLL lock when querying the latency. Fixes #473846.
Stefan Kost [Wed, 5 Sep 2007 13:24:31 +0000 (13:24 +0000)]
gst/gstelement.c: Give some log-messages a category.
Original commit message from CVS:
* gst/gstelement.c:
Give some log-messages a category.
Wim Taymans [Wed, 5 Sep 2007 01:00:50 +0000 (01:00 +0000)]
gst/gststructure.c: Fix fraction list fixation code. Take the fraction with the smallest difference with the target i...
Original commit message from CVS:
* gst/gststructure.c:
(gst_structure_fixate_field_nearest_fraction):
Fix fraction list fixation code. Take the fraction with the smallest
difference with the target instead of the first one in the list.
* tests/check/gst/gststructure.c: (GST_START_TEST),
(gst_structure_suite):
Added test to verify correct fraction list fixation behaviour.
Tim-Philipp Müller [Sun, 2 Sep 2007 20:30:16 +0000 (20:30 +0000)]
win32/common/libgstreamer.def: Export gst_bus_add_signal_watch too.
Original commit message from CVS:
* win32/common/libgstreamer.def:
Export gst_bus_add_signal_watch too.
Wim Taymans [Thu, 30 Aug 2007 17:50:54 +0000 (17:50 +0000)]
docs/libs/gstreamer-libs-sections.txt: Add new methods to docs.
Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Add new methods to docs.
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_init), (gst_base_sink_set_ts_offset),
(gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
(gst_base_sink_get_property), (gst_base_sink_wait_clock):
* libs/gst/base/gstbasesink.h:
Add ts-offset property to fine-tune the synchronisation.
API: GstBaseSink::ts-offset property
API: gst_base_sink_set_ts_offset()
API: gst_base_sink_get_ts_offset()
Wim Taymans [Wed, 29 Aug 2007 20:57:58 +0000 (20:57 +0000)]
libs/gst/base/gstbasesink.*: Add async property to instruct the sink never to inform the parent about
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_init), (gst_base_sink_set_sync),
(gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
(gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
(gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
(gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
(gst_base_sink_get_property), (gst_base_sink_change_state):
* libs/gst/base/gstbasesink.h:
Add async property to instruct the sink never to inform the parent about
ASYNC state changes, update docs.
Check argument with g_return_* for the public functions.
API: GstBaseSink::async property
API: gst_base_sink_set_async_enabled()
API: gst_base_sink_is_async_enabled()
Wim Taymans [Tue, 28 Aug 2007 15:02:19 +0000 (15:02 +0000)]
libs/gst/base/gstbasesink.c: Improve debugging.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
Improve debugging.
* libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
(gst_base_src_default_query), (gst_base_src_wait),
(gst_base_src_do_sync), (gst_base_src_change_state):
Rearrange some code so that we can add support for measuring the
startup latency.
Stefan Kost [Mon, 27 Aug 2007 20:00:39 +0000 (20:00 +0000)]
docs/random/ensonic/dynlink.txt: More thoughs on this.
Original commit message from CVS:
* docs/random/ensonic/dynlink.txt:
More thoughs on this.
* plugins/elements/gstcapsfilter.c:
Add bugzilla ticket number to FIXME comment.
Thomas Vander Stichele [Sun, 26 Aug 2007 18:30:55 +0000 (18:30 +0000)]
remove temp files again
Original commit message from CVS:
remove temp files again
Thomas Vander Stichele [Sun, 26 Aug 2007 16:42:36 +0000 (16:42 +0000)]
test commit
Original commit message from CVS:
test commit
Thomas Vander Stichele [Sun, 26 Aug 2007 15:58:18 +0000 (15:58 +0000)]
test commit
Original commit message from CVS:
test commit
Wim Taymans [Fri, 24 Aug 2007 21:53:39 +0000 (21:53 +0000)]
docs/design/: Update some docs.
Original commit message from CVS:
* docs/design/part-TODO.txt:
* docs/design/part-block.txt:
Update some docs.
Jan Schmidt [Fri, 24 Aug 2007 16:39:06 +0000 (16:39 +0000)]
gst/Makefile.am: Revert patch which uses $(gst_headers) instead of $^ because it breaks make dist.
Original commit message from CVS:
* gst/Makefile.am:
Revert patch which uses $(gst_headers) instead of $^ because it
breaks make dist.
Jan Schmidt [Fri, 24 Aug 2007 14:55:46 +0000 (14:55 +0000)]
tests/check/gst/gstbin.c: Fix leaks in the new unit test.
Original commit message from CVS:
* tests/check/gst/gstbin.c: (GST_START_TEST):
Fix leaks in the new unit test.
Tim-Philipp Müller [Thu, 23 Aug 2007 20:41:30 +0000 (20:41 +0000)]
gst/gst.c: Don't use GST_INFO before the debug system is actually initialised (shouldn't do any harm, but won't print...
Original commit message from CVS:
* gst/gst.c:
Don't use GST_INFO before the debug system is actually initialised
(shouldn't do any harm, but won't print anything either, so we can
just as well remove it).
* gst/gstinfo.h:
GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
compilers that don't support variadic macros (such as MSVC), should
check for debug_level <= __gst_debug_min as well, since that's the
function called from all the level-specific GST_CAT_*_LOG_OBJECT()
inline helper functions. Should improve performance a bit, but also
makes sure uses of GST_INFO et.al are ignored if the debugging
system isn't initialised yet (instead of printing an assertion
failure).
David Nečas [Thu, 23 Aug 2007 07:10:33 +0000 (07:10 +0000)]
gst/Makefile.am: Replace some non portable makefile constructs.
Original commit message from CVS:
patch by: David Nečas <yeti@physics.muni.cz>
* gst/Makefile.am:
Replace some non portable makefile constructs.
Stefan Kost [Tue, 21 Aug 2007 14:10:09 +0000 (14:10 +0000)]
common/gtk-doc-plugins.mak: Grrrrr. Don't remove the types file on make clean.
Original commit message from CVS:
* common/gtk-doc-plugins.mak:
Grrrrr. Don't remove the types file on make clean.
Wim Taymans [Mon, 20 Aug 2007 17:51:35 +0000 (17:51 +0000)]
tools/gst-launch.1.in: Add colorspace to example pipeline. Fixes #458274.
Original commit message from CVS:
* tools/gst-launch.1.in:
Add colorspace to example pipeline. Fixes #458274.
Tim-Philipp Müller [Mon, 20 Aug 2007 12:31:54 +0000 (12:31 +0000)]
docs/random/release: The release manager should run 'make download-po' before making a release to make sure translati...
Original commit message from CVS:
* docs/random/release:
The release manager should run 'make download-po' before making a
release to make sure translations are up-to-date.
* po/LINGUAS:
* po/be.po:
* po/pl.po:
* po/rw.po:
Add some new translations.
Wim Taymans [Fri, 17 Aug 2007 13:48:24 +0000 (13:48 +0000)]
tools/gst-launch.c: Don´t try to do any state management when a live pipeline posts buffering messages.
Original commit message from CVS:
* tools/gst-launch.c: (event_loop), (main):
Don´t try to do any state management when a live pipeline posts
buffering messages.
Also make the buffering string translatable.
Wim Taymans [Thu, 16 Aug 2007 11:04:40 +0000 (11:04 +0000)]
gst/gstbin.c: Improve debugging.
Original commit message from CVS:
* gst/gstbin.c: (is_eos), (gst_bin_add_func),
(bin_handle_async_start), (gst_bin_handle_message_func):
Improve debugging.
When adding elements, insert messages into the bus of the newly added
element and make sure the element is the source of the message. This
allows the parent bin to intercept the message and do the
right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
messages to the app (which is not allowed).
Update some docs.
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Fix testsuite so that is does not work around messages that should not
have been posted in the first place.
Wim Taymans [Thu, 16 Aug 2007 10:27:16 +0000 (10:27 +0000)]
gst/gstbin.c: Fix annoying bug in the sorted iterator where a sink that is not really a sink (when it has downstream ...
Original commit message from CVS:
* gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
(update_degree), (gst_bin_sort_iterator_next):
Fix annoying bug in the sorted iterator where a sink that is not really
a sink (when it has downstream links) screwed up the iterator.
* tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
Unit test to verify the fix.
Wim Taymans [Thu, 16 Aug 2007 10:07:48 +0000 (10:07 +0000)]
gst/gstmessage.h: Add some more docs for the messages.
Original commit message from CVS:
* gst/gstmessage.h:
Add some more docs for the messages.
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_query):
Add some more debugging.
* tools/gst-launch.c: (event_loop):
When interrupting, don't try to set pipeline to PAUSED twice.
Wim Taymans [Tue, 14 Aug 2007 14:10:36 +0000 (14:10 +0000)]
gst/gstbin.c: Move ASYNC_START message posting to where it belongs, similar to async_done.
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
(bin_handle_async_start), (gst_bin_handle_message_func):
Move ASYNC_START message posting to where it belongs, similar to
async_done.
Don't post ASYNC_START when we are in error.
Post ASYNC_START when we added an async element to a bin.
Julien Moutte [Tue, 14 Aug 2007 13:43:44 +0000 (13:43 +0000)]
gst/gstindex.c: Fix index entry generation from vargs. Fixes #466595.
Original commit message from CVS:
2007-08-14 Julien MOUTTE <julien@moutte.net>
* gst/gstindex.c: (gst_index_add_association): Fix index entry
generation from vargs. Fixes #466595.
Wim Taymans [Tue, 14 Aug 2007 13:37:16 +0000 (13:37 +0000)]
gst/gstbin.c: Always change the state of a NO_PREROLL element even if it has ASYNC elements inside (in case of a bin).
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_element_set_state):
Always change the state of a NO_PREROLL element even if it has ASYNC
elements inside (in case of a bin).
* tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
Unit test for this case.
Stefan Kost [Mon, 13 Aug 2007 13:33:07 +0000 (13:33 +0000)]
Add more missing docs.
Original commit message from CVS:
* libs/gst/check/gstbufferstraw.c:
* libs/gst/check/gstcheck.h:
* libs/gst/controller/gstcontroller.c:
* libs/gst/controller/gstcontrolsource.h:
* libs/gst/controller/gstlfocontrolsource.h:
* plugins/elements/gstcapsfilter.h:
* plugins/elements/gstfdsink.h:
* plugins/elements/gstfdsrc.h:
Add more missing docs.
Wim Taymans [Sun, 12 Aug 2007 16:44:07 +0000 (16:44 +0000)]
gst/gststructure.c: Add Since tag to docs.
Original commit message from CVS:
* gst/gststructure.c:
Add Since tag to docs.
Wim Taymans [Sun, 12 Aug 2007 16:40:59 +0000 (16:40 +0000)]
Add function to get uint from a structure.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gststructure.c: (gst_structure_get_uint):
* gst/gststructure.h:
Add function to get uint from a structure.
API: gst_structure_get_uint()