Sébastien Moutte [Sun, 7 Jan 2007 10:21:33 +0000 (10:21 +0000)]
win32/common/libgstreamer.def: Add new exported function.
Original commit message from CVS:
* win32/common/libgstreamer.def:
Add new exported function.
* win32/vs6/libgstbase.dsp:
Add gstdataqueue.c to the build.
* win32/vs6/libgstcoreelements.dsp:
Add gstmultiqueue.c to the build.
Andy Wingo [Sat, 6 Jan 2007 17:18:03 +0000 (17:18 +0000)]
libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod, activate_pull(), providing for a way to specialize the pro...
Original commit message from CVS:
2007-01-06 Andy Wingo <wingo@pobox.com>
* libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
activate_pull(), providing for a way to specialize the process of
spawning a thread to pull on the sink pad. There is a default
implementation.
* libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
(gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
(gst_base_sink_init): Renamed pad activation functions (inserting
"_pad" in their names). Refactor to use the new activate_pull
vmethod, as appropriate.
(gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
default activate_pull function to start a task pulling from the
sink pad, as before.
Andy Wingo [Sat, 6 Jan 2007 17:09:10 +0000 (17:09 +0000)]
gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps on the pads if necessary, as in push()/chain(). Update...
Original commit message from CVS:
2007-01-06 Andy Wingo <wingo@pobox.com>
* gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
on the pads if necessary, as in push()/chain(). Update docs.
Shouldn't affect existing pull() usage as it is currently only
being used on buffers without caps.
Tim-Philipp Müller [Fri, 5 Jan 2007 16:36:36 +0000 (16:36 +0000)]
gst/gst.c: Call g_thread_init() first thing in gst_init() / gst_check_init().
Original commit message from CVS:
* gst/gst.c: (gst_init_get_option_group), (gst_init_check),
(init_pre):
Call g_thread_init() first thing in gst_init() / gst_check_init().
When initialisation is done via gst_init_get_option_group() and
GOption parsing, issue a warning if the GLib thread system has not
been initialised yet by the time gst_init_get_option_group() is
called, as it's quite likely other GLib functions such as
g_option_context_new() have been called already then, and
g_thread_init() must be called before any other GLib function. The
application in question must be fixed in that case, since memory
corruption might happen otherwise.
We issue the warning because even if the GLib folks decide to work
around the problem on their end in future, this is still an issue
with all GLib versions >= 2.10.0, so we should warn until we depend
on a GLib version we know to be safe.
Update documentation as well.
Closes bug #391278.
Tim-Philipp Müller [Fri, 5 Jan 2007 15:55:16 +0000 (15:55 +0000)]
tools/: Call g_thread_init() really really early, before any other GLib function (see #342564 and recent discussion o...
Original commit message from CVS:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-typefind.c: (main):
* tools/gst-xmlinspect.c: (main):
Call g_thread_init() really really early, before any other GLib
function (see #342564 and recent discussion on gtk-devel-list).
Vincent Torri [Fri, 5 Jan 2007 13:23:02 +0000 (13:23 +0000)]
gst/: On win32, all the __declspec stuff for symbol exporting is apparently only needed with MSVC, but doesn't work w...
Original commit message from CVS:
Patch by: Vincent Torri <vtorri at univ-evry dot fr>
* gst/gst_private.h:
* gst/gstconfig.h.in:
* gst/gstinfo.h:
On win32, all the __declspec stuff for symbol exporting is
apparently only needed with MSVC, but doesn't work with MingW.
Fixes compilation with MingW and #391909.
Tim-Philipp Müller [Fri, 5 Jan 2007 11:57:49 +0000 (11:57 +0000)]
libs/gst/base/gstbasesrc.c: Change some GST_ERROR_OBJECT that aren't really errors to
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
Change some GST_ERROR_OBJECT that aren't really errors to
GST_WARNING_OBJECT in order to reduce terminal spam.
Stefan Kost [Thu, 4 Jan 2007 13:54:25 +0000 (13:54 +0000)]
tests/check/Makefile.am: disable test again, as there seem to be still race problems
Original commit message from CVS:
* tests/check/Makefile.am:
disable test again, as there seem to be still race problems
Stefan Kost [Thu, 4 Jan 2007 13:37:08 +0000 (13:37 +0000)]
tests/check/: enable queue test again, add tests for the leaky behaviour
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
(GST_START_TEST), (queue_suite):
enable queue test again, add tests for the leaky behaviour
Tim-Philipp Müller [Tue, 2 Jan 2007 17:01:33 +0000 (17:01 +0000)]
Compile adapter test/example only if the required headers are available (fixes #391915).
Original commit message from CVS:
* configure.ac:
* tests/examples/Makefile.am:
Compile adapter test/example only if the required headers are
available (fixes #391915).
Thomas Vander Stichele [Tue, 2 Jan 2007 09:31:45 +0000 (09:31 +0000)]
tell us what's not implemented
Original commit message from CVS:
tell us what's not implemented
Thomas Vander Stichele [Tue, 2 Jan 2007 09:31:11 +0000 (09:31 +0000)]
bump to CVS
Original commit message from CVS:
bump to CVS
David Schleef [Tue, 2 Jan 2007 06:14:06 +0000 (06:14 +0000)]
gst/gstplugin.c: Restore the previous signal handler for SIGSEGV instead of setting to default, since we may have sto...
Original commit message from CVS:
* gst/gstplugin.c:
Restore the previous signal handler for SIGSEGV instead of
setting to default, since we may have stolen it away from
someone. (i.e., Mono)
Tim-Philipp Müller [Tue, 26 Dec 2006 15:55:24 +0000 (15:55 +0000)]
docs/random/draft-missing-plugins.txt: Some small additions and clarifications.
Original commit message from CVS:
* docs/random/draft-missing-plugins.txt:
Some small additions and clarifications.
Tim-Philipp Müller [Tue, 26 Dec 2006 15:06:52 +0000 (15:06 +0000)]
gst/gstregistryxml.c: Make sure we don't pass non-UTF-8 strings to g_markup_escape(), since that can lead to random m...
Original commit message from CVS:
* gst/gstregistryxml.c: (gst_registry_save_escaped):
Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
since that can lead to random memory corruptions and crashes
(may or may not be related to #383244, #386711, and #386711).
Stefan Kost [Thu, 21 Dec 2006 15:54:06 +0000 (15:54 +0000)]
tests/check/: sync .cvsignome and CLEANFILES
Original commit message from CVS:
* tests/check/.cvsignore:
* tests/check/Makefile.am:
sync .cvsignome and CLEANFILES
Stefan Kost [Thu, 21 Dec 2006 15:32:00 +0000 (15:32 +0000)]
tests/check/Makefile.am: fix distcheck
Original commit message from CVS:
* tests/check/Makefile.am:
fix distcheck
Stefan Kost [Thu, 21 Dec 2006 15:00:08 +0000 (15:00 +0000)]
docs/design/part-states.txt: two tiny additional comments
Original commit message from CVS:
* docs/design/part-states.txt:
two tiny additional comments
* gst/gststructure.c:
doc fixing
* tests/check/Makefile.am:
* tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
(GST_START_TEST):
disable test for now, unless it gets fixed
Stefan Kost [Thu, 21 Dec 2006 14:24:54 +0000 (14:24 +0000)]
tests/check/elements/queue.c: fix race in underrun test
Original commit message from CVS:
* tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
(GST_START_TEST):
fix race in underrun test
Stefan Kost [Thu, 21 Dec 2006 09:58:25 +0000 (09:58 +0000)]
tests/check/elements/.cvsignore: ignore more
Original commit message from CVS:
* tests/check/elements/.cvsignore:
ignore more
* tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
(GST_START_TEST):
try to narrow test failure
David Schleef [Thu, 21 Dec 2006 09:37:56 +0000 (09:37 +0000)]
plugins/elements/gstfakesrc.c: Use g_random_int_range(), since it produces better random numbers in a range than almo...
Original commit message from CVS:
* plugins/elements/gstfakesrc.c:
Use g_random_int_range(), since it produces better random
numbers in a range than almost-correct floating point code.
Stefan Kost [Thu, 21 Dec 2006 08:12:28 +0000 (08:12 +0000)]
libs/gst/check/gstcheck.c: do not automatically (de)activate pads
Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
(gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
(gst_check_teardown_sink_pad):
do not automatically (de)activate pads
* tests/check/Makefile.am:
* tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
(setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
add new, yet simple tests for queue
* tests/check/elements/fakesrc.c: (cleanup_fakesrc):
* tests/check/elements/fdsrc.c: (cleanup_fdsrc):
* tests/check/elements/filesrc.c: (cleanup_filesrc),
(GST_START_TEST):
* tests/check/elements/identity.c: (cleanup_identity):
consistent pad (de)activation
Sebastian Dröge [Wed, 20 Dec 2006 19:06:02 +0000 (19:06 +0000)]
libs/gst/base/gstcollectpads.c: Fix two doc typos (#387866).
Original commit message from CVS:
Patch by: Sebastian Dröge <slomo ubuntu com>
* libs/gst/base/gstcollectpads.c:
Fix two doc typos (#387866).
Tim-Philipp Müller [Tue, 19 Dec 2006 15:06:42 +0000 (15:06 +0000)]
docs/manual/advanced-dparams.xml: Fix typo (g_object_control_properties() doesn't exist).
Original commit message from CVS:
* docs/manual/advanced-dparams.xml:
Fix typo (g_object_control_properties() doesn't exist).
Edward Hervey [Tue, 19 Dec 2006 12:38:00 +0000 (12:38 +0000)]
gst/gstsegment.c: Fine tune the cases where the segment start/stop values are really updated.
Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_seek):
Fine tune the cases where the segment start/stop values are really
updated.
* tests/check/gst/gstsegment.c: (GST_START_TEST):
Add tests for the return values of gst_segment_set_seek().
Tim-Philipp Müller [Tue, 19 Dec 2006 11:04:49 +0000 (11:04 +0000)]
gst/gst.c: Docs typo fix.
Original commit message from CVS:
* gst/gst.c:
Docs typo fix.
* plugins/elements/gstqueue.c: (gst_queue_class_init),
(gst_queue_init):
Fix incorrect documentation and flesh it out a bit more.
Set default values for the max properties on the GParamSpec as well,
so it shows up correctly in gst-inspect.
Stefan Kost [Mon, 18 Dec 2006 16:01:32 +0000 (16:01 +0000)]
plugins/elements/gstqueue.c: Correct docs of queue, add more detail and crosslink it more.
Original commit message from CVS:
* plugins/elements/gstqueue.c: (queue_leaky_get_type):
Correct docs of queue, add more detail and crosslink it more.
Tim-Philipp Müller [Sat, 16 Dec 2006 19:33:26 +0000 (19:33 +0000)]
plugins/elements/gstidentity.c: Print additional debug info when the stream isn't perfectly timestamped; don't try to...
Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_check_perfect):
Print additional debug info when the stream isn't perfectly
timestamped; don't try to use invalid durations.
Tim-Philipp Müller [Sat, 16 Dec 2006 16:14:01 +0000 (16:14 +0000)]
docs/design/Makefile.am: Dist new design docs.
Original commit message from CVS:
* docs/design/Makefile.am:
Dist new design docs.
Sjoerd Simons [Sat, 16 Dec 2006 15:17:54 +0000 (15:17 +0000)]
libs/gst/base/gstcollectpads.*: Add refcounting to the collectpads data so we can track when it's safe to free the da...
Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
(gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
(gst_collect_pads_stop), (gst_collect_pads_event),
(gst_collect_pads_chain):
* libs/gst/base/gstcollectpads.h:
Add refcounting to the collectpads data so we can track when it's safe
to free the data. Fixes #383382.
Wim Taymans [Fri, 15 Dec 2006 17:09:59 +0000 (17:09 +0000)]
libs/gst/base/gstcollectpads.c: Automatically activate/deactivate pads when they are added to a started/stoped collec...
Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
(gst_collect_pads_remove_pad):
Automatically activate/deactivate pads when they are added to a
started/stoped collectpads.
Wim Taymans [Fri, 15 Dec 2006 16:01:58 +0000 (16:01 +0000)]
gst/: Set pads to FLUSHING when they are created. Check, warn and fix when a demuxer adds an inactive pad to itself w...
Original commit message from CVS:
* gst/gstelement.c: (gst_element_add_pad):
* gst/gstghostpad.c: (gst_ghost_pad_new_full):
* gst/gstpad.c: (gst_pad_init):
Set pads to FLUSHING when they are created. Check, warn and fix when a
demuxer adds an inactive pad to itself when running. Fixes #339326.
Wim Taymans [Fri, 15 Dec 2006 15:49:29 +0000 (15:49 +0000)]
gst/gstelement.c: Expose default element send_event and query handling as vmethods that subclasses can chain up to.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_class_init),
(gst_element_default_send_event), (gst_element_send_event),
(gst_element_default_query), (gst_element_query):
Expose default element send_event and query handling as vmethods that
subclasses can chain up to.
Wim Taymans [Fri, 15 Dec 2006 15:39:28 +0000 (15:39 +0000)]
gst/gstelement.c: Small documentation fixes.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_set_state_func):
Small documentation fixes.
Wim Taymans [Fri, 15 Dec 2006 15:26:46 +0000 (15:26 +0000)]
docs/design/draft-latency.txt: Checked in draft for handling latency in pipelines.
Original commit message from CVS:
* docs/design/draft-latency.txt:
Checked in draft for handling latency in pipelines.
Thomas Vander Stichele [Fri, 15 Dec 2006 00:16:57 +0000 (00:16 +0000)]
adding .doap file
Original commit message from CVS:
* Makefile.am:
* gstreamer.doap:
* gstreamer.spec.in:
adding .doap file
Tim-Philipp Müller [Thu, 14 Dec 2006 14:06:38 +0000 (14:06 +0000)]
gst/gst.c: init_pre() and init_post() might be called via our GOptionGroup or from gst_init(), and we should skip bot...
Original commit message from CVS:
* gst/gst.c: (init_pre), (init_post):
init_pre() and init_post() might be called via our GOptionGroup or
from gst_init(), and we should skip both of them if we've already
been initialised, otherwise we will init some things twice or add
two default log functions.
Edward Hervey [Wed, 13 Dec 2006 12:46:28 +0000 (12:46 +0000)]
docs/manual/basics-bus.xml: No, gst_main_loop does not exist. Its g_main_loop.
Original commit message from CVS:
* docs/manual/basics-bus.xml:
No, gst_main_loop does not exist. Its g_main_loop.
Discovered by somebody who abused the copy-paste technique of coding :)
Tim-Philipp Müller [Wed, 13 Dec 2006 11:05:20 +0000 (11:05 +0000)]
gst/gstghostpad.c: Log ghostpad debug stuff to the GST_PADS category as well rather than just to the default category.
Original commit message from CVS:
* gst/gstghostpad.c:
Log ghostpad debug stuff to the GST_PADS category as well rather
than just to the default category.
Tim-Philipp Müller [Tue, 12 Dec 2006 13:53:04 +0000 (13:53 +0000)]
Add some basic system details such as OS and architecture to the debug output if possible, courtesy of uname().
Original commit message from CVS:
* configure.ac:
* gst/gst.c: (init_pre):
Add some basic system details such as OS and architecture
to the debug output if possible, courtesy of uname().
Tim-Philipp Müller [Mon, 11 Dec 2006 13:40:32 +0000 (13:40 +0000)]
docs/gst/running.xml: Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR environment variables.
Original commit message from CVS:
* docs/gst/running.xml:
Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
environment variables.
Jan Schmidt [Sat, 9 Dec 2006 20:23:10 +0000 (20:23 +0000)]
tests/check/gst/gstbin.c: It is acceptable to have a refcount of 2 or 3 at this point in the test, because the pipeli...
Original commit message from CVS:
* tests/check/gst/gstbin.c: (GST_START_TEST):
It is acceptable to have a refcount of 2 or 3 at this point in the
test, because the pipeline might be just posting its state_change
message. The next line then waits for that message to appear using
bus_poll, so that should be fine too.
Jan Schmidt [Sat, 9 Dec 2006 18:48:57 +0000 (18:48 +0000)]
gst/gst.c: Ignore EINTR when reading from the child registry pipe.
Original commit message from CVS:
* gst/gst.c: (ensure_current_registry_forking):
Ignore EINTR when reading from the child registry pipe.
Explicitly ignore the return value from close, since it makes no
difference.
* gst/gstminiobject.c: (gst_mini_object_ref),
(gst_mini_object_unref):
When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
* gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
When removing cached plugins, remove their features too, so they're
not visible after they've disappeared.
* gst/gstutils.c: (prepare_link_maybe_ghosting):
In the unlikely case that we are linking pads with no parents, don't
crash trying to get the non-existent parent bin.
* gst/parse/grammar.y:
Output debug in the PIPELINE category
René Stadler [Fri, 8 Dec 2006 16:12:44 +0000 (16:12 +0000)]
gst/gstclock.c: Reject invalid clock times for interval of periodic ids.
Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* gst/gstclock.c: (gst_clock_new_periodic_id):
Reject invalid clock times for interval of periodic ids.
Fixes ##383506.
Jan Schmidt [Thu, 7 Dec 2006 12:11:14 +0000 (12:11 +0000)]
Fix refcounting of gst_plugin_feature_load to match the docs.
Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_factory_create):
* gst/gstpluginfeature.c: (gst_plugin_feature_load):
* gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
* tools/gst-inspect.c: (print_element_info):
Fix refcounting of gst_plugin_feature_load to match the docs.
Fixes: #380129
Wim Taymans [Thu, 7 Dec 2006 10:59:05 +0000 (10:59 +0000)]
libs/gst/base/gstbasesink.c: Improve debugging of events.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_event),
(gst_base_sink_get_position):
Improve debugging of events.
René Stadler [Thu, 7 Dec 2006 10:51:36 +0000 (10:51 +0000)]
gst/gstclock.c: Make period ids add the interval to the origial requested time instead of the possibly updated time w...
Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* gst/gstclock.c: (gst_clock_id_wait):
Make period ids add the interval to the origial requested time instead
of the possibly updated time which can be wrong when there are multiple
waiters for the same id. Fixes #382592.
* gst/gstsystemclock.c: (gst_system_clock_async_thread),
(gst_system_clock_id_wait_jitter_unlocked),
(gst_system_clock_id_wait_jitter):
Fix restart in the async notify thread when an async entry is added to
the front of the list. Fixes #381492.
* tests/check/gst/gstsystemclock.c: (store_callback),
(notify_callback), (GST_START_TEST), (gst_systemclock_suite):
Added test for multiple async waits.
Added test for async wait order.
Wim Taymans [Thu, 7 Dec 2006 10:02:19 +0000 (10:02 +0000)]
gst/gstbin.c: Add some more docs about the POSITION query.
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_query):
Add some more docs about the POSITION query.
Jan Schmidt [Thu, 7 Dec 2006 02:37:18 +0000 (02:37 +0000)]
configure.ac: Bump version nano - back to CVS.
Original commit message from CVS:
* configure.ac:
Bump version nano - back to CVS.
Jan Schmidt [Thu, 7 Dec 2006 02:33:54 +0000 (02:33 +0000)]
configure.ac: releasing 0.10.11, "Love never runs on time"
Original commit message from CVS:
=== release 0.10.11 ===
2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
* configure.ac:
releasing 0.10.11, "Love never runs on time"
Sergey Scobich [Fri, 1 Dec 2006 10:23:26 +0000 (10:23 +0000)]
win32/: Fix compilation on win32 under VS8
Original commit message from CVS:
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
* win32/vs8/libgstbase.vcproj:
* win32/vs8/libgstcoreelements.vcproj:
* win32/vs8/libgstreamer.vcproj:
Fix compilation on win32 under VS8
Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
Partially fixes #381175
Jan Schmidt [Thu, 30 Nov 2006 22:55:08 +0000 (22:55 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
Jan Schmidt [Wed, 29 Nov 2006 16:39:32 +0000 (16:39 +0000)]
gst/gstvalue.c: If someone is foolish enough to compare 2 fractions with denominator = 0, return UNORDERED rather tha...
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_compare_fraction):
If someone is foolish enough to compare 2 fractions with denominator =
0, return UNORDERED rather than aborting.
Edward Hervey [Tue, 28 Nov 2006 12:07:06 +0000 (12:07 +0000)]
libs/gst/base/: New GstDataQueue object for threadsafe queueing. Most useful for elements that need some queueing fun...
Original commit message from CVS:
* libs/gst/base/Makefile.am:
* libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
(gst_data_queue_base_init), (gst_data_queue_class_init),
(gst_data_queue_init), (gst_data_queue_new),
(gst_data_queue_cleanup), (gst_data_queue_finalize),
(gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
(gst_data_queue_locked_is_full), (gst_data_queue_flush),
(gst_data_queue_is_empty), (gst_data_queue_is_full),
(gst_data_queue_set_flushing), (gst_data_queue_push),
(gst_data_queue_pop), (gst_data_queue_drop_head),
(gst_data_queue_set_property), (gst_data_queue_get_property):
* libs/gst/base/gstdataqueue.h:
New GstDataQueue object for threadsafe queueing. Most useful for
elements that need some queueing functionnality.
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
Insert documentation for GstDataQueue
* plugins/elements/Makefile.am:
* plugins/elements/gstelements.c:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
(gst_multi_queue_class_init), (gst_multi_queue_init),
(gst_multi_queue_finalize), (gst_multi_queue_set_property),
(gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
(gst_multi_queue_release_pad), (gst_single_queue_push_one),
(gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
(gst_multi_queue_loop), (gst_multi_queue_chain),
(gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
(gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
(gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
(gst_multi_queue_src_event), (gst_multi_queue_src_query),
(wake_up_next_non_linked), (compute_next_non_linked),
(single_queue_overrun_cb), (single_queue_underrun_cb),
(single_queue_check_full), (gst_single_queue_new):
* plugins/elements/gstmultiqueue.h:
New multiqueue element, using GstDataQueue. Used for queuing multiple
streams.
Closes #344639 and #347785
Stefan Kost [Wed, 22 Nov 2006 12:29:41 +0000 (12:29 +0000)]
docs/pwg/advanced-types.xml: add more missing type details
Original commit message from CVS:
* docs/pwg/advanced-types.xml:
add more missing type details
* tools/gst-run.c: (main):
remove unused variable
Stefan Kost [Tue, 21 Nov 2006 08:30:20 +0000 (08:30 +0000)]
docs/libs/: add types of base classes to enable gobject specific stuff in the docs
Original commit message from CVS:
* docs/libs/Makefile.am:
* docs/libs/gstreamer-libs.types:
add types of base classes to enable gobject specific stuff in the docs
* docs/random/ensonic/embedded.txt:
more ideas about isolating platform specific things
Sebastian Droege [Mon, 20 Nov 2006 11:11:20 +0000 (11:11 +0000)]
libs/gst/check/gstcheck.h: Fix compilation and running against 0.9.4. Fixes #377332.
Original commit message from CVS:
Patch by: Sebastian Droege <slomo at ubuntu dot com>
* libs/gst/check/gstcheck.h:
Fix compilation and running against 0.9.4. Fixes #377332.
Wim Taymans [Mon, 20 Nov 2006 10:27:49 +0000 (10:27 +0000)]
gst/gstsegment.c: Fix boundary checking in to_running_time() and to_stream_time().
Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_seek),
(gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
(gst_segment_to_running_time):
Fix boundary checking in to_running_time() and to_stream_time().
Fixes #377183.
* tests/check/gst/gstsegment.c: (GST_START_TEST):
stream and running time can now be calculated for the complete
clipped segment.
Tim-Philipp Müller [Wed, 15 Nov 2006 17:38:13 +0000 (17:38 +0000)]
gst/gstpad.c: Can't access event structure after giving away ownership of the event.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_push_event):
Can't access event structure after giving away ownership of
the event.
Stefan Kost [Wed, 15 Nov 2006 13:00:16 +0000 (13:00 +0000)]
docs/random/ensonic/: more thinking
Original commit message from CVS:
* docs/random/ensonic/embedded.txt:
* docs/random/ensonic/profiling.txt:
* docs/random/ensonic/receipies.txt:
more thinking
Mark Nauwelaerts [Mon, 13 Nov 2006 18:03:35 +0000 (18:03 +0000)]
gst/gstpad.c: Fix documentation for gst_pad_dispatcher. Fixes #374475.
Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* gst/gstpad.c:
Fix documentation for gst_pad_dispatcher. Fixes #374475.
Jonathan Matthew [Mon, 13 Nov 2006 17:54:58 +0000 (17:54 +0000)]
libs/gst/base/gstbasesrc.c: Store new length in segment duration so we don't keep on calling the potentially expensiz...
Original commit message from CVS:
Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
* libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
Store new length in segment duration so we don't keep on calling the
potentially expensize get_size() call. Fixes #370865.
Sergey Scobich [Fri, 10 Nov 2006 18:56:44 +0000 (18:56 +0000)]
win32/common/libgstreamer.def: Add two missing symbols (#366492).
Original commit message from CVS:
Patch by: Sergey Scobich <sergery.scobich at gmail com>
* win32/common/libgstreamer.def:
Add two missing symbols (#366492).
Jan Schmidt [Fri, 10 Nov 2006 10:50:19 +0000 (10:50 +0000)]
libs/gst/base/gstadapter.c: Fix format string to use all its arguments.
Original commit message from CVS:
* libs/gst/base/gstadapter.c: (gst_adapter_flush),
(gst_adapter_take_buffer):
Fix format string to use all its arguments.
Remove useless >= check on a guint
Jan Schmidt [Thu, 9 Nov 2006 15:25:39 +0000 (15:25 +0000)]
tests/examples/adapter/.cvsignore: Ignore build file as commanded by the build-bot
Original commit message from CVS:
* tests/examples/adapter/.cvsignore:
Ignore build file as commanded by the build-bot
Jan Schmidt [Thu, 9 Nov 2006 14:38:59 +0000 (14:38 +0000)]
tests/examples/adapter/: Add new files from the previous commit
Original commit message from CVS:
* tests/examples/adapter/Makefile.am:
* tests/examples/adapter/adapter_test.c: (run_test_take),
(run_test_take_buffer), (run_tests), (main):
Add new files from the previous commit
Jan Schmidt [Thu, 9 Nov 2006 14:37:38 +0000 (14:37 +0000)]
Do some optimisation work in GstAdapter to avoid copies in more cases.
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* libs/gst/base/gstadapter.c: (gst_adapter_clear),
(gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
(gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
* libs/gst/base/gstadapter.h:
* tests/check/libs/adapter.c: (create_and_fill_adapter),
(GST_START_TEST), (gst_adapter_suite):
* tests/examples/Makefile.am:
Do some optimisation work in GstAdapter to avoid copies in more cases.
It could still do slightly better by merging buffers when
gst_buffer_is_span_fast is true, but is already faster.
Also, avoid traversing a single-linked list to append each incoming
buffer inside the adapter.
Add simple test app that times the adapter behaviour in different
situations, and extend the unit test to check that bytes enter and
exit the adapter in their original order.
Tim-Philipp Müller [Wed, 8 Nov 2006 19:27:15 +0000 (19:27 +0000)]
docs/random/draft-missing-plugins.txt: Update: use element message instead of adding a new message type to the core; ...
Original commit message from CVS:
* docs/random/draft-missing-plugins.txt:
Update: use element message instead of adding a new message
type to the core; don't provide GStreamer API to initiate the
plugin download, just provide API to compose the strings needed
and let an external libgimmestuff handle the rest.
Jan Schmidt [Wed, 8 Nov 2006 11:41:13 +0000 (11:41 +0000)]
tools/gst-inspect.c: Print a string instead of 'unknown type' for GValueArray properties
Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info):
Print a string instead of 'unknown type' for GValueArray properties
Jan Schmidt [Wed, 8 Nov 2006 10:35:24 +0000 (10:35 +0000)]
Fix Christian's email address in Changelog
Original commit message from CVS:
Fix Christian's email address in Changelog
Christian Schaller [Wed, 8 Nov 2006 02:04:52 +0000 (02:04 +0000)]
docs/random/draft-missing-plugins.txt: More small fixes.
Original commit message from CVS:
* docs/random/draft-missing-plugins.txt:
More small fixes.
Tim-Philipp Müller [Wed, 8 Nov 2006 02:03:48 +0000 (02:03 +0000)]
tests/examples/typefind/typefind.c: Make typefind element example work again (#371894); add a license header.
Original commit message from CVS:
* tests/examples/typefind/typefind.c: (type_found), (main):
Make typefind element example work again (#371894); add a
license header.
Tim-Philipp Müller [Wed, 8 Nov 2006 01:40:27 +0000 (01:40 +0000)]
docs/random/draft-missing-plugins.txt: Commit initial draft about how to deal with missing plugins, needs work (API t...
Original commit message from CVS:
* docs/random/draft-missing-plugins.txt:
Commit initial draft about how to deal with missing plugins,
needs work (API too).
Stefan Kost [Tue, 7 Nov 2006 07:34:43 +0000 (07:34 +0000)]
docs/pwg/advanced-types.xml: documents the new caps elements (see #363118)
Original commit message from CVS:
* docs/pwg/advanced-types.xml:
documents the new caps elements (see #363118)
Tim-Philipp Müller [Mon, 6 Nov 2006 17:53:24 +0000 (17:53 +0000)]
Use g_strerror() instead of strerror() - we want UTF-8.
Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_load_file):
* plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
(gst_file_src_map_region), (gst_file_src_start):
* plugins/indexers/gstfileindex.c: (gst_file_index_load),
(gst_file_index_commit):
Use g_strerror() instead of strerror() - we want UTF-8.
Peter Kjellerstedt [Mon, 6 Nov 2006 17:25:01 +0000 (17:25 +0000)]
plugins/elements/gstfdsrc.c: Another printf fix (#371493).
Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
Another printf fix (#371493).
Stefan Kost [Mon, 6 Nov 2006 15:22:40 +0000 (15:22 +0000)]
tests/check/gst/gsttag.c: relicence (okay with author=company)
Original commit message from CVS:
* tests/check/gst/gsttag.c:
relicence (okay with author=company)
Stefan Kost [Mon, 6 Nov 2006 15:18:57 +0000 (15:18 +0000)]
gst/gstpad.c: Enhance debug and improve docs
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_event_default_dispatch),
(gst_pad_push_event):
Enhance debug and improve docs
* gst/gsturi.c:
Fix docs
Stefan Kost [Mon, 6 Nov 2006 15:17:35 +0000 (15:17 +0000)]
docs/random/ensonic/: more ideas
Original commit message from CVS:
* docs/random/ensonic/distributed.txt:
* docs/random/ensonic/profiling.txt:
more ideas
Stefan Kost [Mon, 6 Nov 2006 15:14:46 +0000 (15:14 +0000)]
docs/gst/gstreamer-sections.txt: add new API and fix the build
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
add new API and fix the build
* gst/gstbin.c: (gst_bin_recalc_state):
* gst/gstelement.c: (gst_element_message_full),
(gst_element_get_state_func), (gst_element_set_state_func):
use new API and improve logging
* gst/gstutils.c: (gst_element_state_change_return_get_name):
* gst/gstutils.h:
API: add function to get StateChangereturn names to improve logs
Zaheer Abbas Merali [Mon, 6 Nov 2006 12:01:27 +0000 (12:01 +0000)]
Notes taken while discussing dvb channel selection with Wim
Original commit message from CVS:
Notes taken while discussing dvb channel selection with Wim
Thomas Vander Stichele [Sat, 4 Nov 2006 12:54:08 +0000 (12:54 +0000)]
don't put strerror in translatable message
Original commit message from CVS:
don't put strerror in translatable message
Wim Taymans [Fri, 3 Nov 2006 15:04:40 +0000 (15:04 +0000)]
plugins/elements/gstfdsrc.c: Get the type and printf conversion specifiers right.
Original commit message from CVS:
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
Get the type and printf conversion specifiers right.
Mark Nauwelaerts [Fri, 3 Nov 2006 13:57:28 +0000 (13:57 +0000)]
gst/gstpad.c: Some small cleanups. Improve debugging.
Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* gst/gstpad.c: (gst_pad_init), (pre_activate),
(gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
(gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
Some small cleanups. Improve debugging.
* gst/gstpad.h:
Signal all waiting threads with a broadcast instead of just one.
Fixes #369942.
Wim Taymans [Fri, 3 Nov 2006 09:40:03 +0000 (09:40 +0000)]
plugins/elements/gstfdsrc.c: Add some debugging.
Original commit message from CVS:
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
(gst_fd_src_create):
Add some debugging.
Only update fd when it's different from the old.
Tim-Philipp Müller [Thu, 2 Nov 2006 20:52:21 +0000 (20:52 +0000)]
plugins/elements/gstfilesrc.c: Printf fixes for PPC/OSX, take two (#369366).
Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
Printf fixes for PPC/OSX, take two (#369366).
Jan David Mol [Thu, 2 Nov 2006 13:00:38 +0000 (13:00 +0000)]
plugins/elements/: Printf fixes for gsize parameters on PPC/OSX (#369366). Also, don't cast to long long for portabil...
Original commit message from CVS:
Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
* plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
(gst_file_src_map_small_region), (gst_file_src_create_mmap):
Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
don't cast to long long for portability reasons, but use
GLib's types instead.
Michael Smith [Mon, 30 Oct 2006 18:43:12 +0000 (18:43 +0000)]
plugins/elements/gstfdsrc.c: Get the arguments to lseek() the right way around.
Original commit message from CVS:
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
Get the arguments to lseek() the right way around.
Fixes 367677.
gorshkov [Mon, 30 Oct 2006 07:51:13 +0000 (07:51 +0000)]
gst/gstinfo.h: _declspec should be __declspec (two underscores, not one). Fixes 366572.
Original commit message from CVS:
Patch by: gorshkov <gorshkov at oghma dot on dot ca>
* gst/gstinfo.h:
_declspec should be __declspec (two underscores, not one). Fixes 366572.
Kjartan Maraas [Sat, 28 Oct 2006 15:42:29 +0000 (15:42 +0000)]
Typo fixes (#366212).
Original commit message from CVS:
Patch by: Kjartan Maraas <kmaraas at gnome org>
* docs/design/part-MT-refcounting.txt:
* docs/random/wtay/capsnego2-docs:
* gst/gstclock.c:
* gst/gstxml.c:
Typo fixes (#366212).
Sergey Scobich [Sat, 28 Oct 2006 15:10:26 +0000 (15:10 +0000)]
Add needed entries in .def files.
Original commit message from CVS:
Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
* gst/gst.c:
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
* win32/vs8/libgstbase.vcproj:
* win32/vs8/libgstcontroller.vcproj:
Add needed entries in .def files.
Use HAVE_UNISTD_H.
Rearrange def files in vs8 solutions. Fixes #366286.
Tim-Philipp Müller [Sat, 28 Oct 2006 15:03:19 +0000 (15:03 +0000)]
win32/common/gstconfig.h: Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the hand-made win32 gstconfig.h. F...
Original commit message from CVS:
* win32/common/gstconfig.h:
Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
hand-made win32 gstconfig.h. Fixes #366321.
Wim Taymans [Fri, 27 Oct 2006 16:31:15 +0000 (16:31 +0000)]
gst/gstghostpad.c: Make acceptcaps return TRUE when we don't have a target, just like setcaps does.
Original commit message from CVS:
* gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
(gst_ghost_pad_new_full):
Make acceptcaps return TRUE when we don't have a target, just like
setcaps does.
Wim Taymans [Fri, 27 Oct 2006 10:10:26 +0000 (10:10 +0000)]
libs/gst/base/gstbasetransform.c: Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
Original commit message from CVS:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
Tim-Philipp Müller [Thu, 26 Oct 2006 08:49:52 +0000 (08:49 +0000)]
gst/gststructure.c: If someone tries to set a non-UTF8 string field on a structure, don't just print a warning, but a...
Original commit message from CVS:
* gst/gststructure.c: (gst_structure_id_set_value):
If someone tries to set a non-UTF8 string field on a structure,
don't just print a warning, but also ignore the request and do
not change/add that field to the structure.
* tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
Test for the above.
David Schleef [Thu, 26 Oct 2006 00:00:34 +0000 (00:00 +0000)]
gst/gstinfo.c: g_hash_table_insert() needs a cast to a non-const pointer duh.
Original commit message from CVS:
* gst/gstinfo.c:
g_hash_table_insert() needs a cast to a non-const pointer duh.
David Schleef [Wed, 25 Oct 2006 23:47:40 +0000 (23:47 +0000)]
gst/gstinfo.*: Change name parameter of _gst_debug_register_funcptr to const to reflect the constness of its use in t...
Original commit message from CVS:
* gst/gstinfo.c:
* gst/gstinfo.h:
Change name parameter of _gst_debug_register_funcptr to const
to reflect the constness of its use in the function as well
as to quiet a gcc warning.
Edward Hervey [Wed, 25 Oct 2006 13:41:44 +0000 (13:41 +0000)]
libs/gst/base/gstbasetransform.c: Don't push the buffer if it's empty.
Original commit message from CVS:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
Don't push the buffer if it's empty.
Closes #363095
Wim Taymans [Tue, 24 Oct 2006 08:22:19 +0000 (08:22 +0000)]
gst/gstevent.h: Add small comment.
Original commit message from CVS:
* gst/gstevent.h:
Add small comment.
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_eventfunc):
Debug segment values *after* updating them as this is more
interesting.
Wim Taymans [Mon, 23 Oct 2006 15:21:12 +0000 (15:21 +0000)]
docs/design/part-events.txt: Update some docs.
Original commit message from CVS:
* docs/design/part-events.txt:
Update some docs.
* docs/design/part-block.txt:
* gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
(gst_pad_push_event):
Revert BLOCKING patch, it tries to be smart without really having a
clear idea what or how. So, now we discard all FLUSHING events again on
a blocking pad. Should fix gnonlin again.