Vincent Penquerc'h
483514528a
flacenc: do not drop the first data buffer on the floor (and leak it either)
2012-01-12 10:30:56 +00:00
Stefan Sauer
bc1fa747a7
jack: add a transport mode enum
...
Clients can configure the desired behaviour via "transport" property. The
default behaviour is ignoring the transport state. Other modes are master and
slave.
2012-01-11 14:52:14 +01:00
Stefan Sauer
747e63f4e7
jack: deactivate the request_state code
...
When qjackctl is started, transport is stopped by default. This would be a
regression for gstreamer apps that before just started to play right away.
2012-01-10 23:02:45 +01:00
Stefan Sauer
7d4044aa46
jack: add transport control handling
...
This feature allows to start and stop playback from other jack applications (e.g. qjackctl).
2012-01-10 22:35:02 +01:00
Stefan Sauer
0280ab04ed
jack: use jack type for the callback
...
Jack headers have a typedef for the shutdown callback as well.
2012-01-10 15:08:16 +01:00
Nicola Murino
7202d37c9d
jpegdec: fix peer_caps leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=666688
2011-12-26 15:34:47 -03:00
Vincent Penquerc'h
cf344d50b1
cairotextoverlay: port to GstCollectPads2
2011-12-14 18:34:25 +00:00
Tim-Philipp Müller
b8b8454bcb
Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly
...
GStaticRecMutex is part of our API/ABI, not much we can do here
in 0.10 for most of these.
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
330d984288
Use g_thread_try_new() instead of g_thread_crate() with newer glib versions
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
66f6e12888
Work around deprecated thread API in glib master
...
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
8aebe194aa
gdkpixbufsink: fix inverted pixel-aspect-ratio
...
Spotted by Mike Morrison.
https://bugzilla.gnome.org/show_bug.cgi?id=665882
2011-12-11 18:40:31 +00:00
Tim-Philipp Müller
9c1095f474
pulseaudiosink: don't leak pad template
2011-12-11 17:55:14 +00:00
Tim-Philipp Müller
5bb4dcd89c
soup: fix start/stop race in souphttpclientsink
...
Fix crash or hang in generic/states unit test when doing stop()
right after start(). Create main loop in the start function already
and not just in the thread function, so that stop() always has a
valid main loop to quit on. Also, calling g_main_loop_quit() before
g_main_loop_run() won't work and result in the stop function waiting
for the thread to join forever. Therefore, wait for the thread to
be ready and get the main loop running in the start() function, to
be sure stop() always works.
2011-12-11 17:24:20 +00:00
Tim-Philipp Müller
2e078fa556
jack: don't leak client name when freeing the element
...
And add gtk-doc chunks for the new property.
https://bugzilla.gnome.org/show_bug.cgi?id=665872
2011-12-09 15:50:28 +00:00
Nicolas Baron
92cfb335cd
jack: add "client-name" property to jackaudiosink and jackaudiosrc
...
https://bugzilla.gnome.org/show_bug.cgi?id=665872
2011-12-09 15:45:03 +00:00
Thiago Santos
1e6bd5ad57
Revert "pulseaudiosink: fix caps leak"
...
This reverts commit d6a9de9e2a
.
setcaps functions aren't supposed to take ownership of the caps passed
2011-11-29 17:34:49 -03:00
Vincent Penquerc'h
c0e101e93f
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:30:27 +00:00
Arun Raghavan
1f4bb68794
pulsesrc: Implement GstStreamVolume interface
...
PulseAudio 1.0 supports per-source-output volumes, and this exposes the
functionality via the GstStreamVolume interface.
When compiled against pre-1.0 PulseAudio, the interface is not
implemented, and the "volume" or "mute" properties are not available.
This bit of ugliness will go away when we can depend on PulseAudio 1.0
or greater.
https://bugzilla.gnome.org/show_bug.cgi?id=595055
2011-11-25 22:30:41 +05:30
Arun Raghavan
8c6a548698
pulsesrc: Trivial comment copy-paste-o fix
2011-11-25 22:30:41 +05:30
Arun Raghavan
bdf95eb39b
pulseaudiosink: Remove redundant code
2011-11-25 22:30:41 +05:30
Arun Raghavan
f6f1605468
pulseaudiosink: Clean up refcounting in event probe
...
Makes sure we don't leak a refcount if the object is disposed before a
NEWSEGMENT turns up.
2011-11-25 22:30:41 +05:30
Mark Nauwelaerts
7df8122322
speexenc: ensure to free allocated padded data
2011-11-16 19:08:05 +01:00
Mark Nauwelaerts
c0d86fd26f
speexenc: reset tag setter interface when appropriate
2011-11-16 19:06:09 +01:00
Mark Nauwelaerts
413f445455
flacenc: reset tag setter interface when appropriate
2011-11-16 19:06:07 +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
Vincent Penquerc'h
5a73374f2c
flacdec: fix off by one between granpos and last_stop
2011-11-07 12:38:10 +00:00
Vincent Penquerc'h
6a25727321
cairotextoverlay: add a 'silent' property to skip rendering
...
https://bugzilla.gnome.org/show_bug.cgi?id=662856
2011-11-07 12:35:26 +00:00
Tim-Philipp Müller
d6e1f53233
flacenc: remove dead code from header
...
We require a new-enough libflac that this condition will never apply.
2011-10-30 19:30:14 +00:00
Tim-Philipp Müller
ff40deb139
jpegdec: add sof-marker to template caps, so we don't get plugged for lossless jpeg
...
jpegdec (using libjpeg 6.2/8) can't decode some lossless types of JPEG.
https://bugzilla.gnome.org/show_bug.cgi?id=556648
2011-10-28 12:10:34 +01:00
René Stadler
41116224c8
pngenc: increase arbitrary resolution limits
...
Apparently libpng can technically do up to 2^31-1 rows and columns. However it
imposes an (arbitrary) default limit of 1 million (that could theoretically be
lifted by using some additional API).
Moved array allocation to the heap now.
2011-10-21 10:27:04 +02:00
René Stadler
db1f10adc8
pngenc: don't unconditionally allocate 4096 pointers on the stack
...
Instead allocate as many as needed (on the stack still).
2011-10-21 10:26:48 +02:00
René Stadler
65f9354803
pngenc: ensure setcaps was called before chain function
...
This is needed to properly error out for e.g. "fakesrc ! pngenc ! fakesink".
2011-10-21 10:26:20 +02:00
René Stadler
7e390c4635
pngenc: validate input buffer size
...
Just for safety; of course such mismatch represents a bug in another element.
2011-10-21 10:25:51 +02:00
René Stadler
9eb55c3d8f
pngenc: make setcaps more robust, use gstvideo functions
...
A setcaps function needs to actually verify the caps carefully. In this case,
it was possible to e.g. link a video decoder with YUV+RGB template caps to
pngenc. That would cause a crash when the decoder pushes a YUV buffer. Same
thing when pushing a valid buffer that exceeds the resolution limits.
Also, missing framerate caps field would cause a glib critical warning due to
invalid GValue. This fails hard now.
2011-10-21 10:25:08 +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
Tim-Philipp Müller
e9ad06e202
wavpackenc: don't unref buffer with gst_object_unref()
2011-10-18 12:25:14 +01:00
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
Sjoerd Simons
95db648516
jpegdec: Implement upstream negotiation
...
Add upstream negotiation for jpegdec. Fixes #660275
2011-10-10 21:37:10 +01:00
Mark Nauwelaerts
00a91fc061
speexenc: only push header buffers following initial events
2011-10-09 21:32:32 +02:00
Tim-Philipp Müller
ca77c96c51
speexenc: initialise variable before adding to it
2011-09-29 23:21:46 +01:00
Mark Nauwelaerts
c5354bee04
speexdec: port to audiodecoder
2011-09-29 17:33:25 +02:00
Mark Nauwelaerts
53476c1580
speexenc: clean up some unused remnants
2011-09-29 17:33:23 +02:00
Mark Nauwelaerts
c1909c32c5
speexenc: port to audioencoder
2011-09-29 17:33:21 +02:00
Mark Nauwelaerts
e8bcd41d73
flacenc: port to audioencoder
2011-09-28 16:14:46 +02:00
Tim-Philipp Müller
3828537857
soup: rename souphttpsink to souphttpclientsink
...
To avoid confusion, and because we might want a server
sink at some point too.
https://bugzilla.gnome.org/show_bug.cgi?id=659947
2011-09-25 15:13:39 +01:00
Tim-Philipp Müller
be7cbd4c21
souphttpsink: don't create unused second sink pad object
...
The base class will create the sink pad.
2011-09-23 16:39:46 +01:00
Vincent Penquerc'h
7e4574e968
speexenc: do not use invalid buffer timestamps
2011-09-19 09:37:58 +02:00