Sebastian Dröge [Mon, 23 May 2011 14:02:20 +0000 (16:02 +0200)]
subparse: Compile the typefind regex with optimization to speed up matching
Sebastian Dröge [Mon, 23 May 2011 13:51:14 +0000 (15:51 +0200)]
subparse: Interprete typefind strings passed to GRegex as raw bytes instead of valid UTF8
Stefan Kost [Mon, 23 May 2011 12:21:59 +0000 (15:21 +0300)]
convertframe: fix docs
Fixup paramter mismatch between func and prototype. Add missing parameter docs.
Stefan Kost [Mon, 23 May 2011 12:08:24 +0000 (15:08 +0300)]
docs: fixup audio-library docs
Stefan Kost [Mon, 23 May 2011 12:02:27 +0000 (15:02 +0300)]
docs: fixup appsrc/sink api docs
Stefan Kost [Mon, 23 May 2011 11:53:26 +0000 (14:53 +0300)]
docs: fix docs for new api
Some parameters where wrong, first line missed the ':' and return docs where
broken.
Stefan Kost [Mon, 23 May 2011 11:45:23 +0000 (14:45 +0300)]
docs: update xmp api docs
Add missing section. Add new section to main-sgml. Add missing function.
Stefan Kost [Mon, 23 May 2011 11:07:38 +0000 (14:07 +0300)]
xmptag: remove late check
We deref the pointer two lines before already and besides this internal function
should not be called with this parameter=NULL.
Stefan Kost [Mon, 23 May 2011 11:01:29 +0000 (14:01 +0300)]
xmptag: have the default branch as the last one
Stefan Kost [Mon, 23 May 2011 11:00:04 +0000 (14:00 +0300)]
xmptag: an uint value can't be <0
Stefan Kost [Mon, 23 May 2011 10:53:06 +0000 (13:53 +0300)]
whitespace: trim trailing whitespace
Stefan Kost [Mon, 23 May 2011 10:50:59 +0000 (13:50 +0300)]
video.c: use a break and a final warning instead of early returns
Use breaks for case branches instead of return 0. We don't expect these to
happen anyway. Thus have a warning before the final return to make it easier to
see when things go out of sync.
Stefan Kost [Mon, 23 May 2011 10:49:01 +0000 (13:49 +0300)]
video.c: use g_assert_not_reached() for logical error here.
This will help to detect them closer to the source if they ever happen.
Stefan Kost [Fri, 20 May 2011 07:48:39 +0000 (10:48 +0300)]
lang: fix possible array overrun
We where checking for i<G_N_ELEMENTS, but where accessing i+1.
Stefan Kost [Thu, 19 May 2011 20:41:08 +0000 (23:41 +0300)]
audioconvert: cleanup helper code
make_lossless_changes() returns the same structure that we're passing (probably
to enable chaining). Instead of reusing s and making it point to s2 as well,
keep using s2. Drop the assignment which in the 2nd case is a dead one anyway.
Stefan Kost [Thu, 19 May 2011 20:25:24 +0000 (23:25 +0300)]
docs: update plugin introspection data
Now more files are merged and produced in a canonical fashion, which hopefully
creates less or no delta in the future.
Stefan Kost [Thu, 19 May 2011 19:56:53 +0000 (22:56 +0300)]
Automatic update of common submodule
From 9e5bbd5 to 69b981f
Christian Fredrik Kalager Schaller [Thu, 19 May 2011 12:40:29 +0000 (13:40 +0100)]
Add new header file
Thiago Santos [Thu, 19 May 2011 11:30:14 +0000 (08:30 -0300)]
encodebin: Autoplug formatters
Autoplug formatters for streams if a formatter with secondary or
higher rank is found. Formatters are autoplugged when there is no
muxer or when the muxer doesn't implement the tagsetter interface.
Currently only the first formatter found is plugged, this might
help in lots of cases, but it doesn't solve the
'lamemp3 ! xingmux ! id3mux'
case.
https://bugzilla.gnome.org/show_bug.cgi?id=649841
Thiago Santos [Thu, 19 May 2011 11:27:29 +0000 (08:27 -0300)]
encodebin: fix typos
Aleix Conchillo Flaque [Wed, 18 May 2011 20:07:58 +0000 (22:07 +0200)]
vorbisdec: Handle headers in caps
Stefan Kost [Wed, 18 May 2011 13:09:47 +0000 (16:09 +0300)]
Automatic update of common submodule
From fd35073 to 9e5bbd5
Robert Swain [Wed, 18 May 2011 11:18:15 +0000 (13:18 +0200)]
gstvideo: Add gst_video_get_size_from_caps function
gst_video_get_size_from_caps () allows easy calculation of the raw video
buffer size from some fixed video caps.
API: gst_video_get_size_from_caps()
Stefan Kost [Wed, 18 May 2011 09:24:02 +0000 (12:24 +0300)]
Automatic update of common submodule
From 46dfcea to fd35073
Robert Swain [Wed, 18 May 2011 07:34:52 +0000 (09:34 +0200)]
alsa: Remove unused but set variable
Unused but set variables cause warnings in GCC 4.6.x and newer.
Edward Hervey [Tue, 17 May 2011 08:20:36 +0000 (10:20 +0200)]
rtsp: Fix typo which broke the build
Miguel Angel Cabrera Moya [Mon, 16 May 2011 13:35:50 +0000 (15:35 +0200)]
rtspconnection: not enter in not controllable state unless it is necessary
When closing rtspsrc the state change blocks until the polling in the
connection timeouts. This is because the second time we loop to read a
full message controllable is set to FALSE in the poll group, even though no
message is half read.
This can be avoided by not setting controllable to FALSE the poll group
unless we had begin to read a message.
Fixes #610916
Tim-Philipp Müller [Sun, 30 May 2010 12:21:00 +0000 (13:21 +0100)]
cdparanoiasrc: fix build on OSX by #undef-ing VERSION before including system headers
On OSX the cdparanoia headers include IOKit framework headers (in particular
SCSICmds_INQUIRY_Definitions.h) which define a structure that has a member
named VERSION, so we must #undef VERSION before including those for things
to compile on OSX.
Fixes #609918.
Mark Nauwelaerts [Mon, 2 May 2011 09:43:38 +0000 (11:43 +0200)]
videorate: optionally ensure maximum average output frame rate
See #628764.
Alexey Fisher [Fri, 29 Apr 2011 12:58:02 +0000 (14:58 +0200)]
videorate: optionally only drop frames to ensure maximum frame rate
This adds option to arrange for maximal allowed variable frame rate.
Fixes #628764.
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.