Sebastian Dröge [Mon, 26 Mar 2012 07:13:20 +0000 (09:13 +0200)]
playback-test: Make grid children sizes non homogeneous
This only takes space for no good reason and doesn't even look good.
Sebastian Dröge [Mon, 26 Mar 2012 07:11:49 +0000 (09:11 +0200)]
playback-test: Rename advanced playback to advanced seeking
It's about seeking, not general playback.
Tim-Philipp Müller [Sun, 25 Mar 2012 12:35:23 +0000 (13:35 +0100)]
test: fix leak in video overlay composition unit test
gst_buffer_set_qdata() will leak the structure passed to it
when called incorrectly (e.g. on a non-metadata-writable buffer).
This is expected, but we must avoid doing that in valgrind.
Tim-Philipp Müller [Sun, 25 Mar 2012 00:31:41 +0000 (00:31 +0000)]
video: overlay-composition: blending micro-optimisation
Tim-Philipp Müller [Sun, 25 Mar 2012 00:22:29 +0000 (00:22 +0000)]
video: overlay-composition: try to avoid floating point maths in inner loop
Try to avoid floating point maths for each pixel to be blended in
inner loop, and try to avoid the multiplication entirely for the
most common case of the global alpha being 1. Could probably be
refactored a bit more.
Tim-Philipp Müller [Sat, 24 Mar 2012 19:47:10 +0000 (19:47 +0000)]
video: overlay-composition: some minor clean-ups
extract_alpha and apply_global alpha always return TRUE really,
so just do away with the return value. Convert a g_return_if_fail()
into a g_assert(), since this is only to check internal consistency
and not a guard for public API. Add some locking.
https://bugzilla.gnome.org/show_bug.cgi?id=668483
Holger Kaelberer [Sat, 24 Mar 2012 19:38:26 +0000 (19:38 +0000)]
tests: add unit test for video overlay composition global alpha support
https://bugzilla.gnome.org/show_bug.cgi?id=668483
Holger Kaelberer [Sat, 24 Mar 2012 19:31:29 +0000 (19:31 +0000)]
video: overlay-composition: add support for global alpha multiplicator
https://bugzilla.gnome.org/show_bug.cgi?id=668483
Tim-Philipp Müller [Sat, 24 Mar 2012 00:17:33 +0000 (00:17 +0000)]
riff: map ISBJ tag to GST_TAG_ALBUM_ARTIST
http://www.bass.radio42.com/help/html/
7e1a8908-88bd-d54b-77d7-
f0d08466284c.htm
Sebastian Dröge [Fri, 23 Mar 2012 10:07:49 +0000 (11:07 +0100)]
playsink: Fix subtitle rendering if there's no video, no visualizations but a text-sink
Tim-Philipp Müller [Sun, 18 Mar 2012 22:56:58 +0000 (22:56 +0000)]
riff: map IPRD ("product") tag to GST_TAG_ALBUM
http://www.bass.radio42.com/help/html/
7e1a8908-88bd-d54b-77d7-
f0d08466284c.htm
https://bugzilla.gnome.org/show_bug.cgi?id=670286
Vincent Penquerc'h [Thu, 15 Mar 2012 12:59:38 +0000 (12:59 +0000)]
playsink: send navigation event to the sink as a fallback
When the video sink is a fakesink, which does not implement the
navigation interface, playsink will drop the navigation command.
In this case, send to the video sink as a fallback. It breaks
the interface abstraction, but is better than just dropping the
navigation event.
Tim-Philipp Müller [Wed, 14 Mar 2012 17:59:31 +0000 (17:59 +0000)]
tests: add unit test for premultiplied alpha handling of video overlay rectangles
https://bugzilla.gnome.org/show_bug.cgi?id=668483
Tim-Philipp Müller [Wed, 14 Mar 2012 17:46:23 +0000 (17:46 +0000)]
video: overlay-composition: fix alpha premultiply and unpremultiply
Fix component offsets for little endian systems.
https://bugzilla.gnome.org/show_bug.cgi?id=668483
Holger Kaelberer [Wed, 14 Mar 2012 17:28:57 +0000 (17:28 +0000)]
video: overlay-composition: fix rectangle caching after alpha (un)premultiplying
If we are asked to (un)premultiply,we need to create the new rectangle
with the right flags, so we can find it properly on subsequent cache
lookups (also because it's wrong otherwise).
https://bugzilla.gnome.org/show_bug.cgi?id=668483
Holger Kaelberer [Wed, 14 Mar 2012 17:18:47 +0000 (17:18 +0000)]
video: overlay-composition: fix crash when doing premultiplied<->unpremultiplied alpha conversion
We need to copy the pixels before messing with them, not least
because the buffer creation code below assumes it's ok to take
ownership.
Fixes crash caused by double-free.
https://bugzilla.gnome.org/show_bug.cgi?id=668483
Holger Kaelberer [Wed, 14 Mar 2012 16:42:24 +0000 (16:42 +0000)]
video: overlay-composition: check the right flags when searching for a cached rectangle
Compare the flags of the *cached* rectangle to the desired flags when
checking for a suitable rectangle in the cache.
https://bugzilla.gnome.org/show_bug.cgi?id=668483
Tim-Philipp Müller [Wed, 14 Mar 2012 15:31:45 +0000 (15:31 +0000)]
tests: remove ASSERT_CRITICAL disablement in overlay composition unit test
No idea why that was there.
Mark Nauwelaerts [Wed, 14 Mar 2012 10:04:25 +0000 (11:04 +0100)]
playsink: remove circular ref between bin and internal pad
... by not assigning an additional ref to an async blocked callback,
which should not be called anyway by the time the object is gone.
Fixes #672006.
Peter Korsgaard [Wed, 25 Jan 2012 22:53:04 +0000 (23:53 +0100)]
vorbisdec: support modern Tremor versions
Tremor changed to use standard libogg rather than its own incompatible
copy back in Aug 2010 (r17375), causing gst-plugin-base build to fail.
Tremolo so far unfortunately hasn't been updated. Restructure
vorbisdeclib.h so the int/float logic is seperate from the ogg handling,
and only use the legacy _ogg_packet_wrapper code for Tremolo.
https://bugzilla.gnome.org/show_bug.cgi?id=668726
Mark Nauwelaerts [Tue, 13 Mar 2012 14:24:38 +0000 (15:24 +0100)]
playsink: provide fresh copy for gst_caps_merge
... since it is documented to modify provided caps.
Tim-Philipp Müller [Mon, 12 Mar 2012 23:29:26 +0000 (23:29 +0000)]
configure: bump AS_LIBTOOL version
API was added in libgsttag, libgstaudio and libgstvideo
Tim-Philipp Müller [Mon, 12 Mar 2012 23:28:12 +0000 (23:28 +0000)]
configure: backport AS_LIBTOOL version from 0.10.36 release
Should fix issues with missing symbols for people who install GStreamer
from source and at some point jumped back and forth between git master
and the 0.10.36 release (or 0.10. branch).
Tim-Philipp Müller [Fri, 9 Mar 2012 20:54:00 +0000 (20:54 +0000)]
riff: extract track number and album artist tags from INFO chunks
https://bugzilla.gnome.org/show_bug.cgi?id=670286
Tim-Philipp Müller [Fri, 9 Mar 2012 20:53:27 +0000 (20:53 +0000)]
riff: when reading tags from INFO chunk, accept lower-case IDs as well
Tim-Philipp Müller [Fri, 9 Mar 2012 16:56:00 +0000 (16:56 +0000)]
configure: fix AC_LANG_SOURCE-related warnings when doing autogen.sh
Tim-Philipp Müller [Fri, 9 Mar 2012 15:41:30 +0000 (15:41 +0000)]
.gitignore: add new playback-test binary
Mark Nauwelaerts [Fri, 9 Mar 2012 13:16:03 +0000 (14:16 +0100)]
playbin2: do not take a superfluous ref on uridecodebin instances
... which are no longer FLOATING.
Mark Nauwelaerts [Fri, 9 Mar 2012 13:15:44 +0000 (14:15 +0100)]
uridecodebin: restore FLOATING flag when reusing decodebin instance
... which avoids leaking these due to an extra ref later on.
Sebastian Dröge [Fri, 9 Mar 2012 09:54:48 +0000 (10:54 +0100)]
audio{en,de}coder: Add optional open/close vfuncs
This can be used to do something in NULL->READY, like checking
if a hardware codec is actually available and to error out early.
Mark Nauwelaerts [Thu, 8 Mar 2012 16:55:37 +0000 (17:55 +0100)]
playsink: audio convert bin need not be unconditionally present
... so avoid NULL manipulation when setting up chain again
(e.g. after having partially gone down to READY in native audio flag
configuration).
Mark Nauwelaerts [Thu, 8 Mar 2012 14:17:40 +0000 (15:17 +0100)]
playsink: plug element leak
Edward Hervey [Thu, 8 Mar 2012 14:24:19 +0000 (15:24 +0100)]
check: Disable another lanczos videoscale test
Segfaults hard
Tim-Philipp Müller [Wed, 7 Mar 2012 12:45:46 +0000 (12:45 +0000)]
Revert "ogg: Fix handling of unset granuleshift for the skeleton parser"
This reverts commit
7418ddd753608a5fb134afeb25d7bb4e5ddc38ec.
This breaks the unit test and messes up preroll/seeking.
Tim-Philipp Müller [Wed, 7 Mar 2012 12:39:41 +0000 (12:39 +0000)]
common: update common module
For new check-norepeat target.
Edward Hervey [Wed, 7 Mar 2012 08:04:18 +0000 (09:04 +0100)]
win32: update defs for new libgstaudio symbol
Mark Nauwelaerts [Tue, 6 Mar 2012 14:57:21 +0000 (15:57 +0100)]
vorbisdec: simplify tag handling using base class helper
Mark Nauwelaerts [Tue, 6 Mar 2012 14:56:42 +0000 (15:56 +0100)]
audiodecoder: add some tag handling convenience help
Mark Nauwelaerts [Tue, 6 Mar 2012 14:55:26 +0000 (15:55 +0100)]
audiodecoder: add baseclass _CAST macro
Sebastian Dröge [Tue, 6 Mar 2012 12:11:16 +0000 (13:11 +0100)]
pango: Fix 'implicit conversion from enumeration type 'GstTextOverlayLineAlign' to different enumeration type 'PangoAlignment'' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 12:09:05 +0000 (13:09 +0100)]
ogg: Fix handling of unset granuleshift for the skeleton parser
And also add a helper function to properly clear/reset/free the
GstOggStream structures.
Sebastian Dröge [Tue, 6 Mar 2012 11:47:33 +0000 (12:47 +0100)]
xvimagesink: Fix 'comparison of unsigned expression >= 0 is always true'
-1 aka 0xffffffff is the only possible 'negative' value that is used
as a special value for 'not set' here. All other positive values are
valid.
Sebastian Dröge [Tue, 6 Mar 2012 11:42:03 +0000 (12:42 +0100)]
video-blend: Actually allow negative offsets in the function signature too
Sebastian Dröge [Tue, 6 Mar 2012 11:40:36 +0000 (12:40 +0100)]
pbutils: Fix 'comparison of unsigned enum expression < 0 is always false' compiler warning
Stefan Sauer [Mon, 5 Mar 2012 13:19:24 +0000 (14:19 +0100)]
docs: make videooverlaycomposition types show up in the docs
Sebastian Dröge [Mon, 5 Mar 2012 14:23:20 +0000 (15:23 +0100)]
playsink: Chain up to the parent's GstBin::handle_message() for non-prepare-xoverlay element messages
Oleksij Rempel (Alexey Fisher) [Mon, 5 Mar 2012 10:09:12 +0000 (11:09 +0100)]
xvimagesink: don't use deprecated XKeycodeToKeysym
https://bugzilla.gnome.org/show_bug.cgi?id=671299
Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
Oleksij Rempel (Alexey Fisher) [Mon, 5 Mar 2012 10:07:39 +0000 (11:07 +0100)]
ximagesink: don't use deprecated XKeycodeToKeysym
https://bugzilla.gnome.org/show_bug.cgi?id=671299
Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
Mark Nauwelaerts [Mon, 5 Mar 2012 09:59:00 +0000 (10:59 +0100)]
audiodecoder: enhance some debug statement
Oleksij Rempel (Alexey Fisher) [Sun, 4 Mar 2012 09:28:49 +0000 (10:28 +0100)]
pango: don't use deprecated pango_cairo_font_map_create_context()
https://bugzilla.gnome.org/show_bug.cgi?id=671300
Tim-Philipp Müller [Sat, 3 Mar 2012 13:51:55 +0000 (13:51 +0000)]
tests: add test to check discoverer return code for missing plugins case
https://bugzilla.gnome.org/show_bug.cgi?id=671047
Jonathan Matthew [Wed, 29 Feb 2012 11:25:24 +0000 (21:25 +1000)]
discoverer: don't change result for missing plugin errors
https://bugzilla.gnome.org/show_bug.cgi?id=671047
Sebastian Dröge [Fri, 2 Mar 2012 11:06:53 +0000 (12:06 +0100)]
playback: Only requires GTK, not GTK-X11
Sebastian Dröge [Fri, 2 Mar 2012 11:01:37 +0000 (12:01 +0100)]
playback-test: Rename everything from seek to playback-test internally too
Sebastian Dröge [Fri, 2 Mar 2012 10:58:30 +0000 (11:58 +0100)]
playback: Rename file from seek.c to playback-test.c
Sebastian Dröge [Fri, 2 Mar 2012 10:57:34 +0000 (11:57 +0100)]
examples: Move seek example into its own directory
Sebastian Dröge [Thu, 1 Mar 2012 12:24:45 +0000 (13:24 +0100)]
seek: Add support for setting a subtitle URI
Sebastian Dröge [Thu, 1 Mar 2012 11:52:21 +0000 (12:52 +0100)]
seek: Add support for changing the remaining playbin2 properties
Including video/audio/text sinks.
Sebastian Dröge [Thu, 1 Mar 2012 09:45:51 +0000 (10:45 +0100)]
seek: Add advanced seek ability
This allows to seek to a specific value in a specific format and
also lists the current position and duration in a specific format.
Sebastian Dröge [Thu, 1 Mar 2012 08:46:45 +0000 (09:46 +0100)]
seek: Some more variable moving
Sebastian Dröge [Fri, 24 Feb 2012 12:54:47 +0000 (13:54 +0100)]
seek: Move seek flags/settings into its own expander
Stefan Sauer [Wed, 29 Feb 2012 20:54:49 +0000 (21:54 +0100)]
adder: drop newsegment events on sink-pads
Adder is sending an own newsegment event on the src pad.
Stefan Sauer [Wed, 29 Feb 2012 20:39:44 +0000 (21:39 +0100)]
test: improve adder test on event handling
Use new consitency checker api to test event handling in more detail.
Stefan Sauer [Mon, 27 Feb 2012 10:57:55 +0000 (11:57 +0100)]
adder: sink event handling fix
Turn _sink_event() into the collectpads event function and merge the logic from
the recently added gst_adder_event. Drop flush_start events as we allready
handle them on the src-pad side. Fixes #670850.
Edward Hervey [Mon, 27 Feb 2012 13:28:15 +0000 (14:28 +0100)]
Suppress deprecation warnings in selected files, for g_value_array_* mostly
Stefan Sauer [Mon, 27 Feb 2012 08:58:18 +0000 (09:58 +0100)]
adder: include event name in log message
Tim-Philipp Müller [Sun, 26 Feb 2012 23:35:06 +0000 (23:35 +0000)]
tests: add some videoscale tests for new Lanczos-based method
Some crash. Others show invalid memory access in valgrind.
Tim-Philipp Müller [Sun, 26 Feb 2012 18:19:57 +0000 (18:19 +0000)]
videoscale: fix negotiation after addition of new formats and methods
Now that we no longer support all methods for all formats, we
need to cater for that in the transform function: we can't
transform formats not supported by the currently-selected
mehod.
make check, folks. It's da bomb.
Tim-Philipp Müller [Sun, 26 Feb 2012 17:46:24 +0000 (17:46 +0000)]
videoscale: fix videoscale test for new methods
Not all scaling methods are supported for all formats, so
can't just iterate over the template caps.
Alessandro Decina [Sun, 26 Feb 2012 19:32:05 +0000 (20:32 +0100)]
theoraenc: fix compiler warning
Tim-Philipp Müller [Sat, 25 Feb 2012 15:21:30 +0000 (15:21 +0000)]
appsink: implement SEEKING query
We don't support seeking (in the sense that upstream can
make us jump back and forth to certain offsets in the
output).
Stefan Sauer [Fri, 24 Feb 2012 20:37:00 +0000 (21:37 +0100)]
interfaces: fix ABI class padding after the recent changes
Sebastian Dröge [Fri, 24 Feb 2012 11:09:31 +0000 (12:09 +0100)]
seek: Let the XOverlay element handle events
Need for proper resizing.
Sebastian Dröge [Fri, 24 Feb 2012 11:03:34 +0000 (12:03 +0100)]
seek: Use the same adjustment for the color balance scales as for the seek scale
Sebastian Dröge [Fri, 24 Feb 2012 11:00:41 +0000 (12:00 +0100)]
seek: Change the volume/mute widgets from the main thread
And also connect to notify::mute to get notified about mute changes.
Sebastian Dröge [Fri, 24 Feb 2012 10:44:53 +0000 (11:44 +0100)]
seek: Refactor and cleanup seek example application
Sebastian Dröge [Thu, 23 Feb 2012 13:46:07 +0000 (14:46 +0100)]
seek: Fix mistake in last commit
Sebastian Dröge [Thu, 23 Feb 2012 12:41:25 +0000 (13:41 +0100)]
playsink: Use g_signal_handlers_block_by_func()/unblock_by_func() instead of disconnecting and reconnecting
Sebastian Dröge [Thu, 23 Feb 2012 12:39:33 +0000 (13:39 +0100)]
seek: The volume property signals are proxied in playbin2 since some time already
Sebastian Dröge [Thu, 23 Feb 2012 12:31:37 +0000 (13:31 +0100)]
seek: Use colorbalance of playbin2 directly
Sebastian Dröge [Thu, 23 Feb 2012 12:27:28 +0000 (13:27 +0100)]
playbin2: Proxy colorbalance interface
Sebastian Dröge [Thu, 23 Feb 2012 12:19:55 +0000 (13:19 +0100)]
playsink: Proxy colorbalance interface
Tim-Philipp Müller [Thu, 23 Feb 2012 12:06:15 +0000 (12:06 +0000)]
Update NEWS and RELEASE as well
Tim-Philipp Müller [Thu, 23 Feb 2012 11:04:00 +0000 (11:04 +0000)]
Bump version after release
Sebastian Dröge [Thu, 23 Feb 2012 10:59:17 +0000 (11:59 +0100)]
seek: Directly use navigation interface on playbin2
Sebastian Dröge [Thu, 23 Feb 2012 10:56:37 +0000 (11:56 +0100)]
playbin2: Proxy navigation interface
Sebastian Dröge [Thu, 23 Feb 2012 10:54:27 +0000 (11:54 +0100)]
playsink: Proxy navigation interface
Sebastian Dröge [Thu, 23 Feb 2012 10:43:09 +0000 (11:43 +0100)]
seek: Directly use the XOverlay interface on playbin2
Sebastian Dröge [Thu, 23 Feb 2012 10:42:55 +0000 (11:42 +0100)]
playbin2: Proxy the XOverlay interface
Sebastian Dröge [Thu, 23 Feb 2012 10:33:27 +0000 (11:33 +0100)]
playsink: Proxy the XOverlay interface
Sebastian Dröge [Thu, 23 Feb 2012 10:05:11 +0000 (11:05 +0100)]
playsink: Force the aspect ratio if the sink has such a property
Sebastian Dröge [Wed, 22 Feb 2012 14:52:04 +0000 (15:52 +0100)]
seek: Make navigation/colorbalance settings work with non-playbin2 pipelines too
Sebastian Dröge [Wed, 22 Feb 2012 14:43:25 +0000 (15:43 +0100)]
seek: Add checkboxes for the remaining playbin2 flags and refactor code a bit
Sebastian Dröge [Wed, 22 Feb 2012 14:01:15 +0000 (15:01 +0100)]
seek: Only show colorbalance expander for playbin2 pipelines
Sebastian Dröge [Wed, 22 Feb 2012 13:58:38 +0000 (14:58 +0100)]
seek: Add UI for setting the colorbalance interface properties on playbin2
Sebastian Dröge [Wed, 22 Feb 2012 13:53:39 +0000 (14:53 +0100)]
playsink: Only use the sink's colorbalance interface if it supports at least brightness/contrast/hue/saturation
Sebastian Dröge [Wed, 22 Feb 2012 13:12:16 +0000 (14:12 +0100)]
playsinkvideoconvert: Fix element name
Sebastian Dröge [Wed, 22 Feb 2012 11:17:47 +0000 (12:17 +0100)]
playbin2: Give a fixed name "playsink" to the internal playsink element
Sebastian Dröge [Wed, 22 Feb 2012 11:07:13 +0000 (12:07 +0100)]
playsink: Only really use software volume if requested
Sebastian Dröge [Wed, 22 Feb 2012 10:56:59 +0000 (11:56 +0100)]
playsink: Add a software color-balance element before the sink if the sink doesn't support changing the color-balance