Benjamin Otte [Wed, 3 Mar 2010 09:31:26 +0000 (10:31 +0100)]
Fixes -Wundef warnings
... and adds that flag to configure.ac
https://bugzilla.gnome.org/show_bug.cgi?id=611692
Benjamin Otte [Wed, 3 Mar 2010 09:31:05 +0000 (10:31 +0100)]
benchmarks: Remove unneeded g_thread_exit()
https://bugzilla.gnome.org/show_bug.cgi?id=611692
Benjamin Otte [Wed, 3 Mar 2010 09:26:14 +0000 (10:26 +0100)]
Fixes for -Wold-style-definition
https://bugzilla.gnome.org/show_bug.cgi?id=611692
Benjamin Otte [Tue, 2 Mar 2010 22:51:18 +0000 (23:51 +0100)]
Make code safe for -Wredundant-decls
Adds that warning to configure.ac
Includes a tiny change of the GST_BOILERPLATE_FULL() macro:
The get_type() function is no longer declared before being defined.
https://bugzilla.gnome.org/show_bug.cgi?id=611692
Benjamin Otte [Wed, 3 Mar 2010 09:00:41 +0000 (10:00 +0100)]
Make sure generated code doesn't run with -Werror
https://bugzilla.gnome.org/show_bug.cgi?id=611692
Benjamin Otte [Wed, 10 Mar 2010 16:03:29 +0000 (17:03 +0100)]
Update to common/ changes to ERROR_CFLAGS
Benjamin Otte [Wed, 10 Mar 2010 18:17:42 +0000 (19:17 +0100)]
Revert "registry: remove unused function"
Turns out the function is not unused, but was in an #ifdef WIN32
section.
Whoops.
This reverts commit
57d5db424c68ab5a61f33ce36ce0179eb30251ac.
Benjamin Otte [Wed, 10 Mar 2010 15:09:33 +0000 (16:09 +0100)]
Automatic update of common submodule
From 7cc5eb4 to 0b6e072
Benjamin Otte [Tue, 2 Mar 2010 20:07:33 +0000 (21:07 +0100)]
registry: remove unused function
Actually, there was two functions with the same name, but only one was
used.
https://bugzilla.gnome.org/show_bug.cgi?id=611692
Benjamin Otte [Tue, 2 Mar 2010 15:20:15 +0000 (16:20 +0100)]
remove unused gst_element_default_error()
https://bugzilla.gnome.org/show_bug.cgi?id=611692
Jeremy Huddleston [Wed, 10 Mar 2010 07:15:15 +0000 (07:15 +0000)]
utils: Use mulq instead of mul as some assemblers can't guess the size of the operands
Fixes bug #612370.
Tim-Philipp Müller [Wed, 10 Mar 2010 01:09:11 +0000 (01:09 +0000)]
Automatic update of common submodule
From 7aa65b5 to 7cc5eb4
Sebastian Dröge [Tue, 9 Mar 2010 21:20:27 +0000 (21:20 +0000)]
Automatic update of common submodule
From 44ecce7 to 7aa65b5
Sebastian Dröge [Fri, 26 Feb 2010 15:03:47 +0000 (16:03 +0100)]
build: Make some more rules silent if requested
Sebastian Dröge [Fri, 26 Feb 2010 14:32:14 +0000 (15:32 +0100)]
configure: Use automake 1.11 silent rules instead of shave if available
This makes sure that we use something that is still maintained and
also brings back libtool 1.5 support.
Sebastian Dröge [Mon, 22 Feb 2010 15:25:45 +0000 (16:25 +0100)]
lfocontrolsource: Optimize get_value_array()
Don't convert from GValue to the actual type for every single
value.
Sebastian Dröge [Mon, 22 Feb 2010 14:18:41 +0000 (15:18 +0100)]
interpolationcontrolsource: Optimize get_value_array()
This makes it >10x faster if more than a single value is requested
by not searching in the GSequence for every value and converting
the value from GValue to the real value type.
Sebastian Dröge [Sun, 21 Feb 2010 16:36:55 +0000 (17:36 +0100)]
controller: Add benchmark for getting a value array of the control points
Benjamin Otte [Mon, 8 Mar 2010 22:28:04 +0000 (23:28 +0100)]
Fix typos in documentation
Benjamin Otte [Mon, 8 Mar 2010 22:04:26 +0000 (23:04 +0100)]
caps: Fail when fractions are followed by random text
Previous code treated "1/1yourmom" the same as "1/1" and "1wimsmom" the
same as "1". Now the code is stricter and will fail to convert a
fraction when followed by garbage text.
Tim-Philipp Müller [Tue, 9 Mar 2010 17:32:39 +0000 (17:32 +0000)]
Back to development
Tim-Philipp Müller [Mon, 8 Mar 2010 23:09:01 +0000 (23:09 +0000)]
Release 0.10.28
Tim-Philipp Müller [Mon, 8 Mar 2010 23:06:48 +0000 (23:06 +0000)]
Update .po files
Benjamin Otte [Mon, 8 Mar 2010 21:05:29 +0000 (22:05 +0100)]
caps: Allow 1/max as the minimal fraction value > 0
This is useful for formats that require a valid framerate (like
theoraenc).
Wim Taymans [Thu, 4 Mar 2010 14:21:37 +0000 (15:21 +0100)]
element: fix typo in comments
Tim-Philipp Müller [Fri, 5 Mar 2010 23:43:26 +0000 (23:43 +0000)]
Release 0.10.27
Tim-Philipp Müller [Fri, 5 Mar 2010 23:41:09 +0000 (23:41 +0000)]
Update .po files
Tim-Philipp Müller [Thu, 4 Mar 2010 18:39:02 +0000 (18:39 +0000)]
gstpoll: don't pass non-objects as first argument to GST_DEBUG_OBJECT()
This may cause crashes when logging is enabled, especially on windows.
It's not safe to pass random pointers to g_type_check_instance_is_a().
Fixes #611719.
Tim-Philipp Müller [Wed, 3 Mar 2010 19:54:50 +0000 (19:54 +0000)]
0.10.26.4 pre-release
Tim-Philipp Müller [Wed, 3 Mar 2010 19:49:34 +0000 (19:49 +0000)]
po: update translations
Tim-Philipp Müller [Wed, 3 Mar 2010 12:06:30 +0000 (12:06 +0000)]
docs: fix up bytewriter doc chunks for float functions as well
Tim-Philipp Müller [Wed, 3 Mar 2010 11:28:27 +0000 (11:28 +0000)]
bytewriter: fix headers for float/double writing functions
The functions are called gst_byte_writer_put_{float32|float64}_*() and not
gst_byte_writer_put_{float|double}_*().
Spotted by: Benjamin Otte <otte@redhat.com>
Tim-Philipp Müller [Mon, 1 Mar 2010 12:02:44 +0000 (12:02 +0000)]
tags: try to make comment for translators more helpful
Mark Nauwelaerts [Fri, 26 Feb 2010 14:46:50 +0000 (15:46 +0100)]
basesink: fix emergency rendering timestamp tracking
Specifically, if all (including initial) buffers turn up late,
emergency rendering should also kick in appropriately.
Fixes #611087.
Tim-Philipp Müller [Wed, 24 Feb 2010 00:30:02 +0000 (00:30 +0000)]
0.10.26.3 pre-release
Tim-Philipp Müller [Wed, 24 Feb 2010 00:29:25 +0000 (00:29 +0000)]
po: update translations
Sebastian Dröge [Fri, 19 Feb 2010 12:26:01 +0000 (13:26 +0100)]
interpolationcontrolsource: Don't pass NULL pointers to GSequence API
This causes assertion failures. Fixes bug #610444.
Sebastian Dröge [Fri, 19 Feb 2010 12:20:36 +0000 (13:20 +0100)]
interpolationcontrolsource: Add const qualifiers to values in the _set functions
The values are not modified and are copied, a const before the parameter
should make this even more obvious.
Sebastian Dröge [Thu, 18 Feb 2010 08:17:06 +0000 (09:17 +0100)]
controller: Add some FIXME 0.11 comments
Sebastian Dröge [Wed, 17 Feb 2010 09:04:54 +0000 (10:04 +0100)]
corelements: Combine redundant code
Andoni Morales Alastruey [Wed, 17 Feb 2010 00:27:22 +0000 (01:27 +0100)]
Fix compilation of fdsink and fdsrc with MSVC
Tim-Philipp Müller [Thu, 18 Feb 2010 14:58:52 +0000 (14:58 +0000)]
0.10.26.2 pre-release
Tim-Philipp Müller [Thu, 18 Feb 2010 13:12:39 +0000 (13:12 +0000)]
.gitignore: ignore some more temporary docs cruft
Tim-Philipp Müller [Thu, 18 Feb 2010 13:09:17 +0000 (13:09 +0000)]
build: fix indenting in win32-update target
No idea why we need to run gst-indent twice on that file, but it
only seems to settle on a final format with minimal diff to the
one in git after two runs.
Tim-Philipp Müller [Thu, 18 Feb 2010 13:08:32 +0000 (13:08 +0000)]
gstcheck: more debug logging for gst_check_element_push_buffer_list()
Thiago Santos [Thu, 18 Feb 2010 14:52:28 +0000 (11:52 -0300)]
collectpads: Improve docs about 'data' attribute
Adds a reminder to 'data' attribute doc
Fixes #610366
Mark Nauwelaerts [Thu, 18 Feb 2010 16:15:35 +0000 (17:15 +0100)]
memindex: avoid busy loop when doing EXACT lookup
Fixes #610367.
Johan Bilien [Tue, 22 Dec 2009 03:09:10 +0000 (11:09 +0800)]
introspection: add annotation for gst_element_get_state
state and pending are "out" arguments.
Fixes #605189.
Edward Hervey [Wed, 17 Feb 2010 11:16:37 +0000 (12:16 +0100)]
filesrc: Don't use expensive cast checks in _create
_create() is a pad function set by ourselves, therefore we're sure basesrc
is a GstFileSrc.
Speeds up _create() by 17% and the total call by 8% (instruction calls measurements
done with valgrind).
Fixes #610246
Edward Hervey [Wed, 17 Feb 2010 11:14:09 +0000 (12:14 +0100)]
basesrc: Don't use expensive cast checks in get_range.
_get_range() is a pad function set by ourselves, therefore we're certain that
the parent is a GstBaseSrc.
Speeds up _get_range by 38%, and the total call by 30%. (valgrind instruction
calls measurements).
Fixes #610246
Stefan Kost [Wed, 17 Feb 2010 09:31:07 +0000 (11:31 +0200)]
fdsrc: cleanup parameter initialisation and add comemnt+logging
Initialize new_fd with DEFAULT_FD and fd with -1. Setting the property will set
new_fd and in _update_fd() we cehck fd against -1. Also add a coment about the
warning we get in the log from gst_poll_remove_fd(). We could get rid of the
warning if we want by tracking if fd has been added to fdset.
Stefan Kost [Wed, 17 Feb 2010 07:55:52 +0000 (09:55 +0200)]
design: write about the current state of tag-handling
Document the taghandling in gstreamer. List gaps and propose new mechanisms to
deal with them.
Stefan Kost [Tue, 16 Feb 2010 08:27:18 +0000 (10:27 +0200)]
taglist: remove blank lines in variable declarations
Tim-Philipp Müller [Tue, 16 Feb 2010 11:30:35 +0000 (11:30 +0000)]
tools: call g_set_prgname() before doing the option parsing
g_setprgname is implicitly called by g_option_context_new() with a check
to see if it's been set already, so set it before g_option_context_new()
Move version printing back until after the options have been parsed,
otherwise it won't work, since it evaluates a flag set by the
option parser.
Tim-Philipp Müller [Tue, 16 Feb 2010 11:24:33 +0000 (11:24 +0000)]
Revert "tools: Move gst_tools_print_version call to avoid warning from new GLib."
This reverts commit
93dd95f02ef3fa530f54ce81e8ffba96f3b679cb.
This commit made --version not work any longer. The g_setprgname()
warning is fixed in recent GLib versions.
Tim-Philipp Müller [Tue, 16 Feb 2010 08:26:59 +0000 (08:26 +0000)]
build: make sure gst-plugin-scanner gets installed where we expect it
Add check to make sure gst-plugin-scanner really gets installed where
we will look for it later, ie. paths and prefixes are set at configure
time and not specified via make.
Fixes #609941.
Stefan Kost [Mon, 15 Feb 2010 21:02:59 +0000 (23:02 +0200)]
docs: prefer short desc from GstElementDetails
Tim-Philipp Müller [Mon, 15 Feb 2010 01:24:25 +0000 (01:24 +0000)]
docs: fix gtk-doc chunk for gst_check_element_push_buffer_list()
Tim-Philipp Müller [Mon, 15 Feb 2010 00:31:16 +0000 (00:31 +0000)]
po: update po files for new comments
Tim-Philipp Müller [Mon, 15 Feb 2010 00:29:37 +0000 (00:29 +0000)]
tags: wrap long string constants
And fix indenting issue
Tim-Philipp Müller [Mon, 15 Feb 2010 00:21:43 +0000 (00:21 +0000)]
tags: add some comments for translators so tag mnemonics get translated correctly
We want 'preview image' translated as a noun, not as 'preview [the] image'.
Tim-Philipp Müller [Thu, 4 Feb 2010 17:43:32 +0000 (17:43 +0000)]
pad: don't print WARN debug statements for normal things like EOS
Sebastian Dröge [Sun, 14 Feb 2010 22:15:45 +0000 (23:15 +0100)]
Automatic update of common submodule
From 96dc793 to 44ecce7
Edward Hervey [Sat, 13 Feb 2010 14:18:05 +0000 (15:18 +0100)]
typefind: Reset the working mode when going to READY/NULL
This allows properly re-using typefind (else it would think it's
already done the typefinding when being re-used with another
stream).
Thiago Santos [Fri, 22 Jan 2010 14:38:59 +0000 (11:38 -0300)]
bytewriter: Adds a test for _fill
Thiago Santos [Fri, 22 Jan 2010 12:19:31 +0000 (09:19 -0300)]
bytewriter: add _fill function
Adds a new function to GstByteWriter that writes
a constant value to a memory area (aka memset).
Useful for adding padding to buffers.
Also updates .def file and docs.
API: gst_byte_writer_fill()
Thiago Santos [Thu, 28 Jan 2010 14:57:33 +0000 (11:57 -0300)]
typefind: Avoid messing pads activation
Typefind might mess up pads modes (pull/push) if a
downstream element is plugged and its pads activated
in 'step 2' of typefind pads activation.
This happens because the following steps don't check
if we already emitted typefound due to upstream setting
caps on buffers being pulled in the typefind helpers.
Avoid that by checking if typefound is already emmited.
Fixes #608036
Sebastian Dröge [Fri, 12 Feb 2010 13:49:52 +0000 (14:49 +0100)]
basesrc: Make locking of the segment a bit more strict and update documentation
Updating the segment values must only be done while holding the
STREAM_LOCK and OBJECT_LOCK. This means, reading can be done as
long as one of them is held, not both, which removes some lock-unlock
blocks from performance critical code paths.
Also document, that gst_base_src_set_format() *must* be called in
states <= READY and add an assertion for this. Changing the format
later will completely mess up the segment information.
Arun Raghavan [Mon, 8 Feb 2010 03:42:01 +0000 (09:12 +0530)]
pwg: several typo fixes
Fixes #609286.
Sebastian Dröge [Tue, 9 Feb 2010 16:52:13 +0000 (17:52 +0100)]
basesrc: Protect segment values from concurrent access from different threads
This could happen easily in the query functions or when the size is set
on appsrc from some non-streaming thread.
Sebastian Dröge [Thu, 4 Feb 2010 20:11:25 +0000 (21:11 +0100)]
typefindelement: Protect internal fields from concurrent changes from different threads
Fixes bug #608877.
Tim-Philipp Müller [Thu, 11 Feb 2010 20:14:59 +0000 (20:14 +0000)]
gst-launch: don't leak timeout GSource
Tim-Philipp Müller [Thu, 11 Feb 2010 00:18:39 +0000 (00:18 +0000)]
docs: flesh out release doc some more
Tim-Philipp Müller [Thu, 11 Feb 2010 01:10:38 +0000 (01:10 +0000)]
Update MAINTAINERS, add myself
Tim-Philipp Müller [Thu, 11 Feb 2010 19:49:00 +0000 (19:49 +0000)]
configure: back to development
Slushy freeze remains in effect.
Tim-Philipp Müller [Wed, 10 Feb 2010 19:17:28 +0000 (19:17 +0000)]
Release 0.10.26
Tim-Philipp Müller [Wed, 10 Feb 2010 15:32:06 +0000 (15:32 +0000)]
Update .po files
Tim-Philipp Müller [Tue, 9 Feb 2010 15:52:23 +0000 (15:52 +0000)]
configure: define GST_PLUGIN_SCANNER_INSTALLED in win32 config.h
Even if it's not used, it still needs to be defined for things to
compile.
Tim-Philipp Müller [Tue, 9 Feb 2010 10:19:04 +0000 (10:19 +0000)]
gst_private: MSVC doesn't seem to like #warning
Visual Studio complains about "invalid preprocessor command 'warning'"
even if the ifdef doesn't trigger, so just remove this again.
Edward Hervey [Wed, 10 Feb 2010 13:40:17 +0000 (14:40 +0100)]
tests: Fix multiqueue test for latest commits.
The problem lies in the fact that multiqueue will now operate somewhat
similarly to the flow aggregation logic of demuxers and therefore
will stopp whenever all downstream pads return NOT_LINKED and/or
UNEXPECTED and there's no more buffers to push.
The latest commits should not affect any regular use-case, but the bug
report will be kept open so the previous behaviour can be re-established
if needed.
Fixes #609486
Edward Hervey [Tue, 9 Feb 2010 14:51:18 +0000 (15:51 +0100)]
multiqueue: Don't stop threads on UNEXPECTED and forward flow returns.
When a downstream element returns GST_FLOW_UNEXPECTED we want to:
* let the dataqueue task running
* forward the flow return upstream.
This allows upstream elements to push EOS, and have that EOS event come
downstream.
Fixes #609274
Edward Hervey [Tue, 9 Feb 2010 12:35:08 +0000 (13:35 +0100)]
Revert "multiqueue: handle UNEXPECTED flowreturn better"
This reverts commit
fbdf4dcedad8692f1e3d8838551188987e462e74.
Partly fixes #609274
Robert Swain [Thu, 28 Jan 2010 06:27:49 +0000 (07:27 +0100)]
git-update.sh: Fix issues
Tim-Philipp Müller [Sun, 7 Feb 2010 08:59:25 +0000 (09:59 +0100)]
Revert "docs: fix ASCII art so that iterators are aligned property to the diagram"
This reverts commit
ae60d06e9e401d1ed4de5ef25b5c283db0696a31 (fixes: #609166)
Tim-Philipp Müller [Thu, 4 Feb 2010 18:30:56 +0000 (18:30 +0000)]
0.10.25.3 pre-release
Tim-Philipp Müller [Thu, 4 Feb 2010 17:45:46 +0000 (17:45 +0000)]
po: translation updates
Tim-Philipp Müller [Mon, 1 Feb 2010 12:50:40 +0000 (12:50 +0000)]
docs: fix ASCII art so that iterators are aligned property to the diagram
Thiago Santos [Mon, 1 Feb 2010 20:40:08 +0000 (17:40 -0300)]
gstbytewriter: Fix different function names in .h and .c
gst_byte_writer_reset_and_get_buffer wasn't declared
in .h, instead there was _reset_and_get_data_as_buffer.
Replace it with the real function name, that is smaller
and matches gst_byte_writer_free_and_get_buffer
https://bugzilla.gnome.org/show_bug.cgi?id=608726
Tim-Philipp Müller [Sun, 31 Jan 2010 17:30:54 +0000 (17:30 +0000)]
docs: add some more Since: markers to buffer list docs
Tim-Philipp Müller [Sat, 30 Jan 2010 18:57:44 +0000 (18:57 +0000)]
filesrc: fix typo in warning message
Spotted by bsreerenj@gmail.com.
Fixes #608442.
Tim-Philipp Müller [Sat, 30 Jan 2010 15:17:48 +0000 (15:17 +0000)]
Automatic update of common submodule
From 15d47a6 to 96dc793
Tim-Philipp Müller [Sat, 30 Jan 2010 13:45:58 +0000 (13:45 +0000)]
init: don't spew warning about late g_thread_init()s if GLib >= 2.23.2
Late g_thread_init() is fine with newer GLib versions and done automatically
from g_type_init() there, so don't warn if the application hasn't called
g_thread_init() yet when gst_init() is called with new GLib versions.
Fixes #608398.
Tim-Philipp Müller [Fri, 29 Jan 2010 09:41:30 +0000 (09:41 +0000)]
pkgconfig: don't put -DG_THREADS_MANDATORY into our pkg-config CFLAGS
If we force -DG_THREADS_MANDATORY onto apps, then g_thread_supported()
will always evaluate to TRUE, so the typical thread initialisation
boilerplate code if (!g_thread_supported()) g_thread_init(NULL); will
no longer work, and the threading system not be initialised and us
printing a warning in gst_init. This may be fine in most cases, since
late initialisation is allowed and automatically done in g_type_init()
since GLib 2.23.2, but let's be cautious and only use this define when
compiling GStreamer itself.
See #608398.
Wim Taymans [Thu, 28 Jan 2010 14:55:27 +0000 (15:55 +0100)]
pipeline: Take start_time after chaining up too
Refactor the code to take the current start_time when going to PAUSED.
Make sure we also call the start_time update code after we chained up to the
parent bin.
Fixes #607842
Tim-Philipp Müller [Tue, 26 Jan 2010 18:59:50 +0000 (18:59 +0000)]
0.10.25.2 pre-release
Tim-Philipp Müller [Wed, 27 Jan 2010 00:23:07 +0000 (00:23 +0000)]
checks: fix spurious ghost pad check failure
Tim-Philipp Müller [Tue, 26 Jan 2010 19:35:52 +0000 (19:35 +0000)]
win32: update windows headers to latest version
Tim-Philipp Müller [Tue, 26 Jan 2010 19:32:48 +0000 (19:32 +0000)]
docs: minor update to release notes
Tim-Philipp Müller [Tue, 26 Jan 2010 18:45:38 +0000 (18:45 +0000)]
po: update translation files
Tim-Philipp Müller [Tue, 26 Jan 2010 18:39:45 +0000 (18:39 +0000)]
tests: fix warning in rtpool-test
The stream status message object may be of a non-GObject type, e.g.
G_TYPE_POINTER (see GstAudioSrc), so print that properly instead
of assuming the value holds an object.