Wim Taymans [Tue, 11 Apr 2006 11:47:39 +0000 (11:47 +0000)]
gst/gstelementfactory.c: Some cleanups.
Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_register),
(gst_element_factory_create), (gst_element_factory_make):
Some cleanups.
Fixed a FIXME.
Updated docs (Fixes #131079)
* gst/gstpluginfeature.c: (gst_plugin_feature_load):
Small cleanups.
* tests/check/gst/gstelement.c: (GST_START_TEST),
(gst_element_suite):
Added testcase for elementfactory class field.
Wim Taymans [Mon, 10 Apr 2006 10:46:44 +0000 (10:46 +0000)]
gst/gstsegment.c: Added some more docs.
Original commit message from CVS:
* gst/gstsegment.c:
Added some more docs.
* libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
(gst_base_sink_reset_qos):
Calculate more accurate rate values.
Sébastien Moutte [Sun, 9 Apr 2006 16:57:34 +0000 (16:57 +0000)]
gst/gst_private.h: add a new #ifdef to use __declspec(dllimport) only for other modules and not for gstreamer core
Original commit message from CVS:
* gst/gst_private.h:
add a new #ifdef to use __declspec(dllimport) only for
other modules and not for gstreamer core
* gst/gstbasesink.c: (gst_base_sink_perform_qos):
use gst_guint64_to_gdouble for conversion
* win32/common/libgstreamer.def:
add new exported functions
* win32/vs6/gst_inspect.dsp:
* win32/vs6/gst_launch.dsp:
* win32/vs6/libgstbase.dsp:
* win32/vs6/libgstcontroller.dsp:
* win32/vs6/libgstcoreelements.dsp:
* win32/vs6/libgstdataprotocol.dsp:
* win32/vs6/libgstnet.dsp:
update project files
Stefan Kost [Sat, 8 Apr 2006 20:57:31 +0000 (20:57 +0000)]
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Original commit message from CVS:
* gst/gstbuffer.c: (gst_subbuffer_class_init):
* gst/gstclock.c: (gst_clock_class_init):
* gst/gstelement.c: (gst_element_class_init):
* gst/gstindex.c: (gst_index_class_init):
* gst/gstindexfactory.c: (gst_index_factory_class_init):
* gst/gstobject.c: (gst_object_class_init),
(gst_signal_object_class_init):
* gst/gstpad.c: (gst_pad_class_init):
* gst/gstpadtemplate.c: (gst_pad_template_class_init):
* gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
* gst/gstregistry.c: (gst_registry_class_init):
* gst/gstsystemclock.c: (gst_system_clock_class_init):
* gst/gsttask.c: (gst_task_class_init):
* gst/gstxml.c: (gst_xml_class_init):
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_loop):
* libs/gst/controller/gstcontroller.c:
(_gst_controller_class_init):
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
* plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
* plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
* tests/old/examples/plugins/example.c: (gst_example_class_init):
* tests/old/testsuite/threads/signals.c: (gst_test_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Tim-Philipp Müller [Sat, 8 Apr 2006 18:11:56 +0000 (18:11 +0000)]
gst/gstpad.c: Must set peer pads before calling the link function, otherwise a task started from a link function migh...
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_link):
Must set peer pads before calling the link function, otherwise
a task started from a link function might get a flow-not-linked
result when trying to push because the other thread where the
linking happens hasn't had a chance to set the peers yet. This
might happen for example when a queue gets linked to a downstream
element, as queue starts a streaming task when its source pad
gets linked. Happens in real life when playing back flac/musepack
files in playbin (#332390).
Stefan Kost [Sat, 8 Apr 2006 18:05:16 +0000 (18:05 +0000)]
Fix broken GObject macros
Original commit message from CVS:
* gst/gstindex.h:
* gst/gstxml.h:
* libs/gst/base/gstadapter.h:
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasetransform.h:
* libs/gst/base/gstcollectpads.h:
* libs/gst/base/gstpushsrc.h:
Fix broken GObject macros
Wim Taymans [Fri, 7 Apr 2006 15:19:08 +0000 (15:19 +0000)]
libs/gst/base/gstbasesink.c: Initialize start and stop times, thanks valgrind.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Initialize start and stop times, thanks valgrind.
Wim Taymans [Fri, 7 Apr 2006 14:50:06 +0000 (14:50 +0000)]
libs/gst/base/gstbasesink.c: Be a bit nicer to badly behaving upstream elements that expect us to deal with non TIME ...
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Be a bit nicer to badly behaving upstream elements that expect
us to deal with non TIME segments and timestamps (such as fakesrc
in the testsuite).
Wim Taymans [Fri, 7 Apr 2006 14:02:12 +0000 (14:02 +0000)]
gst/gstbus.c: Small documentation clarification about the signal watch.
Original commit message from CVS:
* gst/gstbus.c:
Small documentation clarification about the signal watch.
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
(gst_base_sink_wait_clock), (gst_base_sink_do_sync),
(gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
(gst_base_sink_do_render_stats), (gst_base_sink_render_object),
(gst_base_sink_get_position_last),
(gst_base_sink_get_position_paused), (gst_base_sink_change_state):
Convert and store timestamps in stream time and running time, the
raw timestamps are not usefull, also document this better.
Use different window sizes for good and bad QoS observations so
we react to badness a little quicker.
Keep track of the amount of rendered and dropped buffers.
Send QoS timestamps in running time.
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_eventfunc),
(gst_base_transform_handle_buffer):
Compare QoS timestamps against running time.
Thomas Vander Stichele [Thu, 6 Apr 2006 17:36:27 +0000 (17:36 +0000)]
add gnonlin
Original commit message from CVS:
add gnonlin
Tim-Philipp Müller [Thu, 6 Apr 2006 15:46:04 +0000 (15:46 +0000)]
gst/gstpad.c: Typo fixes in docs.
Original commit message from CVS:
* gst/gstpad.c:
Typo fixes in docs.
Michael Smith [Thu, 6 Apr 2006 15:07:12 +0000 (15:07 +0000)]
gst/gstpad.c: Use g_value_get_object() instead of g_value_dup_gst_object(), to avoid double-reffing the pad template ...
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_property):
Use g_value_get_object() instead of g_value_dup_gst_object(),
to avoid double-reffing the pad template (which we then sink,
so this worked previously if (and only if) the pad template
was floating.
* gst/gstpadtemplate.c: (gst_pad_template_init),
(gst_pad_template_pad_created):
Never return floating references to pad templates, create
them as initially-sunken.
Document an extra function (and make this stop sinking our
pad template, since that is now guaranteed to do nothing,
since we created it sunken).
* gst/gstghostpad.c:
Fix docs typo.
Tim-Philipp Müller [Thu, 6 Apr 2006 11:27:24 +0000 (11:27 +0000)]
gst/gstinfo.c: Add some newlines.
Original commit message from CVS:
* gst/gstinfo.c: (__gst_in_valgrind):
Add some newlines.
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain):
Don't leak buffer caps.
Michael Smith [Thu, 6 Apr 2006 10:38:54 +0000 (10:38 +0000)]
gst/parse/grammar.y: Fix a leak in parse-launch for any source-or-sink named element references used.
Original commit message from CVS:
* gst/parse/grammar.y:
Fix a leak in parse-launch for any source-or-sink named element
references used.
* tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
Unref the pipeline if it exists after we've failed parsing.
Michael Smith [Wed, 5 Apr 2006 15:46:00 +0000 (15:46 +0000)]
gst/gstpipeline.c: When we create a pipeline bus, initially create it in flushing mode.
Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_init):
When we create a pipeline bus, initially create it in flushing mode.
Fixes leaks in at least one test, and makes a new pipeline work the
same as one that has gone to READY and then back to NULL.
* gst/gstelement.c:
Typo fix in docs.
Michael Smith [Wed, 5 Apr 2006 15:12:39 +0000 (15:12 +0000)]
tests/check/gst/gstghostpad.c: Unref a pad we reffed.
Original commit message from CVS:
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Unref a pad we reffed.
* tests/check/gst/gstutils.c: (GST_START_TEST):
Unref bins
Michael Smith [Wed, 5 Apr 2006 13:18:29 +0000 (13:18 +0000)]
gst/gstquery.c: Fix leaking GValues in queries, as shown by valgrind/testsuite.
Original commit message from CVS:
* gst/gstquery.c: (gst_query_set_formats),
(gst_query_set_formatsv):
Fix leaking GValues in queries, as shown by valgrind/testsuite.
Michael Smith [Wed, 5 Apr 2006 12:11:20 +0000 (12:11 +0000)]
tests/check/generic/sinks.c: Fix a variety of memleaks in sinks check, which are only sometimes shown by running the ...
Original commit message from CVS:
* tests/check/generic/sinks.c: (GST_START_TEST):
Fix a variety of memleaks in sinks check, which are only sometimes
shown by running the tests under valgrind (weird?).
Jan Schmidt [Wed, 5 Apr 2006 11:04:19 +0000 (11:04 +0000)]
docs/version.entities.in: Fix the substituted entity name after thomas' changes on the weekend.
Original commit message from CVS:
* docs/version.entities.in:
Fix the substituted entity name after thomas' changes on the
weekend.
Zaheer Abbas Merali [Wed, 5 Apr 2006 10:31:20 +0000 (10:31 +0000)]
gst/gstinfo.c: Use printf instead of
Original commit message from CVS:
2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
VALGRIND_PRINTF
Andy Wingo [Wed, 5 Apr 2006 10:26:29 +0000 (10:26 +0000)]
gst/gstpad.c (gst_pad_set_blocked_async): More debug. libs/gst/base/gstbasetransform.c
Original commit message from CVS:
2006-04-05 Andy Wingo <wingo@pobox.com>
* gst/gstpad.c (gst_pad_set_blocked_async): More debug.
* libs/gst/base/gstbasetransform.c
(gst_base_transform_sink_eventfunc): When resetting our segment on
FLUSH_STOP, also update the flag saying we haven't seen a
newsegment.
Paolo Borelli [Tue, 4 Apr 2006 18:02:07 +0000 (18:02 +0000)]
gst/gstplugin.c: minor clean-ups: G_DEFINE_TYPE already takes care of the parent_class stuff, no need to do it twice....
Original commit message from CVS:
Patch by: Paolo Borelli <pborelli at katamail dot com>
* gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
(gst_plugin_check_license):
minor clean-ups: G_DEFINE_TYPE already takes care of the
parent_class stuff, no need to do it twice. Mark array of
license strings as constant. (#337103)
Michael Smith [Tue, 4 Apr 2006 17:54:30 +0000 (17:54 +0000)]
tools/gst-inspect.c: Free the right plugin list; fixes a memory leak.
Original commit message from CVS:
* tools/gst-inspect.c: (print_element_list):
Free the right plugin list; fixes a memory leak.
Mark Nauwelaerts [Tue, 4 Apr 2006 15:45:36 +0000 (15:45 +0000)]
plugins/elements/gstfilesink.c: Don't error out on empty buffers (#336945).
Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* plugins/elements/gstfilesink.c: (gst_file_sink_render):
Don't error out on empty buffers (#336945).
Jan Schmidt [Tue, 4 Apr 2006 14:58:50 +0000 (14:58 +0000)]
Documentation updates. Make BaseSink and BaseSrc docs contain the class structure so that people can actually see the...
Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* gst/gsttaglist.c:
* libs/gst/base/gstbasesink.c:
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.c:
* libs/gst/base/gstbasesrc.h:
Documentation updates. Make BaseSink and BaseSrc docs contain the
class structure so that people can actually see the prototypes for
virtual functions they're supposed to be overriding.
Tim-Philipp Müller [Tue, 4 Apr 2006 08:55:44 +0000 (08:55 +0000)]
plugins/elements/gsttypefindelement.c: More debug info; when skipping typefinding, send cached events in all cases.
Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain):
More debug info; when skipping typefinding, send cached
events in all cases.
Michael Smith [Mon, 3 Apr 2006 17:05:31 +0000 (17:05 +0000)]
Fix typo in docs.
Original commit message from CVS:
Fix typo in docs.
Thomas Vander Stichele [Mon, 3 Apr 2006 08:59:52 +0000 (08:59 +0000)]
update win32 common dir; update uninstalled script
Original commit message from CVS:
update win32 common dir; update uninstalled script
Thomas Vander Stichele [Sat, 1 Apr 2006 15:30:49 +0000 (15:30 +0000)]
disable use of AS_LIBTOOL_TAGS, it doesn't work correctly
Original commit message from CVS:
disable use of AS_LIBTOOL_TAGS, it doesn't work correctly
Thomas Vander Stichele [Sat, 1 Apr 2006 09:41:43 +0000 (09:41 +0000)]
configure.ac: use new AS_VERSION and AS_NANO macros
Original commit message from CVS:
* configure.ac:
use new AS_VERSION and AS_NANO macros
* gst/gst-i18n-lib.h:
* gst/gst.c:
* gst/gsterror.c:
* gst/gstversion.h.in:
* win32/common/config.h:
* win32/common/config.h.in:
update accordingly
Michael Smith [Fri, 31 Mar 2006 15:26:04 +0000 (15:26 +0000)]
plugins/elements/gsttypefindelement.c: Do not typefind content if the buffers already have caps. and the right thing ...
Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain):
Do not typefind content if the buffers already have caps.
Neccesary for icydemux (#333657), and the right thing to do anyway.
Wim Taymans [Thu, 30 Mar 2006 16:36:12 +0000 (16:36 +0000)]
libs/gst/base/gstbasesink.c: More QoS measurements as described in the design doc.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_init),
(gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
(gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
(gst_base_sink_record_qos_observation),
(gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
(gst_base_sink_is_too_late), (gst_base_sink_render_object),
(gst_base_sink_change_state):
More QoS measurements as described in the design doc.
Get rid of ringbuffer with observations, running average is
more simple and equally good.
Calculates valid proportion now.
Added beginning of flood measurement.
Wim Taymans [Wed, 29 Mar 2006 13:45:15 +0000 (13:45 +0000)]
Small documentation updates and additions.
Original commit message from CVS:
* docs/design/part-qos.txt:
* gst/gstclock.c:
Small documentation updates and additions.
Wim Taymans [Wed, 29 Mar 2006 13:39:05 +0000 (13:39 +0000)]
libs/gst/base/gstbasesrc.c: Perform the EOS logic when we reach the segment stop position.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
(gst_base_src_send_event), (gst_base_src_loop),
(gst_base_src_change_state):
Perform the EOS logic when we reach the segment stop position.
Fix compilation on gcc4.1
Tommi Myöhänen [Wed, 29 Mar 2006 11:02:33 +0000 (11:02 +0000)]
plugins/elements/gstqueue.*: In queue, when EOS is received, if minimum threshold > max_size - current_level, there i...
Original commit message from CVS:
Patch by Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* plugins/elements/gstqueue.c: (gst_queue_init),
(gst_queue_locked_flush), (gst_queue_handle_sink_event),
(gst_queue_set_property):
* plugins/elements/gstqueue.h:
In queue, when EOS is received, if minimum threshold > max_size -
current_level, there is chance that queue blocks forever in conditional item
del wait. This is because the queue is not emptied completely due to minimum
threshold.
Here is another approach. Instead of setting cur_levels to max in EOS, just
zero all minimum threshold levels. This should make sure that queue gives out
all data. When going to READY (stop) state, just reset the original minimum
threshold levels.
Fixes #336336.
Tim-Philipp Müller [Wed, 29 Mar 2006 10:33:19 +0000 (10:33 +0000)]
plugins/elements/gsttypefindelement.*: When typefinding is done in push mode, we should cache events we receive durin...
Original commit message from CVS:
* plugins/elements/gsttypefindelement.c: (stop_typefinding),
(gst_type_find_element_handle_event),
(gst_type_find_element_send_cached_events),
(gst_type_find_element_change_state):
* plugins/elements/gsttypefindelement.h:
When typefinding is done in push mode, we should cache
events we receive during typefinding instead of just
dropping them (e.g. newsegment, custom events from
dvdreadsrc etc.) and then send them out once we've
determined the type of the stream (and decodebin
has had a chance to plug in a decoder/demuxer).
Wim Taymans [Mon, 27 Mar 2006 18:38:49 +0000 (18:38 +0000)]
docs/design/part-qos.txt: First QoS ideas.
Original commit message from CVS:
* docs/design/part-qos.txt:
First QoS ideas.
Wim Taymans [Mon, 27 Mar 2006 11:48:10 +0000 (11:48 +0000)]
libs/gst/base/gstbasesrc.c: Handle element seek correctly when we are streaming.
Original commit message from CVS:
Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
* libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
(gst_base_src_send_event), (gst_base_src_change_state):
Handle element seek correctly when we are streaming.
Fixes #326998.
Michael Smith [Fri, 24 Mar 2006 18:38:12 +0000 (18:38 +0000)]
docs/faq/gst-uninstalled: Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will allow you to correctly...
Original commit message from CVS:
* docs/faq/gst-uninstalled:
Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
allow you to correctly run intalled applications built against old core, using plugins that require updated core (e.g. running
installed totem against a full uninstalled gstreamer stack)
Thomas Vander Stichele [Fri, 24 Mar 2006 17:29:25 +0000 (17:29 +0000)]
add API: marker in ChangeLog
Original commit message from CVS:
add API: marker in ChangeLog
Stefan Kost [Fri, 24 Mar 2006 17:10:46 +0000 (17:10 +0000)]
libs/gst/base/gstcollectpads.c: more debug details
Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
more debug details
Wim Taymans [Fri, 24 Mar 2006 11:02:42 +0000 (11:02 +0000)]
docs/gst/gstreamer-sections.txt: Rearrange the order of the methods so that related methods are grouped together in s...
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Rearrange the order of the methods so that related methods
are grouped together in sections.
Stefan Kost [Fri, 24 Mar 2006 10:44:17 +0000 (10:44 +0000)]
gst/gstelement.c: Little clarification in the docs
Original commit message from CVS:
* gst/gstelement.c:
Little clarification in the docs
Stefan Kost [Fri, 24 Mar 2006 10:38:20 +0000 (10:38 +0000)]
docs/README: formatting fix
Original commit message from CVS:
* docs/README:
formatting fix
* plugins/elements/gstidentity.c:
* plugins/elements/gstqueue.c:
* plugins/elements/gsttee.c:
* plugins/elements/gsttypefindelement.c:
GST_ELEMENT_DETAILS formatting
Wim Taymans [Fri, 24 Mar 2006 09:48:33 +0000 (09:48 +0000)]
libs/gst/base/gstbasesink.h: Only add fields, not insert or we break ABI.
Original commit message from CVS:
* libs/gst/base/gstbasesink.h:
Only add fields, not insert or we break ABI.
Tim-Philipp Müller [Thu, 23 Mar 2006 18:51:05 +0000 (18:51 +0000)]
win32/common/: Update, add recently added functions.
Original commit message from CVS:
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
Update, add recently added functions.
Tim-Philipp Müller [Thu, 23 Mar 2006 18:45:02 +0000 (18:45 +0000)]
API: add some new utility functions:
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstutils.c: (gst_pad_query_peer_position),
(gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
* gst/gstutils.h:
API: add some new utility functions:
- gst_pad_query_peer_position
- gst_pad_query_peer_duration
- gst_pad_query_peer_convert
Wim Taymans [Thu, 23 Mar 2006 16:32:41 +0000 (16:32 +0000)]
Forgot to mention the previous commit fixed #326311
Original commit message from CVS:
Forgot to mention the previous commit fixed #326311
Wim Taymans [Thu, 23 Mar 2006 16:20:40 +0000 (16:20 +0000)]
libs/gst/base/gstbasesink.c: Decouple max-lateness and the fact that QoS messages are generated with a new property (...
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_init), (gst_base_sink_finalize),
(gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
(gst_base_sink_set_property), (gst_base_sink_get_property),
(gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
(gst_base_sink_wait_clock), (gst_base_sink_do_sync),
(gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
(gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
(gst_base_sink_is_too_late), (gst_base_sink_render_object),
(gst_base_sink_preroll_object), (gst_base_sink_event),
(gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
(gst_base_sink_get_position_paused), (gst_base_sink_get_position),
(gst_base_sink_query), (gst_base_sink_change_state):
Decouple max-lateness and the fact that QoS messages are generated
with a new property (qos).
Add vmethod so subclasses can be notified of ASYNC playing
state changes.
Collect timestamp start and stop to report better current
position in EOS/PLAYING/PAUSED/READY/NULL.
Refactor QoS/frame dropping and other measurements.
API: GstBaseSrc::qos
* libs/gst/base/gstbasesink.h:
Added Private struct.
API: gst_base_sink_set_qos_enabled
API: gst_base_sink_is_qos_enabled
Tim-Philipp Müller [Thu, 23 Mar 2006 11:54:51 +0000 (11:54 +0000)]
gst/gstregistryxml.c: If compiling against GLib-2.8 or newer, try to read the registry file using GMappedFile first b...
Original commit message from CVS:
* gst/gstregistryxml.c: (gst_registry_xml_read_cache):
If compiling against GLib-2.8 or newer, try to read the
registry file using GMappedFile first before falling back
to fopen() + fread() (#332151).
Wim Taymans [Wed, 22 Mar 2006 18:25:04 +0000 (18:25 +0000)]
gst/gstinfo.c: Disable debugging unless explicitly activated.
Original commit message from CVS:
* gst/gstinfo.c: (gst_debug_set_active),
(gst_debug_category_set_threshold):
Disable debugging unless explicitly activated.
Fixes #335480.
Wim Taymans [Wed, 22 Mar 2006 13:10:16 +0000 (13:10 +0000)]
gst/gstelement.c: Cleanup the error case.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_set_locked_state),
(gst_element_dispose):
Cleanup the error case.
* gst/gstobject.c: (gst_object_dispose):
print a critical when some object was disposed with
a parent, also revive the object since it might
crash the parent.
Tim-Philipp Müller [Wed, 22 Mar 2006 09:03:10 +0000 (09:03 +0000)]
tools/gst-launch.1.in: Fix another typo.
Original commit message from CVS:
* tools/gst-launch.1.in:
Fix another typo.
Thomas Vander Stichele [Tue, 21 Mar 2006 19:27:15 +0000 (19:27 +0000)]
disable some tests when we don't have a registry
Original commit message from CVS:
* configure.ac:
* tests/check/Makefile.am:
disable some tests when we don't have a registry
* tests/check/gst/gstutils.c: (gst_utils_suite):
don't build the part that needs parsing
Thomas Vander Stichele [Tue, 21 Mar 2006 17:25:22 +0000 (17:25 +0000)]
gst/Makefile.am
Original commit message from CVS:
* gst/Makefile.am
* tests/examples/Makefile.am:
fix --disable-parse build
Thomas Vander Stichele [Tue, 21 Mar 2006 17:24:30 +0000 (17:24 +0000)]
the .in file is in cvs
Original commit message from CVS:
the .in file is in cvs
Tim-Philipp Müller [Tue, 21 Mar 2006 15:42:02 +0000 (15:42 +0000)]
tools/gst-feedback.1.in: Fix typo: s/feeback/feedback/ (#133494).
Original commit message from CVS:
* tools/gst-feedback.1.in:
Fix typo: s/feeback/feedback/ (#133494).
Tim-Philipp Müller [Tue, 21 Mar 2006 15:04:20 +0000 (15:04 +0000)]
tools/: Add FILES section and correct entry about GST_REGISTRY_PATH environment variable (#133495; #133494).
Original commit message from CVS:
* tools/Makefile.am:
* tools/gst-launch.1.in:
Add FILES section and correct entry about GST_REGISTRY_PATH
environment variable (#133495; #133494).
Tim-Philipp Müller [Tue, 21 Mar 2006 14:41:58 +0000 (14:41 +0000)]
tools/: Remove gst-md5sum and man page (the md5sink element required was removed ages ago)
Original commit message from CVS:
* tools/Makefile.am:
* tools/gst-md5sum.1.in:
* tools/gst-md5sum.c:
Remove gst-md5sum and man page (the md5sink element
required was removed ages ago)
Tim-Philipp Müller [Tue, 21 Mar 2006 14:24:41 +0000 (14:24 +0000)]
gst/gststructure.c: Make sure that string fields in structures/taglists contain valid UTF-8 - we don't want to pass r...
Original commit message from CVS:
* gst/gststructure.c: (gst_structure_id_set_value):
Make sure that string fields in structures/taglists
contain valid UTF-8 - we don't want to pass rubbish to
applications because of a buggy plugin (cp. #334167).
Edward Hervey [Tue, 21 Mar 2006 14:14:49 +0000 (14:14 +0000)]
Series of fixes for dereferenced pointers that gcc 4.1 complains about.
Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
(gst_bin_handle_message_func):
* gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
* gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
(gst_element_set_bus_func):
* gst/gstghostpad.c: (gst_proxy_pad_dispose):
* gst/gstminiobject.c: (gst_value_set_mini_object),
(gst_value_take_mini_object):
* gst/gstpad.c: (gst_pad_set_pad_template):
* gst/gstpipeline.c: (gst_pipeline_dispose),
(gst_pipeline_use_clock), (gst_pipeline_auto_clock):
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
(gst_collect_pads_chain):
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_set_property):
Series of fixes for dereferenced pointers that gcc 4.1 complains about.
It's in fact all issues with gst_*object_replace().
Loïc Minier [Tue, 21 Mar 2006 13:55:44 +0000 (13:55 +0000)]
pkgconfig/: Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
Original commit message from CVS:
Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
* pkgconfig/gstreamer-check-uninstalled.pc.in:
* pkgconfig/gstreamer-check.pc.in:
Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
Edward Hervey [Tue, 21 Mar 2006 13:50:52 +0000 (13:50 +0000)]
gst/: gst_[buffer|event|message]_ref() macros are replaced by a static inline functions because gcc-4.1 will about if...
Original commit message from CVS:
* gst/gstbuffer.h:
* gst/gstevent.h:
* gst/gstmessage.h:
gst_[buffer|event|message]_ref() macros are replaced by a static
inline functions because gcc-4.1 will about if the return value
isn't used.
* tests/check/gst/gstevent.c: (event_probe):
gst_event_ref now has to be given a GstEvent* , fix check accordingly.
Jan Schmidt [Mon, 20 Mar 2006 16:47:35 +0000 (16:47 +0000)]
Remove irritating file that keeps breaking my checkouts
Original commit message from CVS:
Remove irritating file that keeps breaking my checkouts
Jan Schmidt [Mon, 20 Mar 2006 16:45:15 +0000 (16:45 +0000)]
gst/gstutils.h: Add G_UNLIKELY to our boilerplate to optimise the 'already registered the type' case. (Closes: #33519...
Original commit message from CVS:
* gst/gstutils.h:
Add G_UNLIKELY to our boilerplate to optimise the 'already registered
the type' case. (Closes: #335195 for now). In the future, when we
depend on GLib 2.10, we could also intern the type name using
g_intern_static_string()
Wim Taymans [Mon, 20 Mar 2006 10:56:08 +0000 (10:56 +0000)]
gst/gstbin.c: Position query should also take max of all streams.
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_handle_message_func),
(bin_query_max_init), (bin_query_position_fold),
(bin_query_position_done), (gst_bin_query):
Position query should also take max of all streams.
Wim Taymans [Mon, 20 Mar 2006 09:28:41 +0000 (09:28 +0000)]
plugins/elements/gstfakesrc.c: Fix leaks in fakesrc.
Original commit message from CVS:
* plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
(gst_fake_src_finalize):
Fix leaks in fakesrc.
* tests/check/pipelines/parse-launch.c: (GST_START_TEST):
Fix leaks in the testcase.
Sébastien Moutte [Sun, 19 Mar 2006 21:39:21 +0000 (21:39 +0000)]
gst/gst_private.h: add win32 specific import decoration(__declspec(dllimport)) for all extern GstDebugCategory * vari...
Original commit message from CVS:
* gst/gst_private.h:
add win32 specific import decoration(__declspec(dllimport))
for all extern GstDebugCategory * variables
* win32/common/libgstbase.def:
* win32/common/libgstcontroller.def:
* win32/common/libgstreamer.def:
Add some exports, remove empty lines
* win32/common/libgstdataprotocol.def:
* win32/common/libgstdataprotocol.dsp:
* win32/common/libgstnet.def:
* win32/common/libgstnet.dsp:
new project files and exportation files added
Wim Taymans [Sun, 19 Mar 2006 16:05:23 +0000 (16:05 +0000)]
tests/check/libs/basesrc.c: Use proper return value for probe.
Original commit message from CVS:
* tests/check/libs/basesrc.c: (eos_event_counter):
Use proper return value for probe.
Wim Taymans [Fri, 17 Mar 2006 19:27:51 +0000 (19:27 +0000)]
gst/gstpad.c: Don't leak buffers, caps and pads on negotiation errors.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
(gst_pad_push):
Don't leak buffers, caps and pads on negotiation errors.
Stefan Kost [Thu, 16 Mar 2006 15:33:55 +0000 (15:33 +0000)]
docs/faq/: Faq review and update.
Original commit message from CVS:
* docs/faq/cvs.xml:
* docs/faq/dependencies.xml:
* docs/faq/developing.xml:
* docs/faq/faq.xml:
* docs/faq/general.xml:
* docs/faq/getting.xml:
* docs/faq/legal.xml:
* docs/faq/troubleshooting.xml:
* docs/faq/using.xml:
Faq review and update.
Jan Schmidt [Thu, 16 Mar 2006 10:18:27 +0000 (10:18 +0000)]
gst/gstpad.c: Don't pound the cpu to pieces by checking get_caps when accept_caps is called with the same caps as the...
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
(gst_pad_push):
Don't pound the cpu to pieces by checking get_caps when accept_caps
is called with the same caps as the pad already has.
Use GST_DEBUG_OBJECT when outputting caps change information.
Wim Taymans [Wed, 15 Mar 2006 20:17:40 +0000 (20:17 +0000)]
gst/gstclock.c: Fix docs.
Original commit message from CVS:
* gst/gstclock.c: (gst_clock_class_init):
Fix docs.
Jan Schmidt [Wed, 15 Mar 2006 16:29:02 +0000 (16:29 +0000)]
gst/gstbuffer.h: Documentation fix.
Original commit message from CVS:
* gst/gstbuffer.h:
Documentation fix.
* gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
(gst_pad_accept_caps), (gst_pad_configure_sink),
(gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
Make the default acceptcaps behaviour be to check the requested
caps against the gst_pad_get_caps output.
Ensure that gst_pad_accept_caps is used to check caps when a pad
doesn't have a setcaps function, so that pads automatically refuse
caps that they don't allow in their pad template. (Fixes #332986)
When a buffer with attached caps is pushed, ensure that the source
pad receives those caps even if the element didn't call
gst_pad_set_caps first.
Wim Taymans [Wed, 15 Mar 2006 16:22:26 +0000 (16:22 +0000)]
libs/gst/base/gstadapter.c: Add some docs.
Original commit message from CVS:
* libs/gst/base/gstadapter.c:
Add some docs.
Tim-Philipp Müller [Wed, 15 Mar 2006 15:57:51 +0000 (15:57 +0000)]
win32/common/: Add a whole bunch of missing functions (#334434).
Original commit message from CVS:
* win32/common/libgstbase.def:
* win32/common/libgstcontroller.def:
* win32/common/libgstreamer.def:
Add a whole bunch of missing functions (#334434).
Wim Taymans [Tue, 14 Mar 2006 19:36:05 +0000 (19:36 +0000)]
libs/gst/base/gstbasesink.c: Better debug info when we receive a segment event.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
(gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
(gst_base_sink_do_sync), (gst_base_sink_do_qos):
Better debug info when we receive a segment event.
Reorganize a bit so we can pass the get_times() results around.
Use the segment format when calculating the running time.
Don't do QoS is sync is disabled or we have no clock or the
element does not want us to sync to the clock.
Don't drop buffers if QoS is disabled for now.
Wim Taymans [Tue, 14 Mar 2006 19:28:20 +0000 (19:28 +0000)]
gst/gstclock.c: Marked the stats property as unimplemented so people don't get wild ideas.
Original commit message from CVS:
* gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
Marked the stats property as unimplemented so people don't get
wild ideas.
Add debug message when regression goes wrong.
Added some more docs.
Wim Taymans [Tue, 14 Mar 2006 19:26:17 +0000 (19:26 +0000)]
gst/gstsegment.c: Return correct return type in case of errors.
Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_to_stream_time):
Return correct return type in case of errors.
Wim Taymans [Tue, 14 Mar 2006 19:16:45 +0000 (19:16 +0000)]
gst/gstformat.c: Don't segfault on invalid formats.
Original commit message from CVS:
* gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
Don't segfault on invalid formats.
Tim-Philipp Müller [Tue, 14 Mar 2006 18:25:54 +0000 (18:25 +0000)]
libs/gst/base/gstbasesink.c: Can't use gst_segment_to_running_time() when the segment is not in GST_TIME_FORMAT (like...
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Can't use gst_segment_to_running_time() when the segment
is not in GST_TIME_FORMAT (like with filesink, for example).
Stops flac encoding pipelines from spewing critical warnings
at EOS (#331248).
Tim-Philipp Müller [Tue, 14 Mar 2006 16:32:58 +0000 (16:32 +0000)]
gst/gstpipeline.c: Add 'Since: 0.10.5' to gtk-doc blurb for added property.
Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_class_init):
Add 'Since: 0.10.5' to gtk-doc blurb for added property.
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event):
Don't try to typefind empty streams.
Wim Taymans [Tue, 14 Mar 2006 11:18:07 +0000 (11:18 +0000)]
libs/gst/base/gstbasesink.c: Separate QoS calculation.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
(gst_base_sink_do_qos):
Separate QoS calculation.
Only drop buffers when lateness is bigger than the
duration of the buffer.
Wim Taymans [Mon, 13 Mar 2006 15:17:45 +0000 (15:17 +0000)]
gst/gstpipeline.c: Don't deadlock when reading properties.
Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_set_property),
(gst_pipeline_get_property), (do_pipeline_seek),
(gst_pipeline_change_state), (gst_pipeline_set_delay),
(gst_pipeline_get_delay):
Don't deadlock when reading properties.
Wim Taymans [Mon, 13 Mar 2006 11:27:57 +0000 (11:27 +0000)]
libs/gst/base/gstbasetransform.*: Make basetransform virtual method for src events too.
Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_class_init), (gst_base_transform_init),
(gst_base_transform_sink_event),
(gst_base_transform_sink_eventfunc),
(gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
(gst_base_transform_handle_buffer), (gst_base_transform_chain),
(gst_base_transform_set_property),
(gst_base_transform_get_property),
(gst_base_transform_change_state), (gst_base_transform_update_qos),
(gst_base_transform_set_qos_enabled),
(gst_base_transform_is_qos_enabled):
* libs/gst/base/gstbasetransform.h:
Make basetransform virtual method for src events too.
Handle QOS in basetransform.
API: gst_base_transform_update_qos
API: gst_base_transform_set_qos_enabled
API: gst_base_transform_is_qos_enabled
Wim Taymans [Mon, 13 Mar 2006 11:16:45 +0000 (11:16 +0000)]
libs/gst/base/gstbasesink.c: Small cleanups.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_init),
(gst_base_sink_do_sync):
Small cleanups.
Use QOS debug category.
Wim Taymans [Mon, 13 Mar 2006 11:11:16 +0000 (11:11 +0000)]
plugins/elements/gstqueue.c: Very small doc update.
Original commit message from CVS:
* plugins/elements/gstqueue.c:
Very small doc update.
Wim Taymans [Mon, 13 Mar 2006 11:08:28 +0000 (11:08 +0000)]
gst/: Added QOS debug category
Original commit message from CVS:
* gst/gst_private.h:
* gst/gstinfo.c: (_gst_debug_init):
Added QOS debug category
Wim Taymans [Mon, 13 Mar 2006 11:04:38 +0000 (11:04 +0000)]
Documentation updates.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
* gst/gstbin.h:
* gst/gstbus.c: (gst_bus_class_init):
* gst/gstbus.h:
* gst/gstclock.c:
* gst/gstelement.c: (gst_element_set_locked_state):
* gst/gstsegment.c:
Documentation updates.
* gst/gstpipeline.c: (gst_pipeline_get_type),
(gst_pipeline_class_init), (gst_pipeline_init),
(gst_pipeline_dispose), (gst_pipeline_set_property),
(gst_pipeline_get_property), (do_pipeline_seek),
(gst_pipeline_send_event), (gst_pipeline_change_state),
(gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
(gst_pipeline_get_delay):
* gst/gstpipeline.h:
Added methods for setting the delay.
API: gst_pipeline_set_delay
API: gst_pipeline_get_delay
Add pipeline debug category
Various cleanups.
Updated docs.
Don't reset stream time when seek failed.
Wim Taymans [Mon, 13 Mar 2006 10:32:26 +0000 (10:32 +0000)]
docs/design/: Documentation updates.
Original commit message from CVS:
* docs/design/draft-klass.txt:
* docs/design/part-clocks.txt:
* docs/design/part-events.txt:
* docs/design/part-gstbin.txt:
* docs/design/part-gstpipeline.txt:
* docs/design/part-messages.txt:
* docs/design/part-negotiation.txt:
* docs/design/part-overview.txt:
* docs/design/part-preroll.txt:
* docs/design/part-seeking.txt:
* docs/design/part-states.txt:
* docs/design/part-streams.txt:
Documentation updates.
Julien Moutte [Sun, 12 Mar 2006 20:44:46 +0000 (20:44 +0000)]
gst/gsttaglist.c: Fix rubbish docs that are encouraging us to leak strings...
Original commit message from CVS:
2006-03-12 Julien MOUTTE <julien@moutte.net>
* gst/gsttaglist.c: Fix rubbish docs that are encouraging
us to leak strings...
Thomas Vander Stichele [Sun, 12 Mar 2006 20:40:19 +0000 (20:40 +0000)]
libs/gst/net/gstnettimeprovider.c: fix docs
Original commit message from CVS:
* libs/gst/net/gstnettimeprovider.c:
fix docs
* win32/common/config.h:
update
Julio M. Merino Vidal [Sun, 12 Mar 2006 14:32:37 +0000 (14:32 +0000)]
configure.ac: Don't check for libgnomeui (leftover from old examples that aren't built or disted any longer) (#334303).
Original commit message from CVS:
Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
* configure.ac:
Don't check for libgnomeui (leftover from old examples
that aren't built or disted any longer) (#334303).
Tim-Philipp Müller [Sat, 11 Mar 2006 13:02:28 +0000 (13:02 +0000)]
plugins/elements/: Emit RESOURCE_NO_SPACE_LEFT error here as well when there's no space left on the device.
Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_render):
* plugins/elements/gstfilesink.c: (gst_file_sink_render):
Emit RESOURCE_NO_SPACE_LEFT error here as well when
there's no space left on the device.
Tim-Philipp Müller [Fri, 10 Mar 2006 23:44:00 +0000 (23:44 +0000)]
gst/gstclock.h: Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need to cast the input to GstClockTime before comp...
Original commit message from CVS:
* gst/gstclock.h:
Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
to cast the input to GstClockTime before comparing with
another GstClockTime value.
Thomas Vander Stichele [Fri, 10 Mar 2006 19:12:01 +0000 (19:12 +0000)]
log what we're waiting on
Original commit message from CVS:
log what we're waiting on
Thomas Vander Stichele [Fri, 10 Mar 2006 19:11:34 +0000 (19:11 +0000)]
back to head
Original commit message from CVS:
back to head
Thomas Vander Stichele [Fri, 10 Mar 2006 19:03:13 +0000 (19:03 +0000)]
releasing 0.10.4
Original commit message from CVS:
releasing 0.10.4
Michael Smith [Fri, 10 Mar 2006 15:30:27 +0000 (15:30 +0000)]
libs/gst/dataprotocol/dataprotocol.c: Fix docs for dataprocotol to not get the return types completely wrong for a fe...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
Fix docs for dataprocotol to not get the return types completely
wrong for a few functions.
Thomas Vander Stichele [Thu, 9 Mar 2006 19:00:21 +0000 (19:00 +0000)]
prereleasing
Original commit message from CVS:
prereleasing