Mark Nauwelaerts [Tue, 26 Apr 2011 11:37:51 +0000 (13:37 +0200)]
uridecodebin: use bitrate to configure streaming buffer-duration default case
In particular, in audio only cases whose (estimated) metadata provides bitrate
information, the buffer-size based on such bitrate (and buffer-duration)
will be much more reasonable than queue2 default buffer-size.
Mark Nauwelaerts [Tue, 26 Apr 2011 09:27:40 +0000 (11:27 +0200)]
uridecodebin: remove some dead code
... which was dead as pads were never added to the list, and need not be added,
since removing them is handled by a pad callback.
Thiago Santos [Fri, 29 Apr 2011 14:48:02 +0000 (11:48 -0300)]
encodebin: examples: Add missing base libs to makefile
Thiago Santos [Thu, 28 Apr 2011 13:58:15 +0000 (10:58 -0300)]
encodebin: Check for missing converters
Adds checks for missing video and audio converter elements
Thiago Santos [Thu, 28 Apr 2011 01:05:55 +0000 (22:05 -0300)]
tag: xmpwriter: Rename documentation headers
Fix some wrong documentation headers from the first name
given to this interface.
Thiago Santos [Tue, 19 Apr 2011 11:41:53 +0000 (08:41 -0300)]
tests: xmp: New tests for the Iptc4xmpExt tags
Thiago Santos [Tue, 19 Apr 2011 02:28:13 +0000 (23:28 -0300)]
tag: xmp: Add Iptc4xmpExt schema support
Adds Iptc4xmpExt schema with country, city and sublocation
tags mapped
Thiago Santos [Tue, 19 Apr 2011 14:00:24 +0000 (11:00 -0300)]
tag: xmp: Add support for reading struct tags
Adds a context variable that controls if the parsing is on
'top level' tags or inside a struct tag.
Thiago Santos [Mon, 18 Apr 2011 19:54:54 +0000 (16:54 -0300)]
tag: xmp: Add struct xmp tag type support
Adds support for writing the xmp struct tag type, it is a compound tag
that has inner tags.
Thiago Santos [Tue, 19 Apr 2011 02:16:59 +0000 (23:16 -0300)]
tag: xmp: Fixing schema maps
Do not forget to create a new schema for every supported schema
instead of reusing the same object
Thiago Santos [Mon, 18 Apr 2011 13:20:00 +0000 (10:20 -0300)]
tag: xmp: Write the same tag to all schemas
Instead of writing only the xmp tag for the first found entry
that matches the gstreamer tag, look for all mappings to write
the tag to different schemas.
The rationale here is that some reader application might only
be interested on a particular schema tags, so we should try
to write as many tags for all schemas.
Edward Hervey [Sun, 15 May 2011 11:39:18 +0000 (13:39 +0200)]
win32: Update libgstaudio.def for new symbols
Arun Raghavan [Sat, 14 May 2011 11:57:30 +0000 (17:27 +0530)]
baseaudiosink: Use g_str_equal() instead of strncmp()
The strncmp is unnecessary anyway since one of the strings is a const
string.
Arun Raghavan [Sat, 14 May 2011 11:19:53 +0000 (16:49 +0530)]
baseaudiosink: Fix trivial indentation problems
Arun Raghavan [Mon, 7 Mar 2011 15:19:16 +0000 (20:49 +0530)]
audio: Add an IEC 61937 payloading library
This can be used by sinks to take compressed formats, correctly payload
these in IEC 61937 frames and feed these to sinks that support
passthrough output over IEC 60958 (S/PDIF) or, in the case of MP3, over
Bluetooth.
Initial implementation includes AC3, E-AC3, MPEG-1, MPEG-2 (non-AAC),
and DTS (type-I/II/II) payloading. More formats can be added as needed.
API: gst_audio_iec61937_frame_size()
API: gst_audio_iec61937_payload()
https://bugzilla.gnome.org/show_bug.cgi?id=642730
Arun Raghavan [Wed, 9 Mar 2011 05:42:39 +0000 (11:12 +0530)]
baseaudiosink: Allow subclasses to provide payloaders
This allows subclasses to provide a "payload" function to prepare
buffers for consumption. The immediate use for this is for sinks that
can handle compressed formats - parsers are directly connected to the
sink, and for formats such as AC3, DTS, and MPEG, IEC 61937 patyloading
might be used.
API: GstBaseAudioSinkClass:payload()
https://bugzilla.gnome.org/show_bug.cgi?id=642730
Arun Raghavan [Sat, 9 Apr 2011 04:19:10 +0000 (09:49 +0530)]
ringbuffer: Add support for E-AC3
Adds support for pushing E-AC3 buffers and doing bytes-to-ms conversion
correctly. The assumption (as with other formats) is that something like
IEC 61937 payloading will be used. Correspondingly the ringbuffer spec
is populated so that the data rate is 4x normal AC3.
https://bugzilla.gnome.org/show_bug.cgi?id=642730
Arun Raghavan [Mon, 14 Mar 2011 10:21:40 +0000 (15:51 +0530)]
ringbuffer: Add support for MPEG audio buffers
Arun Raghavan [Mon, 14 Mar 2011 10:19:57 +0000 (15:49 +0530)]
ringbuffer: Add AAC format types
These are meant to be used for buffers containing AAC data. Nothing uses
this yet, but for now it serves to distinguish from GST_BUFTYPE_MPEG
which represents non-AAC MPEG audio.
API: GST_BUFTYPE_MPEG2_AAC
API: GST_BUFTYPE_MPEG4_AAC
Arun Raghavan [Wed, 9 Mar 2011 17:27:00 +0000 (22:57 +0530)]
ringbuffer: Add support for DTS buffers
Sebastian Dröge [Sat, 14 May 2011 09:42:50 +0000 (11:42 +0200)]
configure: Require core 0.10.34.1 for the new ghostpad API
Andoni Morales Alastruey [Mon, 9 May 2011 20:20:23 +0000 (22:20 +0200)]
decodebin2: fix preroll for streams at low bitrates
For streams at low bitrates we need to set a limit in time because the limit
in bytes might not reached too late, sometimes more than 30 seconds.
This limit can only be set if upstream is seekable (see #584104)
Closes #647769
Sebastian Dröge [Mon, 9 May 2011 11:11:00 +0000 (13:11 +0200)]
playsink: Use new ghostpad/proxypad API to get the internal pad
Sebastian Dröge [Mon, 9 May 2011 10:59:22 +0000 (12:59 +0200)]
playsink: Use new ghostpad/proxypad API
Sebastian Dröge [Mon, 9 May 2011 10:50:06 +0000 (12:50 +0200)]
playbin2: Disable some compressed stream tests that are racy without a stream-activate event
Sebastian Dröge [Tue, 29 Mar 2011 17:15:27 +0000 (19:15 +0200)]
playbin2: Reset buffer counter in playbin2-compressed tests every time when going to READY
Sebastian Dröge [Fri, 25 Mar 2011 07:26:00 +0000 (08:26 +0100)]
playsink: Add audio and video converter convenience bins
These reconfigure based on the caps and plugin in converters if
necessary. This also makes switching between compressed and raw
streams work flawlessly without loosing the states of any element
somewhere or having running time problems.
Sebastian Dröge [Tue, 15 Mar 2011 11:51:04 +0000 (12:51 +0100)]
playbin2/playsink: Decide if A/V caps are raw only inside playsink
Before playbin2 would use different selectors for raw audio and
compressed audio (and the same for video) and used different
pads from playsink. This made the involved logic much more
complex and was not implemented completely in playsink, which
made it impossible to support files with a compressed and
uncompressed stream that is support by the sink.
playbin2 handles raw/non-raw streams the same now and the
decision is left to playsink, which now can also handle
caps changes from raw to non-raw and the other way around.
Fixes bug #632788.
Sebastian Dröge [Tue, 15 Mar 2011 10:41:14 +0000 (11:41 +0100)]
playbin2: Add unit test for compressed stream support in playbin2/playsink
Sebastian Dröge [Mon, 9 May 2011 10:56:14 +0000 (12:56 +0200)]
alsasrc: Fix some compilation errors
Pontus Oldberg [Mon, 9 May 2011 09:50:05 +0000 (11:50 +0200)]
alsasrc: Improve timestamp accuracy
Fixes bug #635256.
Sebastian Dröge [Fri, 6 May 2011 15:01:53 +0000 (17:01 +0200)]
subtitleoverlay: Use new, public ghostpad functions
Sreerenj Balachandran [Tue, 3 May 2011 08:26:32 +0000 (11:26 +0300)]
xvimagesink: Use GST_BOILERPLATE
Tim-Philipp Müller [Sat, 14 May 2011 08:41:58 +0000 (09:41 +0100)]
Back to development
Tim-Philipp Müller [Sat, 14 May 2011 00:00:38 +0000 (01:00 +0100)]
Release 0.10.34
Tim-Philipp Müller [Tue, 10 May 2011 08:32:11 +0000 (09:32 +0100)]
Release 0.10.33
Highlights:
- support for 16-bit-per-component video formats
- playbin2 fixes and improvements for custom and non-raw sinks
- oggmux muxes based on running time now
- many other fixes and improvements
Tim-Philipp Müller [Sat, 30 Apr 2011 16:35:54 +0000 (17:35 +0100)]
0.10.32.4 pre-release
Tim-Philipp Müller [Sat, 30 Apr 2011 16:21:28 +0000 (17:21 +0100)]
gst: update orc-generated disted C backup code to orc 0.4.14
Tim-Philipp Müller [Wed, 27 Apr 2011 11:09:33 +0000 (12:09 +0100)]
0.10.32.3 pre-release
David Schleef [Mon, 25 Apr 2011 01:45:40 +0000 (18:45 -0700)]
videoscale: Fix off-by-one error in previous commit
Fix for
7c0b702e. It helps to get your j+1's right.
David Schleef [Mon, 25 Apr 2011 01:16:20 +0000 (18:16 -0700)]
videoscale: Fix ARGB bilinear scaling
Fixes #648548. Orc generates bad code for
gst_videoscale_orc_resample_merge_bilinear_u32, so we'll use the
slightly slower two-stage process. I'd fix Orc, but it's hard to
get excited about fixing a feature that I'm planning to deprecate
and replace.
David Schleef [Sat, 23 Apr 2011 20:42:23 +0000 (13:42 -0700)]
videoscale: hack to fix invalid reads in linear
https://bugzilla.gnome.org/show_bug.cgi?id=633837
David Schleef [Sat, 23 Apr 2011 19:46:09 +0000 (12:46 -0700)]
videoscale: protect 4tap from out-of-bounds reads
https://bugzilla.gnome.org/show_bug.cgi?id=633837
Tim-Philipp Müller [Sun, 24 Apr 2011 13:03:12 +0000 (14:03 +0100)]
Automatic update of common submodule
From c3cafe1 to 46dfcea
David Schleef [Sat, 23 Apr 2011 19:44:50 +0000 (12:44 -0700)]
videoscale: use simpler scaling method for small images
https://bugzilla.gnome.org/show_bug.cgi?id=633837
Marc Plano-Lesay [Thu, 14 Apr 2011 07:32:19 +0000 (09:32 +0200)]
audioresample: fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Víctor Manuel Jáquez Leal [Fri, 22 Apr 2011 11:55:20 +0000 (13:55 +0200)]
tag: exif: register common tags from tag library
Exif uses tags like image-vertical-ppi or image-horizontal-ppi which are
registered in gst_tag_register_musicbrainz_tags(), but neither GstExifReader
nor GstExifWriter register them.
https://bugzilla.gnome.org/show_bug.cgi?id=648459
Tim-Philipp Müller [Sun, 24 Apr 2011 11:16:47 +0000 (12:16 +0100)]
tag: update some FIXMEs for 0.11
Tim-Philipp Müller [Thu, 21 Apr 2011 13:11:49 +0000 (14:11 +0100)]
tests: add unit test for basetransform/videoscale negotiation regression
Turn Rene's test pipeline into a unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=648220
Håvard Graff [Thu, 25 Nov 2010 16:01:53 +0000 (17:01 +0100)]
ringbuffer: make sure to not start if the may_start flag is FALSE
Fixes #635784
Sebastian Dröge [Mon, 18 Apr 2011 09:24:57 +0000 (11:24 +0200)]
x(v)imagesink: If NULL caps are passed to buffer_alloc() do fallback allocation
Fixes bug #647857.
Sebastian Dröge [Mon, 18 Apr 2011 08:19:52 +0000 (10:19 +0200)]
oggmux: Remove bus GSource to prevent a valgrind warning
Sebastian Dröge [Mon, 18 Apr 2011 07:16:35 +0000 (09:16 +0200)]
gio: Remove the bus GSource from the main context
Prevents a valgrind warning about possibly leaked memory,
see bug #647763.
Tim-Philipp Müller [Sun, 17 Apr 2011 18:33:04 +0000 (19:33 +0100)]
sdp: remove gst_init() for g-i scanner here again as well to avoid problems with -Wl,--as-needed
Tim-Philipp Müller [Sun, 17 Apr 2011 16:59:40 +0000 (17:59 +0100)]
fft: remove gst_init() for g-i scanner again
libgstfft doesn't actually use any symbols from libgstreamer, so when
compiling with -Wl,--as-needed it won't even link to it, which can
cause failures with older versions of g-i that ignore the --pkg
arguments.
Should fix PPA build failure on Ubuntu Maverick
Sebastian Dröge [Sat, 16 Apr 2011 14:31:57 +0000 (16:31 +0200)]
textoverlay: Always hold the class-global pango mutex when using pango API
Sebastian Dröge [Sat, 16 Apr 2011 14:23:47 +0000 (16:23 +0200)]
{time,clock}overlay: Hold the class-global pango mutex when changing the pango context
Sebastian Dröge [Sat, 16 Apr 2011 14:21:39 +0000 (16:21 +0200)]
{clock,time}overlay: Only set the global pango context options once in class_init
Instead of doing it over and over again when instantiating a new instance.
Sebastian Dröge [Sat, 16 Apr 2011 14:18:40 +0000 (16:18 +0200)]
pango: Create a new pango context for every subclass
timeoverlay/clockoverlay are setting some global options
on the context that shouldn't be used for the generic textoverlay.
Tim-Philipp Müller [Sat, 16 Apr 2011 15:03:56 +0000 (16:03 +0100)]
0.10.32.2 pre-release
Tim-Philipp Müller [Sat, 16 Apr 2011 14:58:21 +0000 (15:58 +0100)]
gst: update disted orc backup code
Tim-Philipp Müller [Sat, 16 Apr 2011 14:50:05 +0000 (15:50 +0100)]
docs: update documentation
Tim-Philipp Müller [Sat, 16 Apr 2011 14:42:04 +0000 (15:42 +0100)]
po: update translations
Thibault Saunier [Thu, 31 Mar 2011 17:56:00 +0000 (17:56 +0000)]
vorbis: add support for using tremolo on android
Tremolo is an ARM-optimised version of xiph's tremor library.
Vincent Penquerc'h [Fri, 15 Apr 2011 12:36:39 +0000 (13:36 +0100)]
oggmux: prefer headers from caps to determine stream type
Ogg mandates the first header packet must determine a stream's type.
However, some streams (such as VP8) do not include such a header
when muxed in other containers, and thus do not include this header
as a buffer, but only in caps. We thus use headers from caps when
available to determine a new stream's type.
https://bugzilla.gnome.org/show_bug.cgi?id=647856
Tim-Philipp Müller [Sat, 16 Apr 2011 10:00:31 +0000 (11:00 +0100)]
libs: gobject-introspection scanner doesn't need to scan or update plugin info
Make sure the scanner doesn't load or introspect or check any plugins,
(especially not outside the build directory).
Tim-Philipp Müller [Fri, 15 Apr 2011 20:09:00 +0000 (21:09 +0100)]
tests: list libs/struct*h files explicitly in Makefile.am
Hopefully makes the gentoo buildbot happy again.
Mark Nauwelaerts [Fri, 15 Apr 2011 09:11:52 +0000 (11:11 +0200)]
playbin2: avoid foregoing READY_TO_NULL when appropriate
Mark Nauwelaerts [Thu, 14 Apr 2011 20:13:21 +0000 (22:13 +0200)]
playbin2: ensure proper PAUSED_TO_READY cleanup
... since going async to PAUSED might fail, and never making it to PAUSED
subsequently skips going down to READY.
Fixes #647781.
David Schleef [Thu, 14 Apr 2011 19:42:20 +0000 (12:42 -0700)]
Revert "video: Remove the extensive checkings from switch"
This reverts commit
500d14c35c656890686574e1c041fb556df17056.
Sebastian Dröge [Thu, 14 Apr 2011 11:15:08 +0000 (13:15 +0200)]
encodebin: Unref encoding profiles after usage in the test
Sebastian Dröge [Thu, 14 Apr 2011 10:55:00 +0000 (12:55 +0200)]
encodebin: Release pads after setting the state to NULL in the unit test
See bug #647756.
Sebastian Dröge [Thu, 14 Apr 2011 10:23:10 +0000 (12:23 +0200)]
encodebin: Set all elements to NULL and remove them from the bin when removing a source group
Sreerenj Balachandran [Wed, 13 Apr 2011 21:26:34 +0000 (00:26 +0300)]
video: Remove the extensive checkings from switch
The default case handles them already
Thiago Santos [Thu, 14 Apr 2011 02:17:34 +0000 (23:17 -0300)]
tests: tag: Fix typo
Thiago Santos [Thu, 14 Apr 2011 02:17:14 +0000 (23:17 -0300)]
tag: xmp: Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION for xmp
library.
Includes unit tests.
Thiago Santos [Thu, 14 Apr 2011 02:16:02 +0000 (23:16 -0300)]
tag: exif: Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION for exif
library.
Includes unit tests.
Thiago Santos [Thu, 14 Apr 2011 02:13:59 +0000 (23:13 -0300)]
tag: Adds GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Adds a new tag for indicating the used exposure compensation
level in EV used when capturing an image.
API: GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Tim-Philipp Müller [Wed, 13 Apr 2011 23:24:26 +0000 (00:24 +0100)]
tests: fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Tim-Philipp Müller [Wed, 13 Apr 2011 22:57:56 +0000 (23:57 +0100)]
ogg: fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Tim-Philipp Müller [Wed, 13 Apr 2011 22:19:07 +0000 (23:19 +0100)]
ffmpegcolorspace: fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Tim-Philipp Müller [Wed, 13 Apr 2011 21:59:03 +0000 (22:59 +0100)]
typefindfunctions: fix unused-but-set-variable warning with gcc 4.6
We don't compare the bitrates of consecutive mp3 frames on purpose
here.
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Tim-Philipp Müller [Wed, 13 Apr 2011 08:10:52 +0000 (09:10 +0100)]
docs: fix typo in video format docs
Tim-Philipp Müller [Tue, 12 Apr 2011 11:41:06 +0000 (12:41 +0100)]
oggmux: fix uninitialised variable usage and element leak
gcc on OSX complains about ret being used uninitialized in
this function, and it is right. Don't leak element ref
when returning early because newsegment event is not in
TIME format.
Tim-Philipp Müller [Tue, 12 Apr 2011 11:20:43 +0000 (12:20 +0100)]
multifdsink: do check return values of fcntl() and fstat()
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Marc Plano-Lesay [Sat, 9 Apr 2011 17:15:23 +0000 (19:15 +0200)]
fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Sreerenj Balachandran [Wed, 6 Apr 2011 19:57:41 +0000 (22:57 +0300)]
rtsptranport: ensure valid int result when parsing ranges
Specifically, make sure that the return value of strtol is falling in
between the range of G_MININT and G_MAXINT.
Fixes #646952.
Bastien Nocera [Wed, 6 Apr 2011 15:27:54 +0000 (16:27 +0100)]
encoding-profile: fix unused-but-set-variable warnings with gcc 4.6
Top-level profiles don't have restrictions, only stream profiles,
so no need to serialise that here.
https://bugzilla.gnome.org/show_bug.cgi?id=646925
Tim-Philipp Müller [Mon, 11 Apr 2011 13:29:35 +0000 (14:29 +0100)]
tests: dist all struct_*.h files for libs ABI test
Should fix distcheck on x86_64.
Mark Nauwelaerts [Mon, 11 Apr 2011 13:02:38 +0000 (15:02 +0200)]
videorate: empty caps have no structure to pick
Tim-Philipp Müller [Mon, 11 Apr 2011 09:06:53 +0000 (10:06 +0100)]
tag: fix typo in ID3 genres
psychadelic -> psychedelic. Spotted by Sébastien Wilmet.
https://bugzilla.gnome.org/show_bug.cgi?id=647399
Alessandro Decina [Thu, 27 Jan 2011 16:28:51 +0000 (17:28 +0100)]
android: make it ready for androgenizer
Remove the android/ top dir
Fixe the Makefile.am to be androgenized
To build gstreamer for android we are now using androgenizer which generates the
needed Android.mk files.
Androgenizer can be found here:
http://git.collabora.co.uk/?p=user/derek/androgenizer.git
Christian Fredrik Kalager Schaller [Sat, 9 Apr 2011 01:01:08 +0000 (02:01 +0100)]
Add new header file to spec file
Sebastian Dröge [Fri, 8 Apr 2011 13:10:02 +0000 (15:10 +0200)]
rtp: Unref events if the parent element disappeared or has no event handler implemented
Ole André Vadla Ravnås [Thu, 6 Jan 2011 17:20:58 +0000 (18:20 +0100)]
rtp: fix pad callbacks so they handle when parent goes away
1) We need to lock and get a strong ref to the parent, if still there.
2) If it has gone away, we need to handle that gracefully.
This is necessary in order to safely modify a running pipeline. Has been
observed when a streaming thread is doing a buffer_alloc() while an
application thread sends an event on a pad further downstream, and from
within a pad probe (holding STREAM_LOCK) carries out the pipeline plumbing
while the streaming thread has its buffer_alloc() in progress.
Havard Graff [Sun, 20 Mar 2011 07:59:33 +0000 (08:59 +0100)]
audioresample: Make src query MT-safe
It is possible that the element might be going down while the event arrives
Sebastian Dröge [Fri, 8 Apr 2011 13:00:58 +0000 (15:00 +0200)]
vorbisdec: Unref events if the parent element disappeared
Havard Graff [Mon, 21 Mar 2011 15:03:16 +0000 (16:03 +0100)]
vorbisdec: make upstream queries and events MT-safe
Bastien Nocera [Wed, 6 Apr 2011 15:25:37 +0000 (16:25 +0100)]
rtp: Remove unused variables
https://bugzilla.gnome.org/show_bug.cgi?id=646924
Sebastian Dröge [Thu, 7 Apr 2011 08:06:53 +0000 (10:06 +0200)]
video: Fix creation of grayscale caps
The endianness was not set correctly before.
Fixes bug #646923.