platform/upstream/gstreamer.git
11 years agoallocators: header clean-up
Tim-Philipp Müller [Tue, 19 Feb 2013 09:35:10 +0000 (09:35 +0000)]
allocators: header clean-up

11 years agoconfigure: use AC_CHECK_FUNC to check for mmap
Tim-Philipp Müller [Tue, 19 Feb 2013 09:32:08 +0000 (09:32 +0000)]
configure: use AC_CHECK_FUNC to check for mmap

11 years agoallocators: Integrate into the documentation
Sebastian Dröge [Tue, 19 Feb 2013 09:05:17 +0000 (10:05 +0100)]
allocators: Integrate into the documentation

11 years agoallocators: Add .def file with all exports
Sebastian Dröge [Tue, 19 Feb 2013 08:40:42 +0000 (09:40 +0100)]
allocators: Add .def file with all exports

11 years agoallocators: Add single-include header
Sebastian Dröge [Tue, 19 Feb 2013 08:39:24 +0000 (09:39 +0100)]
allocators: Add single-include header

11 years agodmabuf: Improve documentation and annotations a bit
Sebastian Dröge [Tue, 19 Feb 2013 08:35:51 +0000 (09:35 +0100)]
dmabuf: Improve documentation and annotations a bit

11 years agoallocators: Add dmabuf-based GstMemory and GstAllocator
Benjamin Gaignard [Mon, 18 Feb 2013 14:18:38 +0000 (15:18 +0100)]
allocators: Add dmabuf-based GstMemory and GstAllocator

Create new GstMemory and GstAllocator base on dmabuf.
Memory is not allocated/freed by userland but mapped/unmmaped
from a dmabuf file descriptor when requested.

This allocator is included in a new lib called libgstallocators

https://bugzilla.gnome.org/show_bug.cgi?id=693826

11 years agotests: fix encodebin unit test on 32-bit systems
Tim-Philipp Müller [Sat, 16 Feb 2013 23:55:57 +0000 (23:55 +0000)]
tests: fix encodebin unit test on 32-bit systems

Fixes critical warning on x86:
g_object_set_valist: object class `GstOggMux' has no property named `testingoggmux'

11 years agoaudio: fix GST_AUDIO_INFO_ENDIANNESS macro
Tim-Philipp Müller [Sat, 16 Feb 2013 12:09:53 +0000 (12:09 +0000)]
audio: fix GST_AUDIO_INFO_ENDIANNESS macro

11 years agoencodebin: activate ghost pad after creating it
Vincent Penquerc'h [Thu, 14 Feb 2013 15:59:51 +0000 (15:59 +0000)]
encodebin: activate ghost pad after creating it

This ensures the ghost pad will not stay in flushing mode
when it receives a flush stop event, and generally behave
badly.

This fixes at least one case of a dynamic decodebin2 + encodebin
pipeline finding a source that has not prerolled when it should
have been (due to the ghostpad staying in flushing mode).

11 years agodecodebin: don't block on caps
Matej Knopp [Wed, 13 Feb 2013 23:54:34 +0000 (00:54 +0100)]
decodebin: don't block on caps

11 years agodecodebin: Remove left-over line from last commit
Sebastian Dröge [Thu, 14 Feb 2013 10:25:37 +0000 (11:25 +0100)]
decodebin: Remove left-over line from last commit

11 years agodecodebin: Check if value is set before unsetting it
Matej Knopp [Thu, 14 Feb 2013 10:17:31 +0000 (11:17 +0100)]
decodebin: Check if value is set before unsetting it

https://bugzilla.gnome.org/show_bug.cgi?id=693401

11 years agoriffmedia: add systemstream to all mpeg video caps
Matej Knopp [Wed, 13 Feb 2013 22:28:01 +0000 (23:28 +0100)]
riffmedia: add systemstream to all mpeg video caps

11 years agovorbistag: add mapping for TOTALTRACKS and TOTALDISCS tags
Tim-Philipp Müller [Thu, 14 Feb 2013 00:29:01 +0000 (00:29 +0000)]
vorbistag: add mapping for TOTALTRACKS and TOTALDISCS tags

Found TOTALTRACKS in a FLAC file instead of TRACKTOTAL,
we should at least read this if present.

http://www.hydrogenaudio.org/forums/index.php?showtopic=91496&st=0&p=773857&#entry773857

11 years agotypefinding: add parsed=true to mp3 and mpeg2 video ES caps
Tim-Philipp Müller [Wed, 13 Feb 2013 21:00:28 +0000 (21:00 +0000)]
typefinding: add parsed=true to mp3 and mpeg2 video ES caps

Because we can, and that's also what we do for other formats.

11 years agoadder: use the collect_pads_query func
Stefan Sauer [Wed, 13 Feb 2013 20:08:48 +0000 (21:08 +0100)]
adder: use the collect_pads_query func

We were setting the query-func on the sink-pad, which got overwritten when
adding the new pad to collect pads. Instead register our query-func with the
collect pads object. This fixes filter caps. Add a test for it.

11 years agomediatype-audio: write out 24 in 32bit formats
Stefan Sauer [Wed, 13 Feb 2013 20:07:55 +0000 (21:07 +0100)]
mediatype-audio: write out 24 in 32bit formats

11 years agodecodebin: Fix MP3 parser unit test
Sebastian Dröge [Wed, 13 Feb 2013 10:25:02 +0000 (11:25 +0100)]
decodebin: Fix MP3 parser unit test

The MP3 parser required fields on its caps that it
didn't need and never got from (e.g.) typefind.

11 years agoencodebin: sync muxer state with parent bin
Vincent Penquerc'h [Tue, 12 Feb 2013 17:22:23 +0000 (17:22 +0000)]
encodebin: sync muxer state with parent bin

Other elements were synced, but not the muxer.

11 years agovideodecoder: allow parse function to not use all data on adapter
Thijs Vermeir [Wed, 2 Jan 2013 11:15:25 +0000 (12:15 +0100)]
videodecoder: allow parse function to not use all data on adapter

11 years agodecodebin: Push caps event immediately to ghost pad to avoid exposing pads without...
Alexander Schrab [Fri, 8 Feb 2013 07:46:25 +0000 (08:46 +0100)]
decodebin: Push caps event immediately to ghost pad to avoid exposing pads without caps

11 years agovideodecoder: Don't blindly assign DTS to PTS
David Schleef [Fri, 8 Feb 2013 23:31:28 +0000 (15:31 -0800)]
videodecoder: Don't blindly assign DTS to PTS

DTS and PTS usually have a non-zero offset between them in MPEG-TS,
so assigning DTS to PTS is almost always wrong.  The other, newer
timestamp recovery code does it correctly if we leave it as invalid.

11 years agovideodecoder: warn if frame list gets long
David Schleef [Mon, 11 Feb 2013 19:54:46 +0000 (11:54 -0800)]
videodecoder: warn if frame list gets long

Decoders that get unparsed input are internally leaking nearly
every incoming buffer.  This checks that case.

11 years agotests: don't use deprecated thread API in streamsynchronizer test
Tim-Philipp Müller [Sat, 9 Feb 2013 16:50:05 +0000 (16:50 +0000)]
tests: don't use deprecated thread API in streamsynchronizer test

11 years agodecodebin: g_mutex_new -> g_mutex_init
Marc Leeman [Thu, 7 Feb 2013 09:49:33 +0000 (10:49 +0100)]
decodebin: g_mutex_new -> g_mutex_init

Don't use deprecated GLib API.

https://bugzilla.gnome.org/show_bug.cgi?id=693302

11 years agopango: 3rd time's the charm. Fix attribute list handling.
Jan Schmidt [Thu, 7 Feb 2013 13:05:24 +0000 (00:05 +1100)]
pango: 3rd time's the charm. Fix attribute list handling.

Really really fix attribute list handling by taking a
copy of the original attributes that pango_attr_list_filter
can mutate, but keep the original around intact to restore
later.

11 years agopango: Don't modify the original attributes list.
Jan Schmidt [Thu, 7 Feb 2013 12:45:26 +0000 (23:45 +1100)]
pango: Don't modify the original attributes list.

Take a copy of the original attributes list instead of just
a ref, since pango_attr_list_filter can remove elements from it.

11 years agopango: Remove extra pango_attr_list_copy() from basetextoverlay
Jan Schmidt [Thu, 7 Feb 2013 12:06:16 +0000 (23:06 +1100)]
pango: Remove extra pango_attr_list_copy() from basetextoverlay

Fixes a per-buffer memory leak of the attribute list.

11 years agovideo: fix return type of _get_palette() and add since markers to docs
Tim-Philipp Müller [Wed, 6 Feb 2013 12:36:19 +0000 (12:36 +0000)]
video: fix return type of _get_palette() and add since markers to docs

'const gpointer' is not the same as 'gconstpointer', see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35928.

11 years agoappsrc: negotiate before popping buffer
Wim Taymans [Wed, 6 Feb 2013 09:07:47 +0000 (10:07 +0100)]
appsrc: negotiate before popping buffer

First negotiate and then try to pop a buffer from the queue. This is just
to improve the debug log.

11 years agoappsrc: always take mutex before object lock
Wim Taymans [Wed, 6 Feb 2013 09:00:27 +0000 (10:00 +0100)]
appsrc: always take mutex before object lock

The locking order is to first take the appsrc mutex and then the
object lock.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693224

11 years agovideotestsrc: use video library palette
Wim Taymans [Tue, 5 Feb 2013 10:20:20 +0000 (11:20 +0100)]
videotestsrc: use video library palette

Use the palette provided and used by the video library instead of making our own
copy.

11 years agovideoscale: scale each field in interlace mode
Wim Taymans [Tue, 5 Feb 2013 09:46:50 +0000 (10:46 +0100)]
videoscale: scale each field in interlace mode

When we are dealing with interlaced content, scale each field intependently so
that we don't destroy the interlacing.

See https://bugzilla.gnome.org/show_bug.cgi?id=588535

11 years agovideoconvert: interlace support to some fastpath functions
Wim Taymans [Mon, 4 Feb 2013 15:21:20 +0000 (16:21 +0100)]
videoconvert: interlace support to some fastpath functions

Add interlace support for some fastpath functions.

11 years agovideoconvert: make fast path interlaced aware
Wim Taymans [Mon, 4 Feb 2013 14:40:02 +0000 (15:40 +0100)]
videoconvert: make fast path interlaced aware

Make sure that we also handle interlacing when choosing the fast path.

See https://bugzilla.gnome.org/show_bug.cgi?id=588535

11 years agovideoconvert: pass frame interlaced flag to pack/unpack
Wim Taymans [Mon, 4 Feb 2013 14:19:35 +0000 (15:19 +0100)]
videoconvert: pass frame interlaced flag to pack/unpack

If the frame is interlaced, pass the interlaced flag to the pack/unpack
functions to make it unpack correctly.

11 years agovideo-format: fix interlaced 4:2:0 and 4:1:0 pack/unpack
Wim Taymans [Mon, 4 Feb 2013 14:01:10 +0000 (15:01 +0100)]
video-format: fix interlaced 4:2:0 and 4:1:0 pack/unpack

For interlaced vertically subsampled images we need to combine alternating
chroma lines with alternating luma lines. That is line 0 and 2 are combined
with the first line of chroma samples and line 1 and 3 with the second line
of chroma samples.

See also: https://bugzilla.gnome.org/show_bug.cgi?id=588535

11 years agovideoconvert: use the palette helper functions
Wim Taymans [Fri, 1 Feb 2013 15:47:32 +0000 (16:47 +0100)]
videoconvert: use the palette helper functions

Get the palette from the video library instead of making our own.

11 years agovideo-format: add method to get palette
Wim Taymans [Fri, 1 Feb 2013 15:46:42 +0000 (16:46 +0100)]
video-format: add method to get palette

Make a new method to get the default palette for paletted formats.

11 years agovideoconvert: make a constant of scale factor
Wim Taymans [Fri, 1 Feb 2013 10:51:12 +0000 (11:51 +0100)]
videoconvert: make a constant of scale factor

11 years agovideo-format: add interlace flag
Wim Taymans [Fri, 1 Feb 2013 10:42:58 +0000 (11:42 +0100)]
video-format: add interlace flag

Add an interlaced flag that can be used to control the unpack/pack
functions.

11 years agoriff: add more gray8 variants
Wim Taymans [Thu, 31 Jan 2013 11:57:11 +0000 (12:57 +0100)]
riff: add more gray8 variants

11 years agoriff: add support for raw monochrome 8-bit video
Dirk Van Haerenborgh [Thu, 31 Jan 2013 10:41:06 +0000 (11:41 +0100)]
riff: add support for raw monochrome 8-bit video

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692930

11 years agovisualizer: improve allocation
Wim Taymans [Tue, 29 Jan 2013 09:18:06 +0000 (10:18 +0100)]
visualizer: improve allocation

Based on patch by Matthew Waters

Add private data
Add decide_allocation vmethod
Refactor bufferpool negotiation

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681719

11 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 28 Jan 2013 19:41:44 +0000 (20:41 +0100)]
Automatic update of common submodule

From a942293 to 2de221c

11 years agotests: use g_timeout_add_seconds wherever possible.
B.Prathibha [Sun, 27 Jan 2013 04:15:59 +0000 (09:45 +0530)]
tests: use g_timeout_add_seconds wherever possible.

https://bugzilla.gnome.org/show_bug.cgi?id=692613

11 years agodocs: Put GST_*_INIT into the -sections.txt file too
Olivier Crête [Fri, 25 Jan 2013 01:15:09 +0000 (20:15 -0500)]
docs: Put GST_*_INIT into the -sections.txt file too

11 years agodoc: Sort new things into ..-libs-sections.txt
Olivier Crête [Fri, 25 Jan 2013 01:12:41 +0000 (20:12 -0500)]
doc: Sort new things into ..-libs-sections.txt

11 years agoalsasink: don't use 100% CPU
yanghuolin [Thu, 15 Nov 2012 08:31:47 +0000 (03:31 -0500)]
alsasink: don't use 100% CPU

The root cause is that alsa-lib is not thread safe for the same handle.
There are two threads in the gstreamer accessing alsa-lib not serilized.
The race condition happens when one thread holds the old framebuffer app_ptr
position in the kernel, another thread advances the framebuffer app_ptr.
when the former thread is scheduled to run again, it overwrites the app_ptr
to old value by copying from kernel.Thus,the app_ptr in the upper
alsa-lib(pcm_rate) become one period size more advanced than the lower
alsa-lib(pcm_hw & kernel).

gstreamer uses noblock and poll method to communicate with the alsa-lib.
The app_ptr unsync situation as described above makes the poll return immediately because
it concludes there is enough space for the ring-buffer via the low-level alsa-lib.
The write function returns immediately because it concludes there is not enough
space for the ring-buffer from the upper-level alsa-lib. Then the loop of poll
and write runs again and again until another period size is available for
ring-buffer.This leads to the cpu 100 problem.

delay_lock  is used to avoid the race condition.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=690937

11 years agodecodebin: try harder to always expose pads in the same order
Tim-Philipp Müller [Sat, 19 Jan 2013 13:03:03 +0000 (13:03 +0000)]
decodebin: try harder to always expose pads in the same order

Use stream-id as sort criterion in addition to the media type.

https://bugzilla.gnome.org/show_bug.cgi?id=634407

11 years agotests: disable ABI checks for architectures with outdated structure size files
Tim-Philipp Müller [Thu, 17 Jan 2013 09:50:16 +0000 (09:50 +0000)]
tests: disable ABI checks for architectures with outdated structure size files

11 years agogst-libs: use GST_*_1_0 environment variables everywhere
Tim-Philipp Müller [Wed, 16 Jan 2013 10:16:27 +0000 (10:16 +0000)]
gst-libs: use GST_*_1_0 environment variables everywhere

The _1_0 suffixed environment variables override the
non-suffixed ones, so if we're in an environment that
sets the _1_0 suffixed ones, such as jhbuild, we need
to set those to make sure ours actually always get
used.

11 years agopo: update for new translatable string
Tim-Philipp Müller [Wed, 16 Jan 2013 10:16:14 +0000 (10:16 +0000)]
po: update for new translatable string

11 years agopbutils: add description for SBC audio caps
Tim-Philipp Müller [Tue, 15 Jan 2013 17:33:38 +0000 (17:33 +0000)]
pbutils: add description for SBC audio caps

11 years agotypefinding: add typefind functions for SBC audio
Tim-Philipp Müller [Tue, 15 Jan 2013 17:27:31 +0000 (17:27 +0000)]
typefinding: add typefind functions for SBC audio

https://bugzilla.gnome.org/show_bug.cgi?id=690582

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 15 Jan 2013 15:04:12 +0000 (15:04 +0000)]
Automatic update of common submodule

From a72faea to a942293

11 years agotests: use _1_0 variants for the various registry variables
Martin Pitt [Tue, 15 Jan 2013 12:39:20 +0000 (12:39 +0000)]
tests: use _1_0 variants for the various registry variables

These override the variants without version suffix. Makes
'make check' work properly in environments that set the
suffixed variant for 1.0, such as jhbuild.

11 years agoSet $GST_PLUGIN_PATH_1_0 for tests as well
Martin Pitt [Tue, 15 Jan 2013 12:06:28 +0000 (13:06 +0100)]
Set $GST_PLUGIN_PATH_1_0 for tests as well

jhbuild already sets $GST_PLUGIN_PATH_1_0 which overrides $GST_PLUGIN_PATH. Set
both for the tests to see the locally built elements. Fixes 'make check' in
jhbuild.

11 years agoriff: add waveformatextension generic support
Pete Beardmore [Mon, 24 Dec 2012 18:25:10 +0000 (18:25 +0000)]
riff: add waveformatextension generic support

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=690591

11 years agodocs: fix 0.10-ism in GstTagImageType docs
Tim-Philipp Müller [Mon, 14 Jan 2013 10:34:04 +0000 (10:34 +0000)]
docs: fix 0.10-ism in GstTagImageType docs

The image type is not in the info structure in the sample,
not in the caps.

https://bugzilla.gnome.org/show_bug.cgi?id=691687

11 years agovolume: a return value of FALSE from the controller is not fatal
Stefan Sauer [Wed, 9 Jan 2013 22:15:06 +0000 (23:15 +0100)]
volume: a return value of FALSE from the controller is not fatal

A return value of FALSE here indicates that we don't have control-values. In
0.10 we were returning the default value of the property. Now we don't fill an
array with defaults in the ControlBinding, but leave it up to the element to
handle this case.

11 years agooggdemux: fix incorrect testing of invalid granpos values
Vincent Penquerc'h [Mon, 7 Jan 2013 18:01:31 +0000 (18:01 +0000)]
oggdemux: fix incorrect testing of invalid granpos values

Positive granulepos is valid, -1 granulepos is unset, and all
other negative granulepos are invalid.

Reported by Tim-Philipp Müller

11 years agovideoencoder: Remove done ToDo
Nicolas Dufresne [Mon, 30 Apr 2012 18:31:16 +0000 (14:31 -0400)]
videoencoder: Remove done ToDo

https://bugzilla.gnome.org/show_bug.cgi?id=675761

11 years agovideoencoder: Documentation fix
Nicolas Dufresne [Wed, 2 May 2012 17:50:45 +0000 (13:50 -0400)]
videoencoder: Documentation fix

https://bugzilla.gnome.org/show_bug.cgi?id=675761

11 years agoaudio: don't use uninitialized variable in debug log
Tim-Philipp Müller [Sat, 29 Dec 2012 14:29:53 +0000 (14:29 +0000)]
audio: don't use uninitialized variable in debug log

https://bugzilla.gnome.org/show_bug.cgi?id=667317

11 years agoencoding-profile: add special-casing for asf/wmv/wma file extensions
Tim-Philipp Müller [Sun, 23 Dec 2012 15:51:51 +0000 (15:51 +0000)]
encoding-profile: add special-casing for asf/wmv/wma file extensions

https://bugzilla.gnome.org/show_bug.cgi?id=636753

11 years agowin32: update .def file for new rtsp API
Tim-Philipp Müller [Sun, 23 Dec 2012 15:32:02 +0000 (15:32 +0000)]
win32: update .def file for new rtsp API

11 years agoencoding-profile: add gst_encoding_profile_get_file_extension()
Tim-Philipp Müller [Sun, 23 Dec 2012 15:26:59 +0000 (15:26 +0000)]
encoding-profile: add gst_encoding_profile_get_file_extension()

API: gst_encoding_profile_get_file_extension()

https://bugzilla.gnome.org/show_bug.cgi?id=636753

11 years agotextoverlay: minor clean-up
Tim-Philipp Müller [Sat, 22 Dec 2012 21:19:51 +0000 (21:19 +0000)]
textoverlay: minor clean-up

Remove some macros that aren't needed any more.

11 years agotextoverlay: support shaded background for A420 format
Tim-Philipp Müller [Sat, 22 Dec 2012 21:18:11 +0000 (21:18 +0000)]
textoverlay: support shaded background for A420 format

https://bugzilla.gnome.org/show_bug.cgi?id=687817

11 years agovideo: fix A420 size calculation
Tim-Philipp Müller [Sat, 22 Dec 2012 21:04:11 +0000 (21:04 +0000)]
video: fix A420 size calculation

11 years agodecodebin2: use NO_RESYNC flag
Wim Taymans [Fri, 21 Dec 2012 15:38:36 +0000 (16:38 +0100)]
decodebin2: use NO_RESYNC flag

to avoid the state change function from messing with the state of the elements
that we add.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=690420

11 years agoriff: add channel masks for all formats
Wim Taymans [Fri, 21 Dec 2012 13:03:32 +0000 (14:03 +0100)]
riff: add channel masks for all formats

Add the channel masks for all the extensible formats
Pass the number of channels instead of reading them from caps.

11 years agoriff: add waveformatextension ac3 support
Pete Beardmore [Fri, 21 Dec 2012 02:27:12 +0000 (02:27 +0000)]
riff: add waveformatextension ac3 support

fixes #690591

11 years agoaudioclock: mark as using some other clock
Wim Taymans [Thu, 20 Dec 2012 15:42:42 +0000 (16:42 +0100)]
audioclock: mark as using some other clock

We need to mark our clock as using some other clock source. Alsa source uses the
clock type to decide if it can use alsa driver timestamps or not.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=690465

11 years agoaudiobasesrc: init variable
Wim Taymans [Thu, 20 Dec 2012 15:41:48 +0000 (16:41 +0100)]
audiobasesrc: init variable

We need to initialize this variable because we can't be sure that the subclass
will set it.

11 years agovorbis: fix unused variable
Thijs Vermeir [Tue, 18 Dec 2012 14:34:42 +0000 (15:34 +0100)]
vorbis: fix unused variable

11 years agovideo: use appropriate printf format for gsize
Thijs Vermeir [Tue, 18 Dec 2012 14:31:52 +0000 (15:31 +0100)]
video: use appropriate printf format for gsize

11 years agortp: fix compiler warning
Thijs Vermeir [Tue, 18 Dec 2012 14:27:48 +0000 (15:27 +0100)]
rtp: fix compiler warning

comparison is always true due to limited range of data type

11 years agoalsasrc: return negative value on read error
Tim-Philipp Müller [Mon, 17 Dec 2012 20:32:52 +0000 (20:32 +0000)]
alsasrc: return negative value on read error

Otherwise baseaudiosrc won't go into the error code path.

https://bugzilla.gnome.org/show_bug.cgi?id=690197

11 years agoaudiobasesrc: bail out if subclass posts an error
Tim-Philipp Müller [Mon, 17 Dec 2012 20:28:12 +0000 (20:28 +0000)]
audiobasesrc: bail out if subclass posts an error

Use new ringbuffer ERROR state to make all the various
threads bail out correctly when the subclass posts an
error. It's a bit iffy to communicate this properly
between the different bits of code.

https://bugzilla.gnome.org/show_bug.cgi?id=690197

11 years agoaudioringbuffer: add GST_AUDIO_RING_BUFFER_STATE_ERROR state
Tim-Philipp Müller [Mon, 17 Dec 2012 20:26:33 +0000 (20:26 +0000)]
audioringbuffer: add GST_AUDIO_RING_BUFFER_STATE_ERROR state

API: GST_AUDIO_RING_BUFFER_STATE_ERROR

https://bugzilla.gnome.org/show_bug.cgi?id=690197

11 years agoencodebing: Use the preset_name as the factory name and preset as the name of the...
Thibault Saunier [Sat, 15 Dec 2012 17:43:40 +0000 (14:43 -0300)]
encodebing: Use the preset_name as the factory name and preset as the name of the preset

The naming is not perfect, but at least we can keep the exact same behaviour as
before.

11 years agoaudiobasesrc: Always resync the ringbuffer on the first buffer
Thiago Santos [Tue, 2 Aug 2011 13:11:14 +0000 (10:11 -0300)]
audiobasesrc: Always resync the ringbuffer on the first buffer

In SKEW mode, use next_sample == -1 to check for the first sample
when starting to read samples so it resyncs the ringbuffer and
timestamps are ok.

Suggestion from Teemu Katajisto <teemu.katajisto@digia.com>

https://bugzilla.gnome.org/show_bug.cgi?id=648359

11 years agossaparse: ignore invalid UTF-8 in init section
Tim-Philipp Müller [Mon, 17 Dec 2012 00:59:57 +0000 (00:59 +0000)]
ssaparse: ignore invalid UTF-8 in init section

The codec data blob we get from matroskademux with the SSA/ASS
init section is supposed to be valid UTF-8. If it's not, just
continue with the bits that are valid UTF-8 instead of erroring
out. We don't actually parse the init section yet anyway..

https://bugzilla.gnome.org/show_bug.cgi?id=607630

11 years agosubparse: fix GError leak
Tim-Philipp Müller [Sun, 16 Dec 2012 12:34:14 +0000 (12:34 +0000)]
subparse: fix GError leak

11 years agotypefinding: detect stand-alone SSA/ASS subtitle files
Tim-Philipp Müller [Sun, 16 Dec 2012 12:05:02 +0000 (12:05 +0000)]
typefinding: detect stand-alone SSA/ASS subtitle files

https://bugzilla.gnome.org/show_bug.cgi?id=625113

11 years agoalsa: post error message when audio device disappears
Tim-Philipp Müller [Sat, 15 Dec 2012 19:36:56 +0000 (19:36 +0000)]
alsa: post error message when audio device disappears

Don't loop forever if an USB audio device gets disconnected
while in use. Post an error message instead. This is not
enough yet though, we still need to make the base class
and/or the ring buffer bail out.

https://bugzilla.gnome.org/show_bug.cgi?id=690197

11 years agopbutils: add some more flags and file extensions to internal media type descriptions...
Tim-Philipp Müller [Fri, 14 Dec 2012 20:27:53 +0000 (20:27 +0000)]
pbutils: add some more flags and file extensions to internal media type descriptions table

For later use.

https://bugzilla.gnome.org/show_bug.cgi?id=636753
https://bugzilla.gnome.org/show_bug.cgi?id=549111

11 years agortspconnection: add limit to queued messages
Wim Taymans [Fri, 14 Dec 2012 10:36:58 +0000 (11:36 +0100)]
rtspconnection: add limit to queued messages

Add a limit to the amount of queued bytes or messages we allow on the watch.

API: GstRTSPConnection::gst_rtsp_watch_set_send_backlog()
API: GstRTSPConnection::gst_rtsp_watch_get_send_backlog()

11 years agoplaysink: fix vis switch with format change
Wim Taymans [Thu, 13 Dec 2012 10:31:28 +0000 (11:31 +0100)]
playsink: fix vis switch with format change

Block the pad before the resample and convertor elements to give the a chance to
negotiate new caps with the newly switched vis plugin.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679976

11 years agoFix spec file to match latest header reshuffle
Christian Fredrik Kalager Schaller [Thu, 13 Dec 2012 10:03:30 +0000 (11:03 +0100)]
Fix spec file to match latest header reshuffle

11 years agoext: Fix some compilation errors caused by circular header includes
Sebastian Dröge [Wed, 12 Dec 2012 17:22:31 +0000 (17:22 +0000)]
ext: Fix some compilation errors caused by circular header includes

11 years agolibs: Use foo/foo.h as single-include header consistently everywhere
Sebastian Dröge [Wed, 12 Dec 2012 17:13:10 +0000 (17:13 +0000)]
libs: Use foo/foo.h as single-include header consistently everywhere

https://bugzilla.gnome.org/show_bug.cgi?id=688785

11 years agotypefindfunctions: aac: don't try to unref NULL caps
Tim-Philipp Müller [Wed, 12 Dec 2012 15:31:20 +0000 (15:31 +0000)]
typefindfunctions: aac: don't try to unref NULL caps

11 years agodocs: update
Tim-Philipp Müller [Mon, 10 Dec 2012 13:39:27 +0000 (13:39 +0000)]
docs: update

11 years agodocs: fix up some more GstXOverlay -> GstVideoOverlay
Tim-Philipp Müller [Mon, 10 Dec 2012 13:35:37 +0000 (13:35 +0000)]
docs: fix up some more GstXOverlay -> GstVideoOverlay

https://bugzilla.gnome.org/show_bug.cgi?id=689740

11 years agovideodecoder: Only keep track of timestamps if the subclass is parsing data
Sebastian Dröge [Mon, 10 Dec 2012 11:49:46 +0000 (11:49 +0000)]
videodecoder: Only keep track of timestamps if the subclass is parsing data

Otherwise we just pass through the timestamps directly and don't
need to waste additional memory for them.

Fixes bug #689814.

11 years agortspmessage: Add several missing g-i annotations
Sebastian Rasmussen [Fri, 7 Dec 2012 23:21:17 +0000 (00:21 +0100)]
rtspmessage: Add several missing g-i annotations

https://bugzilla.gnome.org/show_bug.cgi?id=689873