platform/upstream/gstreamer.git
12 years agorename GstBaseAudio* ->GstAudioBase*
Wim Taymans [Fri, 11 Nov 2011 10:52:47 +0000 (11:52 +0100)]
rename GstBaseAudio* ->GstAudioBase*

12 years agorename files to match contained objects
Wim Taymans [Fri, 11 Nov 2011 10:33:15 +0000 (11:33 +0100)]
rename files to match contained objects

12 years agoaudio: GstRingBuffer -> GstAudioRingBuffer
Wim Taymans [Fri, 11 Nov 2011 10:21:41 +0000 (11:21 +0100)]
audio: GstRingBuffer -> GstAudioRingBuffer

12 years agoaudio: rename internal audio ringbuffer
Wim Taymans [Fri, 11 Nov 2011 09:54:39 +0000 (10:54 +0100)]
audio: rename internal audio ringbuffer

12 years agoremove bogus files
Wim Taymans [Fri, 11 Nov 2011 09:27:27 +0000 (10:27 +0100)]
remove bogus files

They got somehow commited in 7012e88090e69339c60a4eb9449f7a7e39ca6aa3

12 years agocontroller: port controller api changes
Stefan Sauer [Thu, 10 Nov 2011 21:02:35 +0000 (23:02 +0200)]
controller: port controller api changes

12 years agoupdate for adapter api changes
Wim Taymans [Thu, 10 Nov 2011 17:32:39 +0000 (18:32 +0100)]
update for adapter api changes

12 years agotests: fix build after removal of base64 lib
Wim Taymans [Thu, 10 Nov 2011 17:30:31 +0000 (18:30 +0100)]
tests: fix build after removal of base64 lib

12 years agovideosink: reset padding
Wim Taymans [Thu, 10 Nov 2011 16:52:36 +0000 (17:52 +0100)]
videosink: reset padding

12 years agortsp: remove deprecated base64 library
Wim Taymans [Thu, 10 Nov 2011 16:39:10 +0000 (17:39 +0100)]
rtsp: remove deprecated base64 library

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 10 Nov 2011 16:26:12 +0000 (17:26 +0100)]
Merge branch 'master' into 0.11

12 years agortp: fix de/payloaders
Wim Taymans [Thu, 10 Nov 2011 16:18:00 +0000 (17:18 +0100)]
rtp: fix de/payloaders

gst_basertppayload -> gst_base_rtp_payload
Add pts/dts support in the depayloader
Remove old timestamp code
Add a default getcaps function so subclasses can chain up to it instead of
relying on the return value of the getcaps function.

12 years agobaseaudiosink: make unsigned properties unsigned, not signed
Vincent Penquerc'h [Thu, 10 Nov 2011 15:55:31 +0000 (15:55 +0000)]
baseaudiosink: make unsigned properties unsigned, not signed

12 years agoaudio: fix base class vmethods
Wim Taymans [Thu, 10 Nov 2011 15:24:12 +0000 (16:24 +0100)]
audio: fix base class vmethods

12 years agoalsa: fix negotiation
Wim Taymans [Thu, 10 Nov 2011 15:02:01 +0000 (16:02 +0100)]
alsa: fix negotiation

Don't assume the format is a string because now it is a list of string in the
template.
Chain up to the parent class implementation of get_caps.

12 years agoaudiosrc: avoid deadlock
Wim Taymans [Thu, 10 Nov 2011 15:00:28 +0000 (16:00 +0100)]
audiosrc: avoid deadlock

12 years agovorbisenc: fix getcaps ignoring filter caps
Vincent Penquerc'h [Thu, 10 Nov 2011 14:37:02 +0000 (14:37 +0000)]
vorbisenc: fix getcaps ignoring filter caps

12 years agoaudioconvert: truncate caps in _fixate
Vincent Penquerc'h [Thu, 10 Nov 2011 14:24:30 +0000 (14:24 +0000)]
audioconvert: truncate caps in _fixate

Otherwise the resulting caps may not be fixed.

12 years agooggdemux: do not try to write empty header buffers
Vincent Penquerc'h [Thu, 10 Nov 2011 14:18:54 +0000 (14:18 +0000)]
oggdemux: do not try to write empty header buffers

Those are valid, and the EOS skeleton packet is actually empty.

12 years agooggmux: split request pad templates into audio/video/subtitle
Vincent Penquerc'h [Thu, 10 Nov 2011 13:02:13 +0000 (13:02 +0000)]
oggmux: split request pad templates into audio/video/subtitle

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

12 years agoaudioclock: remove _full version
Wim Taymans [Thu, 10 Nov 2011 12:50:08 +0000 (13:50 +0100)]
audioclock: remove _full version

12 years agoappsink: fix header
Wim Taymans [Thu, 10 Nov 2011 12:45:39 +0000 (13:45 +0100)]
appsink: fix header

12 years agopbutils: Fix introspection annotations
Edward Hervey [Thu, 10 Nov 2011 11:47:51 +0000 (12:47 +0100)]
pbutils: Fix introspection annotations

Fixes #663689

12 years agotests: Remove old structures from struct_arm.h
Edward Hervey [Thu, 10 Nov 2011 10:42:10 +0000 (11:42 +0100)]
tests: Remove old structures from struct_arm.h

12 years agoupdate for removed fixate functions
Wim Taymans [Thu, 10 Nov 2011 10:02:12 +0000 (11:02 +0100)]
update for removed fixate functions

12 years agoupates for new ACCEPT_CAPS query
Wim Taymans [Wed, 9 Nov 2011 16:37:31 +0000 (17:37 +0100)]
upates for new ACCEPT_CAPS query

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 9 Nov 2011 11:11:59 +0000 (12:11 +0100)]
Merge branch 'master' into 0.11

Conflicts:
common
ext/pango/gsttextoverlay.c
gst-libs/gst/video/video.c

12 years agoremove query types
Wim Taymans [Wed, 9 Nov 2011 10:47:54 +0000 (11:47 +0100)]
remove query types

12 years agoremove streamselector
Wim Taymans [Wed, 9 Nov 2011 10:06:10 +0000 (11:06 +0100)]
remove streamselector

It was only used by playbin, which is gone now

12 years agostreamselector: GstSelectorPad -> GstStreamSelectorPad
Wim Taymans [Wed, 9 Nov 2011 09:53:38 +0000 (10:53 +0100)]
streamselector: GstSelectorPad -> GstStreamSelectorPad

Rename object to avoid conflicts with an object of the same name in core.

12 years agostreamselector: cleanups
Wim Taymans [Wed, 9 Nov 2011 09:37:02 +0000 (10:37 +0100)]
streamselector: cleanups

12 years agoconfigure: suppress warnings about unused variables if debugging system is disabled...
Tim-Philipp Müller [Wed, 9 Nov 2011 00:36:51 +0000 (00:36 +0000)]
configure: suppress warnings about unused variables if debugging system is disabled in core

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

12 years agotextoverlay: continue processing text when silent
Vincent Penquerc'h [Thu, 27 Oct 2011 13:48:52 +0000 (14:48 +0100)]
textoverlay: continue processing text when silent

This prevents playback wegding when text buffers are
left to pile up.

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

12 years agoupdate for pad probe api changes
Wim Taymans [Tue, 8 Nov 2011 10:07:18 +0000 (11:07 +0100)]
update for pad probe api changes

12 years agovideo: log important details and fix format strings
Stefan Sauer [Tue, 8 Nov 2011 07:22:56 +0000 (08:22 +0100)]
video: log important details and fix format strings

If we complain about wrong parameters passed, also log the actual value.

12 years agowin32: update .def file for new audiosink API
Tim-Philipp Müller [Tue, 8 Nov 2011 00:16:56 +0000 (00:16 +0000)]
win32: update .def file for new audiosink API

API: gst_base_audio_sink_get_alignment_threshold()
API: gst_base_audio_sink_set_alignment_threshold()
API: gst_base_audio_sink_get_discont_wait()
API: gst_base_audio_sink_set_discont_wait()

12 years agoexamples: sprinkle GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS in seek test utility
Tim-Philipp Müller [Mon, 7 Nov 2011 23:41:33 +0000 (23:41 +0000)]
examples: sprinkle GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS in seek test utility

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

12 years agodocs: fix up some Since: markers
Tim-Philipp Müller [Mon, 7 Nov 2011 23:05:44 +0000 (23:05 +0000)]
docs: fix up some Since: markers

12 years agovideoconvert: fix r210 writing only half a scanline
Vincent Penquerc'h [Mon, 7 Nov 2011 18:19:51 +0000 (18:19 +0000)]
videoconvert: fix r210 writing only half a scanline

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 7 Nov 2011 16:18:06 +0000 (17:18 +0100)]
Merge branch 'master' into 0.11

12 years agofix for new pad probe types
Wim Taymans [Mon, 7 Nov 2011 16:10:48 +0000 (17:10 +0100)]
fix for new pad probe types

Restore the previous behaviour by only blocking downstream items and not
upstream events.

12 years agotheoraenc: fix speed level failure test
Vincent Penquerc'h [Fri, 4 Nov 2011 10:34:27 +0000 (10:34 +0000)]
theoraenc: fix speed level failure test

It was testing the opposite of what it thought it was.

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

12 years agotheoraenc: make logically static const data just so
Vincent Penquerc'h [Fri, 4 Nov 2011 10:57:40 +0000 (10:57 +0000)]
theoraenc: make logically static const data just so

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

12 years agotheoraenc: use th_packet_iskeyframe instead of peeking at bits
Vincent Penquerc'h [Fri, 4 Nov 2011 10:58:15 +0000 (10:58 +0000)]
theoraenc: use th_packet_iskeyframe instead of peeking at bits

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

12 years agotheoraenc: trivial comment typos fixes
Vincent Penquerc'h [Fri, 4 Nov 2011 10:59:00 +0000 (10:59 +0000)]
theoraenc: trivial comment typos fixes

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

12 years agotheoraenc: warn when trying to set an ignored obsolete property
Vincent Penquerc'h [Fri, 4 Nov 2011 10:59:12 +0000 (10:59 +0000)]
theoraenc: warn when trying to set an ignored obsolete property

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

12 years agotheoraenc: refuse to get to READY if the encoder was disabled
Vincent Penquerc'h [Fri, 4 Nov 2011 11:10:46 +0000 (11:10 +0000)]
theoraenc: refuse to get to READY if the encoder was disabled

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

12 years agooggdemux: survive skeleton finding length behind our backs in push mode
Vincent Penquerc'h [Tue, 18 Oct 2011 16:58:49 +0000 (17:58 +0100)]
oggdemux: survive skeleton finding length behind our backs in push mode

In push mode, we determine duration by doing a seek to the end of the
stream. However, a skeleton stream with an index will cause the duration
to be known already, and we end up never setting the push_time_duration
variable which we use to know duration has been determined.

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

12 years agovalgrind: add ALSA leaks fixed by snd_config_update_free_global
Vincent Penquerc'h [Wed, 5 Oct 2011 14:29:54 +0000 (15:29 +0100)]
valgrind: add ALSA leaks fixed by snd_config_update_free_global

If they go when calling snd_config_update_free_global, they're
not really bug leaks, but more like intentional ones we don't
want to get told about.

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

12 years agoconvertbin: port to 0.11 again
Wim Taymans [Mon, 7 Nov 2011 11:43:37 +0000 (12:43 +0100)]
convertbin: port to 0.11 again

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 7 Nov 2011 11:23:15 +0000 (12:23 +0100)]
Merge branch 'master' into 0.11

Conflicts:
common
configure.ac
gst-libs/gst/audio/gstbaseaudiosink.c
gst/playback/gstdecodebin2.c
gst/playback/gstplaysinkaudioconvert.c
gst/playback/gstplaysinkaudioconvert.h
gst/playback/gstplaysinkvideoconvert.c
gst/playback/gstplaysinkvideoconvert.h

12 years agobaseaudiosink: make discont-wait configurable
Felipe Contreras [Mon, 2 May 2011 10:05:28 +0000 (13:05 +0300)]
baseaudiosink: make discont-wait configurable

Now we can configure how much time to wait before deciding that a
discont has happened.

Also, adds getter and setter to allow derived implementations to set
this value upon construction.

Suggestions and several improvements by Havard Graff.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
12 years agobaseaudiosink: delay the resyncing of timestamp vs ringbuffertime
Felipe Contreras [Mon, 7 Nov 2011 10:31:47 +0000 (11:31 +0100)]
baseaudiosink: delay the resyncing of timestamp vs ringbuffertime

A common problem for audio-playback is that the timestamps might not
be completely linear. This is specially common when doing streaming over
a network, where you can have jittery and/or bursty packettransmission,
which again will often be reflected on the buffertimestamps.

Now, the current implementation have a threshold that says how far the
buffertimestamp is allowed o drift from the ideal aligned time in the
ringbuffer. This was an instant reaction, and ment that if one buffer
arrived with a timestamp that would breach the drift-tolerance, a resync
would take place, and the result would be an audible gap for the
listener.

The annoying thing would be that in the case of a "timestamp-outlier",
you would first resync one way, say +100ms, and then, if the next
timestamp was "back on track", you would end up resyncing the other way
(-100ms) So in fact, when you had only one buffer with slightly off
timestamping, you would end up with *two* audible gaps. This is the
problem this patch addresses.

The way to "fix" this problem with the previous implementation, would
have been to increase the "drift-tolerance" to a value that was greater
than the largest timestamp-outlier one would normally expect.  The big
problem with this approach, however, is that it will allow normal
operations with a huge offset timestamp vs running-time, which is
detrimental to lip-sync. If the drift-tolerance is set to 200ms, it
basically means that lip-sync can easily end up being off by that much.

This patch will basically start a timer when the first breach of
drift-tolerance is detected. If any following timestamp for the next n
nanoseconds gets "back on track" within the threshold, it has basically
eliminated the effect of an outlier, and the timer is stopped.  If,
however, all timestamps within this time-limit are breaching the
threshold, we are probably facing a more permanent offset in the
timestamps, and a resync is allowed to happen.

So basically this patch offers something as rare as both higher
accuracy, it terms of allowing smaller drift-tolerances, as well as much
smoother, less glitchy playback!

Commit message and improvments by Havard Graff.

Fixes bug #640859.

12 years agobaseaudiosink: rename some variables
Felipe Contreras [Mon, 7 Nov 2011 10:18:34 +0000 (11:18 +0100)]
baseaudiosink: rename some variables

12 years agobaseaudiosink: use gst_util_uint64_scale_int when appropriate
Felipe Contreras [Sat, 21 May 2011 13:16:42 +0000 (16:16 +0300)]
baseaudiosink: use gst_util_uint64_scale_int when appropriate

It's probably safer this way.

12 years agobaseaudiosink: split drift-tolerance into alignment-threshold
Felipe Contreras [Sat, 21 May 2011 12:49:20 +0000 (15:49 +0300)]
baseaudiosink: split drift-tolerance into alignment-threshold

So that drift-tolerance is used for clock slaving resync, and
alignment-threshold is for timestamp drift.

12 years agobaseaudiosink: trivial comment fixes
Felipe Contreras [Sat, 21 May 2011 13:02:36 +0000 (16:02 +0300)]
baseaudiosink: trivial comment fixes

Some found by Havard Graff.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
12 years agoadder: don't ref NULL caps
Stefan Sauer [Fri, 4 Nov 2011 21:00:43 +0000 (22:00 +0100)]
adder: don't ref NULL caps

12 years agovolume: use new api to check activity of a controller
Stefan Sauer [Fri, 4 Nov 2011 20:00:29 +0000 (21:00 +0100)]
volume: use new api to check activity of a controller

12 years agocontroller: port to new location and api changes
Stefan Sauer [Fri, 4 Nov 2011 14:23:25 +0000 (15:23 +0100)]
controller: port to new location and api changes

12 years agoplayback: name conversion elements differently
Wim Taymans [Fri, 4 Nov 2011 16:40:01 +0000 (17:40 +0100)]
playback: name conversion elements differently

12 years agobuild: add audio libs (pulled by pbutils) to avoid linking against system version
Stefan Sauer [Fri, 4 Nov 2011 14:36:25 +0000 (15:36 +0100)]
build: add audio libs (pulled by pbutils) to avoid linking against system version

12 years agoringbuffer: store bpf in the right variable
Wim Taymans [Fri, 4 Nov 2011 12:21:24 +0000 (13:21 +0100)]
ringbuffer: store bpf in the right variable

12 years agodocs: fix some docs
Wim Taymans [Fri, 4 Nov 2011 12:01:52 +0000 (13:01 +0100)]
docs: fix some docs

12 years agouridecodebin: fix template name
Wim Taymans [Fri, 4 Nov 2011 12:00:36 +0000 (13:00 +0100)]
uridecodebin: fix template name

12 years agooggdemux: fix somtimes pad
Wim Taymans [Fri, 4 Nov 2011 11:53:33 +0000 (12:53 +0100)]
oggdemux: fix somtimes pad

12 years agofix pad template names for request pads
Wim Taymans [Fri, 4 Nov 2011 09:48:50 +0000 (10:48 +0100)]
fix pad template names for request pads

12 years agosubtitleoverlay: Use gst_caps_merge() instead of gst_caps_union()
Sebastian Dröge [Fri, 4 Nov 2011 09:37:12 +0000 (10:37 +0100)]
subtitleoverlay: Use gst_caps_merge() instead of gst_caps_union()

This keeps the caps order and is more efficient.

12 years agoplaysinkconvertbin: Use gst_caps_merge() instead of gst_caps_union()
Sebastian Dröge [Fri, 4 Nov 2011 09:36:51 +0000 (10:36 +0100)]
playsinkconvertbin: Use gst_caps_merge() instead of gst_caps_union()

This keeps the caps order and is more efficient.

12 years agortpbuffer: Fix compilation issues with gcc 4.6.1
Edward Hervey [Fri, 4 Nov 2011 07:41:00 +0000 (08:41 +0100)]
rtpbuffer: Fix compilation issues with gcc 4.6.1

12 years agowin32: Update for modified API
Edward Hervey [Fri, 4 Nov 2011 07:58:23 +0000 (08:58 +0100)]
win32: Update for modified API

12 years agoReally remove all mention of gstnetbuffer
Edward Hervey [Fri, 4 Nov 2011 07:57:45 +0000 (08:57 +0100)]
Really remove all mention of gstnetbuffer

12 years agoAdd missing default include paths to androgenizer call
Reynaldo H. Verdejo Pinochet [Fri, 4 Nov 2011 00:35:38 +0000 (21:35 -0300)]
Add missing default include paths to androgenizer call

Fixes building tag/ with Android's NDK

12 years agoupdate for request pads change.
Wim Taymans [Thu, 3 Nov 2011 16:58:57 +0000 (17:58 +0100)]
update for request pads change.

12 years agonet: remove net library, it's now in core
Wim Taymans [Thu, 3 Nov 2011 15:48:51 +0000 (16:48 +0100)]
net: remove net library, it's now in core

12 years agodecodebin2: Post all source pads in stream-topology messages as "element-srcpad"...
Mart Raudsepp [Thu, 3 Nov 2011 12:10:31 +0000 (14:10 +0200)]
decodebin2: Post all source pads in stream-topology messages as "element-srcpad" values

This allows us to easily get ahold of all pads on a stream-topology message, including
pre-decoder ones, while "pad" only gives us access to the raw pads (as used by discoverer).

12 years agodecodebin2: Use existing "caps" quark for one of the structure sets
Mart Raudsepp [Thu, 20 Oct 2011 10:04:52 +0000 (13:04 +0300)]
decodebin2: Use existing "caps" quark for one of the structure sets

12 years agotests: fix netbuffer test
Wim Taymans [Thu, 3 Nov 2011 13:19:50 +0000 (14:19 +0100)]
tests: fix netbuffer test

12 years agoplaysinkconvertbin: Don't add identity multiple times
Sebastian Dröge [Thu, 3 Nov 2011 09:07:27 +0000 (10:07 +0100)]
playsinkconvertbin: Don't add identity multiple times

12 years agoplaysink: send flush start/stop event when we switch elements
Vincent Penquerc'h [Wed, 19 Oct 2011 13:13:39 +0000 (14:13 +0100)]
playsink: send flush start/stop event when we switch elements

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

12 years agoplaysink: re-add identity where appropriate
Vincent Penquerc'h [Wed, 19 Oct 2011 13:13:30 +0000 (14:13 +0100)]
playsink: re-add identity where appropriate

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

12 years agoplaysink: lock the new {set,get}_property functions
Vincent Penquerc'h [Wed, 19 Oct 2011 13:12:01 +0000 (14:12 +0100)]
playsink: lock the new {set,get}_property functions

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

12 years agoplaysinkconvertbin: Be more consistent with ghostpad targets
Thiago Santos [Mon, 17 Oct 2011 23:14:54 +0000 (23:14 +0000)]
playsinkconvertbin: Be more consistent with ghostpad targets

Set up targets on READY->PAUSED state change to passthrough by
default. This prevents the targets from being unset on the
first run, while the 'raw' variable would mean that some
target is set.

12 years agoplaysinkconvertbin: No need to remove the identity
Thiago Santos [Mon, 17 Oct 2011 22:41:49 +0000 (22:41 +0000)]
playsinkconvertbin: No need to remove the identity

The identity element should be handled by the GstBin's cleanup,
removing it on the remove_elements function might remove it
too soon, as this function can be called directly from playsink

12 years agoplaysinkconvertbin: Adding some debug messages
Thiago Santos [Mon, 17 Oct 2011 22:41:11 +0000 (22:41 +0000)]
playsinkconvertbin: Adding some debug messages

Adds a couple debug messages and some g_assert to make debugging
easier

12 years agoplaysink-videoconvert: Fix warning on build
Thiago Santos [Mon, 17 Oct 2011 22:02:03 +0000 (22:02 +0000)]
playsink-videoconvert: Fix warning on build

Remove unused variable

12 years agoplaysink: handle after-the-fact changes in converters/volume booleans
Vincent Penquerc'h [Mon, 17 Oct 2011 21:05:30 +0000 (21:05 +0000)]
playsink: handle after-the-fact changes in converters/volume booleans

The playsink was nastily poking a boolean in the structure.
Make those booleans properties, so we are told when they change,
and rebuild the conversion bin when they do.

Some cleanup to go with it too.

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

12 years agoplaysink: handle NULL cached caps in getcaps
Vincent Penquerc'h [Mon, 17 Oct 2011 18:43:06 +0000 (18:43 +0000)]
playsink: handle NULL cached caps in getcaps

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

12 years agoplaysink: consider both passthrough and converter caps in getcaps
Vincent Penquerc'h [Mon, 17 Oct 2011 18:06:00 +0000 (18:06 +0000)]
playsink: consider both passthrough and converter caps in getcaps

Since we can switch between both modes.

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

12 years agoplaysink: cache inner converter bin caps
Vincent Penquerc'h [Mon, 17 Oct 2011 17:54:27 +0000 (17:54 +0000)]
playsink: cache inner converter bin caps

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

12 years agoplaysink: keep both raw and non raw pipelines at all times
Vincent Penquerc'h [Mon, 17 Oct 2011 17:26:48 +0000 (17:26 +0000)]
playsink: keep both raw and non raw pipelines at all times

and switch between them as needed.

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

12 years agoplaysink: only compare against the media type we expect
Vincent Penquerc'h [Mon, 17 Oct 2011 17:29:50 +0000 (17:29 +0000)]
playsink: only compare against the media type we expect

ie, audio/x-raw- for audio, video/x-raw- for video.

Add a trailing - to be more specific. I doubt there's anything
like audio/x-rawhide or something, but you never know.

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

12 years agoplaysink: refactor the converter bins since they are almost identical
Vincent Penquerc'h [Mon, 17 Oct 2011 16:55:30 +0000 (16:55 +0000)]
playsink: refactor the converter bins since they are almost identical

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

12 years agoplaysink: fix passthrough mode (hopefully)
Vincent Penquerc'h [Mon, 17 Oct 2011 13:00:05 +0000 (13:00 +0000)]
playsink: fix passthrough mode (hopefully)

The code was doing counterintuitive rewiring of pads when the
bin did not contain any elements. We now add an identity element
in that case, which makes it simpler, and should fix the AC3
passthrough mode when using pulseaudio (but I don't see the bug
here so can't test).

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

12 years agoplaysink: handle NULL ghost pad target
Vincent Penquerc'h [Fri, 7 Oct 2011 11:16:44 +0000 (11:16 +0000)]
playsink: handle NULL ghost pad target

For the src pad anyway.

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

12 years agoRevert "playsinkaudioconvert: Fix warning when there is no target pad yet"
Sebastian Dröge [Thu, 3 Nov 2011 08:56:14 +0000 (09:56 +0100)]
Revert "playsinkaudioconvert: Fix warning when there is no target pad yet"

This reverts commit f35c51c14915729f0fdf2b348f351ea7e81027cc.

Better patch coming soon.

12 years agooggmux: Remove obsolete #include
Sebastian Dröge [Fri, 28 Oct 2011 08:07:42 +0000 (10:07 +0200)]
oggmux: Remove obsolete #include

12 years agodocs: add draft for subtitle overlays to design docs
Tim-Philipp Müller [Wed, 2 Nov 2011 23:33:18 +0000 (23:33 +0000)]
docs: add draft for subtitle overlays to design docs

Main purpose is to provide a generic way to make subtitles work on
top of non-raw video (vaapi, vdpau, etc.).

12 years agoconfigure: Allow setting GLIB_EXTRA_CFLAGS
Colin Walters [Wed, 2 Nov 2011 19:31:11 +0000 (15:31 -0400)]
configure: Allow setting GLIB_EXTRA_CFLAGS

Similar to gstreamer commit bb2020b1e794210cf7d44c6626122f611016a620

12 years agoupdate for tag API removal
Wim Taymans [Wed, 2 Nov 2011 11:08:22 +0000 (12:08 +0100)]
update for tag API removal