Wim Taymans
bb3fbfc18e
pulseaudiosink: avoid endless caps loop
...
Check if the caps are the same before adding a new probe. Because of reconfigure
events, upstreams sends multiple caps events.
2011-11-23 09:26:17 +01:00
Wim Taymans
b7aa7bca52
add parent to activate functions
2011-11-18 13:57:20 +01:00
Wim Taymans
105650127e
add parent to pad functions
2011-11-17 15:02:55 +01:00
Wim Taymans
6190312214
add parent to query function
2011-11-16 17:27:13 +01:00
Wim Taymans
04579335c4
_accept_caps() -> _query_accept_caps()
2011-11-15 18:04:44 +01:00
Wim Taymans
797523efbd
_peer_get_caps() -> _peer_query_caps()
2011-11-15 18:04:44 +01:00
Wim Taymans
b2d508ac40
update for _get_caps() -> _query_caps()
2011-11-15 18:04:44 +01:00
Wim Taymans
b0ccc61ed3
Merge branch 'master' into 0.11
...
Conflicts:
ext/pulse/pulseaudiosink.c
2011-11-11 19:24:27 +01:00
Thiago Santos
d6a9de9e2a
pulseaudiosink: fix caps leak
2011-11-11 11:02:22 -03:00
Mark Nauwelaerts
37c8abcdbd
pulsesink: do not leak clientname when setting up property
2011-11-11 14:59:04 +01:00
Arun Raghavan
6a8af50111
pulse: Chain up dispose() in pulseaudiosink
2011-11-11 18:05:35 +05:30
Wim Taymans
3d9d2c6c05
update for audiobase* rename
2011-11-11 12:01:17 +01:00
Wim Taymans
86e33bc46b
audio: update for base class rename
2011-11-11 11:53:45 +01:00
Wim Taymans
9daea802fa
fix for ringbuffer rename
2011-11-11 11:33:44 +01:00
Wim Taymans
1ad11e307a
update for ringbuffer change
2011-11-11 11:24:00 +01:00
René Stadler
3293b88ea1
pulsesink: fix compilation with pulseaudio 0.9
2011-11-10 21:37:38 +01:00
Wim Taymans
00d3f3a454
fix for audio clock change
2011-11-10 13:50:34 +01:00
Wim Taymans
88e398b0ea
update for removed fixate function
2011-11-10 11:03:18 +01:00
Wim Taymans
aa0b2b7ea7
updates for new acceptcaps query
2011-11-09 17:38:03 +01:00
Wim Taymans
c48df77320
update for probe api changes
2011-11-08 11:18:06 +01:00
Wim Taymans
de020130e6
fix for probe updates
2011-11-07 17:14:17 +01:00
Wim Taymans
7753feb4fd
pulseaudiosink: more 0.11 fixing
...
Make sure the caps event gets to the sink.
2011-11-04 16:21:13 +01:00
Wim Taymans
f6f8d9bb17
pulseaudiosink: port some more
...
Rename decodebin2 -> decodebin some more
Cleanup up sinkpad event handling
2011-11-04 15:35:42 +01:00
Wim Taymans
1352a08a71
pulseaudiosink: port some more to 0.11
...
We must not forward the caps event. instead we will decide what to do when the
pad block is taken.
Use decodebin instead of decodebin2
2011-11-04 13:56:06 +01:00
Wim Taymans
9a8a8e72c8
structure: fix for api update
2011-11-02 09:06:37 +01:00
Tim-Philipp Müller
9f77b02b15
Update for pad API changes
...
GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*
2011-11-01 00:52:28 +00:00
Wim Taymans
3389e79f38
pulseaudiosink: fix porting errors
...
The probes were ported wrongly and caused deadlocks.
2011-10-28 15:11:10 +02:00
Wim Taymans
65c71b0717
pulse: fix check for empty caps
2011-10-28 12:51:31 +02:00
Wim Taymans
4b6a226263
Merge branch 'master' into 0.11
...
Conflicts:
ext/pulse/pulseaudiosink.c
ext/pulse/pulsesink.c
2011-10-27 16:08:22 +02:00
Wim Taymans
fc4684f4c6
fix compilation
2011-10-27 16:03:17 +02:00
Stefan Sauer
2468492f02
interfaces: clean up the use of iface and class/klass
2011-10-21 14:58:41 +02:00
Arun Raghavan
a7790efd04
pulse: Get caps correctly on pad block
...
Instead of always going upstream, we should first see if already got
caps from a setcaps() call.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-10-18 20:02:55 +05:30
Wim Taymans
6de67bb014
pulsesink: only use is_pcm for 1.0 of pulseaudio
2011-10-18 12:05:01 +02:00
Wim Taymans
0ade1a5822
pulsesink: only disable trickmodes for !pcm
...
Only disable trickmodes when we are not dealing with raw PCM samples.
2011-10-18 11:58:57 +02:00
Thiago Santos
0e167e59d4
pulseaudiosink: Use new GstIterator API correctly
...
GstIterator now uses GValue, use it correctly.
2011-10-12 07:36:09 -03:00
Thiago Santos
b09704020c
pulse: port pulseutil to 0.11
2011-10-10 00:18:56 -03:00
Thiago Santos
4517eb28c0
pulseaudiosink: port to 0.11
2011-10-09 21:19:30 -03:00
Thiago Santos
358767e217
pulsesink: Fixing getcaps function
...
Update getcaps function to 0.11 API
2011-10-09 21:19:27 -03:00
Wim Taymans
87fbd1e784
Merge branch 'master' into 0.11
...
Conflicts:
common
ext/pulse/pulsesink.c
ext/soup/gstsouphttpclientsink.c
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstac3parse.c
gst/rtp/gstrtph264depay.c
gst/rtpmanager/gstrtpjitterbuffer.c
gst/rtpmanager/rtpjitterbuffer.c
gst/rtsp/gstrtspsrc.c
sys/ximage/gstximagesrc.c
2011-09-28 12:44:59 +02:00
Arun Raghavan
8ca420f547
pulse: New pulseaudiosink element to handle format changes
...
This introduces a new bin which wraps around pulsesink and depending on
the formats supported by the sink, plugs in/out a decodebin2 as
required. This allows users to switch sinks on the stream and adapts
accordingly (for example, you could watch a movie in passthrough mode on
your receiver which supports AC3 decode, then plug out and switch to a
non-digital profile to continue uninterrupted on analog output).
The bin is required because doing the same with playbin2/playsink will
require API changes that cannot be made in 0.10. With 0.11/1.0, we
should be able to ask for upstream caps renegotiation to deal with all
this.
https://bugzilla.gnome.org/show_bug.cgi?id=657179
2011-09-19 07:43:04 +05:30
Wim Taymans
e204c5934c
-good: port to new audio caps
2011-09-06 13:16:27 +02:00
Wim Taymans
34ea60526d
pulse: add some more channels
2011-08-24 18:44:01 +02:00
Arun Raghavan
bd604175c5
pulsesink: Trivial indentation fix
2011-08-23 22:48:34 +05:30
Wim Taymans
0eeffef222
pulsesink: port after merge
2011-08-19 16:13:23 +02:00
Wim Taymans
e1b795ac13
Merge branch 'master' into 0.11
2011-08-19 16:12:01 +02:00
David Henningsson
e70020b456
pulsesink: Allow writes in bigger chunks
...
There's no use in splitting the incoming data down to the segsize
limit - by writing as much as possible in one chunk, we increase
performance and avoid PulseAudio unnecessary rewinds.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2011-08-19 09:48:27 +02:00
Wim Taymans
09b15d7dfe
port to new audio caps.
2011-08-18 19:21:07 +02:00
Wim Taymans
71346020d5
pulsesrc: avoid race in starting
...
Sine the base class now does the negotiation from the streaming thread we have
to be careful and check if the stream is ready before changing its corked state.
2011-08-07 11:17:41 +02:00
Wim Taymans
d9750387c1
pulse: more cleanups
2011-08-04 18:41:29 +02:00
Wim Taymans
9ae85cb662
pulsesrc: small cleanups
2011-08-04 18:15:55 +02:00