Commit graph

2579 commits

Author SHA1 Message Date
Vincent Penquerc'h
631f42eee8 opusenc: only use mono streams for > 2 channels
I'm getting odd results with packing streams into stereo
streams, and using only mono streams is enough in all cases.
2011-11-25 15:31:59 +00:00
Vincent Penquerc'h
65079e3ada opus: add some more debug information about channel mapping 2011-11-25 15:31:59 +00:00
Vincent Penquerc'h
2e0e118676 opusparse: remove dead assigments
We now only keep a ref to the headers for later reuse.
2011-11-25 15:31:59 +00:00
Vincent Penquerc'h
f78c83a0b6 opusenc: do not cause the decoder to apply the channel mapping again
Since we already reorder channels, we do not want to write that
reordering in the header, or the decoder will do it again.
2011-11-25 15:31:59 +00:00
Vincent Penquerc'h
5f85454020 opusdec: fix bogus assertion 2011-11-25 15:31:59 +00:00
Edward Hervey
b78b980d72 Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	ext/faac/gstfaac.c
	ext/opus/gstopusdec.c
	ext/opus/gstopusenc.c
	gst/audiovisualizers/gstspacescope.c
	gst/colorspace/colorspace.c
2011-11-25 12:48:58 +01:00
Tim-Philipp Müller
ca772ed321 vp8dec: use new basevideodecoder API to drop frames and get QoS messages posted 2011-11-25 11:37:57 +00:00
Vincent Penquerc'h
78337fc198 opus: pre-skip and output gain are little endian, remove reminder note 2011-11-24 13:40:34 +00:00
Vincent Penquerc'h
0ca385a970 opus: multichannel support 2011-11-24 13:40:34 +00:00
Vincent Penquerc'h
5da03cd2a4 opus: switch to multistream API
It's very similar to the basic API, and is a superset ot it,
which will allow encoding and decoding more than 2 channels.
2011-11-24 13:40:34 +00:00
Vincent Penquerc'h
745cc8d4e4 opusdec: shuffle supported sample rates to favor 48000 2011-11-24 13:40:34 +00:00
Vincent Penquerc'h
f1477522de opusenc: remove useless setup field 2011-11-24 13:40:34 +00:00
Tim-Philipp Müller
6b06fa1d34 neonhttpsrc: remove iradio-* properties
Should send tags instead.
2011-11-24 01:56:07 +00:00
Tim-Philipp Müller
7817bf24f3 neonhttpsrc: unconditionally send icecast request header, remove iradio-mode property 2011-11-24 01:53:36 +00:00
Tim-Philipp Müller
8235729ada mmssrc: make connection-speed property a guint64
Even if the library limits it to an int.
2011-11-24 01:22:13 +00:00
Tim-Philipp Müller
026af880b5 faac, rtmp: more printf format fixes in debug messages
https://bugzilla.gnome.org/show_bug.cgi?id=662618
2011-11-23 23:43:48 +00:00
Mark Nauwelaerts
9680108d77 faac: do not leak buffer when no encoded data yet or encoding error 2011-11-23 23:30:00 +01:00
Mark Nauwelaerts
8b5fbcaedd dtsdec: port to audiodecoder 2011-11-23 23:29:10 +01:00
Krzysztof Krakowiak
4286414e00 modplug: fix modules playing as mono instead of stereo
replaced broken if-return logic for fixating rate and number
of channels that caused that modules were always (after
successful fixation of rate) played as mono (instead of
stereo) by correct one with appropiate warnings.

https://bugzilla.gnome.org/show_bug.cgi?id=619035
2011-11-23 15:30:28 +00:00
Vincent Penquerc'h
4bd5ef9bc5 opusdec: implement replay gain
It would ideally be better to leave this to a rgvolume element,
but we don't control the pipeline. So do it by default, and allow
disabling it via a property, so the correct volume should always
be output.
2011-11-23 14:03:30 +00:00
Vincent Penquerc'h
b80f52a729 opusdec: add in-band FEC support
This allows reconstruction of lost packets if FEC info is included
in the next packet, at the cost of extra latency. Since we do not
know if the stream has FEC (and this can change at runtime), we
always incur the latency, even if we never lose any frame, or see
any FEC information. Off by default.
2011-11-23 12:08:01 +00:00
Wim Taymans
0a9387c43c Merge branch 'master' into 0.11
Conflicts:
	ext/opus/gstopusdec.c
	ext/opus/gstopusenc.c
	ext/opus/gstopusparse.c
	gst/audiovisualizers/gstwavescope.c
	gst/filter/Makefile.am
	gst/filter/gstfilter.c
	gst/filter/gstiir.c
	gst/playondemand/gstplayondemand.c
2011-11-23 11:08:39 +01:00
Tim-Philipp Müller
cd851cc712 opusenc: mark properties changeable at runtime with GST_PARAM_MUTABLE_PLAYING 2011-11-22 20:27:50 +00:00
Vincent Penquerc'h
5e1df00674 opusenc: allow setting most properties at PLAYING time
Opus allows these to be changed during encoding, transparently
to the decoder.
2011-11-22 17:04:09 +00:00
Vincent Penquerc'h
5367aa8dbf opusenc: bound the bitrate to more sensible values
Go from the bounds mentioned in the spec, and allow some more
variation.
In particular, don't allow silly low bitrates, and allow reaching
the maximum useful bitrate.
2011-11-22 16:14:06 +00:00
Vincent Penquerc'h
49e08a1835 opusenc: fix crash on pathological parameters
Asking for 1 bit/s would select a 0 byte buffer, leading
to a crash. Buffer size is now controlled by a max-payload-size
property, which can't be less than 2.
2011-11-22 15:33:20 +00:00
Vincent Penquerc'h
da5c41930c opusparse: do not send headers through data path
Additionally, since Opus packets may change between stereo
and mono as the encoder sees fit, assume two channels when
we do not see a header, and use the header value otherwise.
2011-11-22 13:20:32 +00:00
Vincent Penquerc'h
694775a7b1 opus: move header magic testing to gstopusheader 2011-11-22 13:20:31 +00:00
Vincent Penquerc'h
5ac7ff57fd opusdec: skip pre-skip samples 2011-11-22 13:20:31 +00:00
Vincent Penquerc'h
b98cc2d092 opusdec: read pre-skip from first header if available 2011-11-22 13:20:31 +00:00
Vincent Penquerc'h
6bcf813ed0 opusenc: reset tagsetter interface on stop 2011-11-21 12:02:28 +00:00
Vincent Penquerc'h
d95530bfbf opusdec: handle NULL packets (used for PLC) 2011-11-21 11:51:21 +00:00
Vincent Penquerc'h
b9d47a00ca opusdec: light cleanup 2011-11-21 11:51:21 +00:00
Vincent Penquerc'h
6c2c0aef53 opusparse: parse raw opus packets 2011-11-21 11:51:21 +00:00
Vincent Penquerc'h
c0695ba7f2 opusenc: do not push header buffers
Opus headers appear only when muxed in Ogg, so only place them
on the caps, where oggmux will find them, but other elements will
be blithely unaware of them.
2011-11-21 11:51:21 +00:00
Vincent Penquerc'h
bff6e3c628 opus: make opusparse set headers on caps
Header-on-caps code moved to a new shared location to avoid
duplicating the code.
2011-11-21 11:51:20 +00:00
Edward Hervey
501d5b2779 gme: Port to new pad function signatures 2011-11-21 10:54:56 +01:00
Vincent Penquerc'h
7664e28a0c opusenc: fix terminating NUL being written in signature 2011-11-19 15:59:53 +00:00
Vincent Penquerc'h
5dd147d705 opusenc: make frame-size an enum
It only supports a set number of specific values (including
a non integer one).
2011-11-19 15:59:52 +00:00
Vincent Penquerc'h
f8bb784135 opusenc: the encoder might not make use of all the bytes 2011-11-19 15:59:52 +00:00
Stefan Sauer
b7cb6ecedb opencv: use caps constants more 2011-11-18 20:57:31 +01:00
Stefan Sauer
4f69b60ac0 opencv: fixup doc blobs 2011-11-18 20:57:31 +01:00
Stefan Sauer
c613904c68 opencv: fixup gobject naming conventions 2011-11-18 20:57:31 +01:00
Stefan Sauer
ee91057526 opencv: remove empty finalize implementations 2011-11-18 08:30:37 +01:00
Mark Nauwelaerts
97279f1dfd voamrwbenc: port to audioencoder 2011-11-17 23:04:23 +01:00
Mark Nauwelaerts
53723f81eb voaacenc: some code shuffle cleanup 2011-11-17 23:04:21 +01:00
Mark Nauwelaerts
ea92249ee2 voaacenc: port to audioencoder 2011-11-17 23:04:18 +01:00
Mark Nauwelaerts
56701570e9 celtenc: properly report error case 2011-11-17 23:04:15 +01:00
Mark Nauwelaerts
8104d7a2ec celtdec: remove unused instance variable 2011-11-17 23:04:05 +01:00
Wim Taymans
bc6ed0bf97 Merge branch 'master' into 0.11
Conflicts:
	ext/celt/gstceltdec.c
	ext/opus/gstopusdec.c
	ext/opus/gstopusdec.h
	ext/opus/gstopusenc.c
	ext/opus/gstopusenc.h
	ext/opus/gstopusparse.c
2011-11-17 17:32:42 +01:00
Wim Taymans
940de5b195 add parent to pad functions 2011-11-17 15:53:42 +01:00
Stefan Sauer
c987a861d3 gme: port for pad_query api change 2011-11-17 09:56:34 +01:00
Stefan Sauer
fefa1df8b9 facedetect: detect face features
Also detect mouth, nose and eyes. Drop faces that don't have them. Fixes leaking the
cascades. Adds more docs.
2011-11-16 21:03:36 +01:00
Stefan Sauer
a857c90590 facedetect: Gstfacedetect -> GstFacedetect 2011-11-16 21:03:36 +01:00
Stefan Sauer
94534a0b83 facedetect: code maintenance
Update example to be useful. Draw colored ellipses instead of unicolor circles.
Reflow code for more local variables. Improve parameter descriptions.
2011-11-16 21:03:36 +01:00
Vincent Penquerc'h
15b5fecf30 opusenc: do not include variable fields in caps
Those can vary from one packet to the next, so have no reason
to be in the caps.
2011-11-16 18:51:16 +00:00
Vincent Penquerc'h
af8771ef2f opusenc: fix constrained-vbr property name typo 2011-11-16 18:51:16 +00:00
Vincent Penquerc'h
714ced7d19 opusdec: let the base class handle all timing 2011-11-16 18:35:29 +00:00
Mark Nauwelaerts
2842e14263 celtdec: port to audiodecoder 2011-11-16 19:19:15 +01:00
Mark Nauwelaerts
c90f45df00 celtenc: port to audioencoder 2011-11-16 19:13:02 +01:00
Vincent Penquerc'h
5efa9ebec8 opusparse: add opusparse element
A very simple element that parses Opus streams from the ad hoc
framing used by the Opus test vectors.
2011-11-16 17:58:15 +00:00
Vincent Penquerc'h
a02e18917f opusdec: allow negotiation of rate/channels with downstream
Since an opus stream may be decoded to any (sensible) rate,
and either stereo or mono, we try to accomodate downstream.
2011-11-16 17:45:00 +00:00
Vincent Penquerc'h
d10cbd0268 opusdec: rewrite logic
Parameters such as frame size, etc, are variable. Pretty much
everything can change within a stream, so be prepared about it,
and do not cache parameters in the decoder.
2011-11-16 17:45:00 +00:00
Vincent Penquerc'h
da1eaa2d78 opus: port to base audio encoder/decoder 2011-11-16 17:45:00 +00:00
Wim Taymans
6d92ecac75 add parent to query function 2011-11-16 17:30:38 +01:00
Vincent Penquerc'h
3c993f1c4a opusdec: allow negotiation of rate/channels with downstream
Since an opus stream may be decoded to any (sensible) rate,
and either stereo or mono, we try to accomodate downstream.
2011-11-16 13:43:36 +00:00
Vincent Penquerc'h
70ca2a6851 opusdec: rewrite logic
Parameters such as frame size, etc, are variable. Pretty much
everything can change within a stream, so be prepared about it,
and do not cache parameters in the decoder.
2011-11-16 13:43:36 +00:00
Vincent Penquerc'h
9e79a8ed01 opusdec: remove buffer pool, buffers are not constant size 2011-11-16 13:43:36 +00:00
Vincent Penquerc'h
a8e4d9bd3e opusparse: add opusparse element
A very simple element that parses Opus streams from the ad hoc
framing used by the Opus test vectors.
2011-11-16 13:43:36 +00:00
Vincent Penquerc'h
c5c67c1913 opusenc: fix pointer mismatch in memcpy on drain 2011-11-15 17:50:39 +00:00
Wim Taymans
5231ae7252 _peer_get_caps() -> _peer_query_caps() 2011-11-15 17:24:07 +01:00
Wim Taymans
03713e5045 change getcaps to query 2011-11-15 16:34:13 +01:00
Vincent Penquerc'h
ac9c7bbfef opus: port to encoder/decoder base classes 2011-11-14 13:50:23 +00:00
Tim-Philipp Müller
357d7bdfed Update for GstURIHandler get_protocols() changes 2011-11-13 23:55:56 +00:00
Vincent Penquerc'h
7b80e0773f opus: port to 0.11 2011-11-11 17:46:41 +00:00
Mart Raudsepp
61cc352902 mimic, opencv, vp8, acmmp3dec, linsys: Don't build static plugins
Pass --tag=disable-static to libtool everywhere where it's been forgotten

https://bugzilla.gnome.org/show_bug.cgi?id=663768
2011-11-11 11:54:15 +00:00
Edward Hervey
02de08aaaa gme: Remove query_types 2011-11-10 18:35:40 +01:00
Wim Taymans
2091480c54 Merge branch 'master' into 0.11 2011-11-10 18:34:48 +01:00
Wim Taymans
5684c1200b update for adapter api change 2011-11-10 18:25:53 +01:00
Vincent Penquerc'h
609ae9b812 opusenc: fix bandwidth property type mismatch 2011-11-10 17:14:10 +00:00
Wim Taymans
dbdaa23742 Merge branch 'master' into 0.11
Conflicts:
	gst/colorspace/colorspace.c
2011-11-09 12:19:04 +01:00
Vincent Penquerc'h
ab27c0da8e tiger: add a 'silent' property to skip rendering
https://bugzilla.gnome.org/show_bug.cgi?id=662857
2011-11-07 12:14:57 +00:00
Vincent Penquerc'h
cabc01f107 resindvdsrc: do not try to seek before the first chapter
https://bugzilla.gnome.org/show_bug.cgi?id=589064
2011-11-07 11:55:59 +00:00
Vincent Penquerc'h
826eb57183 celtenc: fix latency query
https://bugzilla.gnome.org/show_bug.cgi?id=616421
2011-11-07 11:21:27 +00:00
Vincent Penquerc'h
97d456bad2 opusenc: fix latency query
This makes live 'audiosrc ! opusenc ! opusdec ! audiosink' pipelines
actually work without all audio being dumped.

https://bugzilla.gnome.org/show_bug.cgi?id=660999
2011-11-07 11:21:27 +00:00
Vincent Penquerc'h
18c2d1ef9f opusenc: use debug level for debug info, not error
https://bugzilla.gnome.org/show_bug.cgi?id=660999
2011-11-07 11:21:27 +00:00
Vincent Penquerc'h
ac95f56d2e celtenc: fix calculation of filler data size
https://bugzilla.gnome.org/show_bug.cgi?id=660469
2011-11-07 11:21:26 +00:00
Vincent Penquerc'h
4a4b1f472e opusenc: fix calculation of filler data size
https://bugzilla.gnome.org/show_bug.cgi?id=660469
2011-11-07 11:21:26 +00:00
Stefan Sauer
9f73890892 controller: port to new controller location and api 2011-11-04 20:14:01 +01:00
Wim Taymans
eaad7e58b0 more template fixes 2011-11-04 12:31:19 +01:00
Wim Taymans
c8adc4f8c8 make request pads take _%u 2011-11-04 12:22:37 +01:00
Edward Hervey
9f72f309f6 gme: Fix for removal of gst_element_found_tags_for_pad() 2011-11-04 10:17:38 +01:00
Edward Hervey
9488a0356a vp8: Port to 0.11 2011-11-03 14:11:51 +01:00
Wim Taymans
b39f4a80f7 gme: update for taglist api changes 2011-11-02 09:14:41 +01:00
Tim-Philipp Müller
c186b74296 kate, bayer, tsdemux: update for caps and taglist API changes 2011-10-31 14:51:01 +00:00
Wim Taymans
9ca3734e52 make elements compile again 2011-10-28 15:16:43 +02:00
Wim Taymans
9b41017f9d assrender: fix compilation 2011-10-27 16:23:10 +02:00
Wim Taymans
ce41348f78 Merge branch 'master' into 0.11 2011-10-27 16:13:56 +02:00
Stefan Sauer
69f8921e2c interfaces: clean up the use of iface and class/klass 2011-10-21 15:04:05 +02:00
Tim-Philipp Müller
4060056ce6 assrender, nuvdemux: unref buffers with gst_buffer_unref() 2011-10-18 14:41:48 +01:00
Wim Taymans
9195c33d36 celt: start of 0.11 port 2011-10-18 14:28:29 +02:00
Wim Taymans
e856f6f475 faac: port to 0.11 2011-10-16 16:45:24 +02:00
Wim Taymans
a9fc805e36 kate: port to 0.11 2011-10-08 14:22:58 +02:00
Wim Taymans
f954f50ed6 zbar: port to 0.11 2011-10-08 12:07:58 +02:00
Wim Taymans
4b27b7edd4 gme: port to 0.11 2011-10-08 11:57:58 +02:00
Wim Taymans
7fe3a19c3d flite: port to 0.11 2011-10-08 11:46:23 +02:00
Wim Taymans
9ddfdfe60c rtmp: port to 0.11 2011-10-08 11:40:25 +02:00
Wim Taymans
67dac04012 assrender: port to 0.11 2011-10-06 10:59:58 +02:00
Wim Taymans
d934d76870 mmssrc: port to 0.11 2011-10-04 18:54:13 +02:00
Wim Taymans
395430d350 faad: use right caps 2011-10-04 13:33:09 +02:00
Wim Taymans
a7d614b963 Merge branch 'master' into 0.11 2011-10-04 13:29:21 +02:00
Wim Taymans
d26f7319e9 Merge branch 'master' into 0.11 2011-10-03 11:24:04 +02:00
Vincent Penquerc'h
9f9d52c6cb opusdec: fix decoding
A simple ... opusenc ! opusdec ... pipeline now works.

https://bugzilla.gnome.org/show_bug.cgi?id=660364
2011-10-03 11:21:37 +02:00
Vincent Penquerc'h
532e90a34d opusenc: moan if we get an unexpected amount of data
https://bugzilla.gnome.org/show_bug.cgi?id=660364
2011-10-03 11:21:24 +02:00
Vincent Penquerc'h
934144c352 opus: properly setup caps and init state from caps
https://bugzilla.gnome.org/show_bug.cgi?id=660364
2011-10-03 11:21:15 +02:00
Vincent Penquerc'h
85de20b8a1 opusenc: use the same frame size setup as the opus test code
https://bugzilla.gnome.org/show_bug.cgi?id=660364
2011-10-03 11:21:02 +02:00
Vincent Penquerc'h
8caa7adb5e opusdec: opus supports a select set of sampling rates
https://bugzilla.gnome.org/show_bug.cgi?id=660364
2011-10-03 11:20:52 +02:00
Vincent Penquerc'h
ae510870e9 opus: make it build against current, and remove cruft
https://bugzilla.gnome.org/show_bug.cgi?id=660364
2011-10-03 11:20:46 +02:00
Vincent Penquerc'h
fa3d661083 kate: avoid rendering when we know there is nothing to render
https://bugzilla.gnome.org/show_bug.cgi?id=660528
2011-10-03 10:38:43 +02:00
Vincent Penquerc'h
12bb47343d kate: fix race condition on PAUSED->READY state change
https://bugzilla.gnome.org/show_bug.cgi?id=660630
2011-10-03 10:36:35 +02:00
Wim Taymans
f03b320c8d faad: port to 0.11 2011-09-27 13:22:31 +02:00
Wim Taymans
7f4cf50496 Merge branch 'master' into 0.11 2011-09-26 22:31:17 +02:00
Sebastian Dröge
fc2434fd97 faac: Also set maximum number of samples that the subclass wants 2011-09-26 16:26:31 +02:00
Sebastian Dröge
874da87b25 faac: Simple fix for GstAudioEncoder API change 2011-09-26 16:05:40 +02:00
Tim-Philipp Müller
e37634e9f9 faad: fix compiler warning
gstfaad.c: In function 'gst_faad_parse':
gstfaad.c:615:11: error: 'len' may be used uninitialized in this function
2011-09-23 10:10:37 +01:00
Tim-Philipp Müller
c9f7e9b26d faad: parse wants a GstFlowReturn return value, not a gboolean 2011-09-23 09:57:01 +01:00
Mark Nauwelaerts
3900dc94ed faac: fixup misunderstanding in sample counting
... between codec and audioencoder regarding whether or not channel
count is already considered.

Fixes #659836.
2011-09-22 18:24:43 +02:00
Mark Nauwelaerts
131df954ce faad: use some more boilerplate 2011-09-22 16:06:07 +02:00
Mark Nauwelaerts
7234914e0f faad: port to audiodecoder 2011-09-22 16:06:04 +02:00
Mark Nauwelaerts
a7ed9677ba faac: use some more boilerplate 2011-09-22 16:02:52 +02:00
Mark Nauwelaerts
c8a3567923 faac: port to audioencoder 2011-09-22 16:02:49 +02:00
Vincent Penquerc'h
70be630427 kate: forward return code from setting src pad caps
https://bugzilla.gnome.org/show_bug.cgi?id=659606
2011-09-21 13:59:54 +02:00
Vincent Penquerc'h
fe0a2ec885 celt: a bit more error checking on header parsing
https://bugzilla.gnome.org/show_bug.cgi?id=659087
2011-09-19 09:39:16 +02:00
Vincent Penquerc'h
d8684fffa1 celtenc: cleanup header creation
Avoid an extra copy via a temporary fixed size stack buffer.
Use libcelt's header size to allocate a buffer of the correct
size in the first place (libcelt has an off by 4 there, so
account for this).
While there, make size unsigned, and granpos signed.

https://bugzilla.gnome.org/show_bug.cgi?id=659087
2011-09-19 09:39:00 +02:00
Vincent Penquerc'h
06764fcd3f celtenc: do not use invalid buffer timestamps
https://bugzilla.gnome.org/show_bug.cgi?id=659087
2011-09-19 09:37:16 +02:00
Vincent Penquerc'h
37e688197d celtdec: fix error checking with libcelt 0.11
The return value of celt_decode has changed, newer versions
now return positive values on success.

https://bugzilla.gnome.org/show_bug.cgi?id=659087
2011-09-19 09:36:59 +02:00
Vincent Penquerc'h
90b2484648 celtenc: allow actually overriding frame size
https://bugzilla.gnome.org/show_bug.cgi?id=659087
2011-09-19 09:36:45 +02:00
Vincent Penquerc'h
c8bda2ed76 kate: flush on seek, and ensure we cancel any waiting buffer
This is what pango textoverlay does, and I've had that condition
variable get stuck once.

https://bugzilla.gnome.org/show_bug.cgi?id=658940
2011-09-19 09:35:24 +02:00
Olivier Crête
b872f84c96 spanplc: Fix typos 2011-09-15 18:17:52 -04:00
Alessandro Decina
f33b78abd1 rtmpsink: don't block the main thread with RTMP_Connect
Move the RTMP_Connect call from the main thread (::start) to the streaming
thread (::render).
2011-09-12 11:23:03 +02:00
Youness Alaoui
61ee9918be spandsp: Adding spandsp plugin with spanplc element for packet loss concealment 2011-09-08 18:11:33 -04:00
Stefan Sauer
e21c4abc50 kateparse: fix crap in object macros 2011-09-07 15:50:42 +02:00
Wim Taymans
d4590a1959 Merge branch 'master' into 0.11 2011-09-06 16:13:28 +02:00
David Schleef
cd35839e98 vp8enc: fix drop-frame property
Fixes #656929.
2011-09-01 17:04:52 -07:00
Josep Torra
d663259d4b mms: fix warnings related to the format on the debug lines. 2011-08-31 23:06:53 +02:00
Jan Schmidt
8fbf3a3129 soundtouch: Handling incoming rate when requested.
Absorb inbound segments with rate != 1.0 and output a segment with
rate taken from the new output-rate property, adjusting the segment
applied_rate, stream duration and timestamps as necessary to
compensate
2011-08-30 17:49:29 +10:00
Nicola Murino
436620fff9 fix valgrind warning about Conditional jump or move depends on uninitialised value(s) 2011-08-26 15:54:19 +02:00
Nicola Murino
71a2a1be8e Move m_pprevFrame free just before the clone of the latest frame for readability 2011-08-26 15:54:19 +02:00
Wim Taymans
ad06ac2b4b Merge branch 'master' into 0.11
Conflicts:
	ext/resindvd/rsnwrappedbuffer.c
2011-08-25 12:49:26 +02:00
Tim-Philipp Müller
dc3db053b5 kate: make gst_kate_util_is_utf8_string() inline to fix compiler warning with older libkate versions
gstkateutil.c:230:1: error: 'gst_kate_util_is_utf8_string' defined but not used
2011-08-24 16:54:31 +01:00
Vincent Penquerc'h
04f7876f94 rsndvd: ensure metadata is writable when writing to it
https://bugzilla.gnome.org/show_bug.cgi?id=657250
2011-08-24 16:37:30 +01:00
Vincent Penquerc'h
d1a6ca2203 kate: pass on timed event metadata as tags when we can
Metadata attached to other objects that may be used in this
event are not passed, as is binary metadata.
2011-08-23 10:34:48 +02:00
Vincent Penquerc'h
c24d052bb7 vp8: probe for the new tuning API to keep building with older libvpx
https://bugzilla.gnome.org/show_bug.cgi?id=656928
2011-08-23 10:23:21 +02:00
Vincent Penquerc'h
e323efc353 rsvgdec: use input buffer timings if possible
SVG data may come through multiple buffers, so keep track of the
timestamp of the first buffer, and use it in preference.

https://bugzilla.gnome.org/show_bug.cgi?id=628284
2011-08-23 10:21:04 +02:00
Vincent Penquerc'h
1ed91ad1db kate: do not consider an empty SPU to be a fatal error
Instead, just encode nothing and go on.

https://bugzilla.gnome.org/show_bug.cgi?id=657091
2011-08-23 10:16:30 +02:00
Vincent Penquerc'h
46cfb5fa4f kate: do not clear out high bits from display area
http://dvd.sourceforge.net/spu_notes does not mention that high bits
are to be masked, and not clearing them makes a sample work, where
clearing them yielded left > right.
History from the dvdspu plugin, from where this code was copied,
does not shed any light, as tracing this code's origin shows
the same bitmasks being there in 2007 when it was imported.

https://bugzilla.gnome.org/show_bug.cgi?id=657091
2011-08-23 10:16:22 +02:00
Vincent Penquerc'h
57ae8c4bf5 ofa: fingerprint creation can fail
There does not seem to be a way to retrieve information
about why failure occured, unfortunately.
When failure occurs, do not post a NULL fingerprint tag.

https://bugzilla.gnome.org/show_bug.cgi?id=656641
2011-08-18 11:10:52 +02:00
Vincent Penquerc'h
6ef56f56d7 ofa: cleanup
Avoid repeating casting to GstAudioFilter when one will do
Use object related logging to make it easier to get just the logs we want

https://bugzilla.gnome.org/show_bug.cgi?id=656641
2011-08-18 11:10:09 +02:00
Vincent Penquerc'h
683fbaa81a ofa: do not create fingerprint on EOS if record is FALSE
https://bugzilla.gnome.org/show_bug.cgi?id=656641
2011-08-18 11:07:48 +02:00
Sebastian Dröge
4476ca28df vp8enc: Remove unused and useless variable in tags handling 2011-08-18 10:39:26 +02:00
Wim Taymans
52d48bb142 Merge branch 'master' into 0.11 2011-08-17 19:01:39 +02:00
Vincent Penquerc'h
ffa9c81798 celtdec: make this compile with git libcelt
celt_mode_info was removed, in favor of a _ctl.

https://bugzilla.gnome.org/show_bug.cgi?id=656686
2011-08-16 20:27:03 +01:00
Vincent Penquerc'h
5a0a0aac19 ofa: don't crash when there's no data to create a fingerprint from
Fixes a crash when no data flowed through.

https://bugzilla.gnome.org/show_bug.cgi?id=656641
2011-08-16 20:12:38 +01:00
Sebastian Dröge
cc447af202 diracenc: Update for basevideoencoder ::get_caps() removal 2011-08-12 12:08:32 +02:00
Sebastian Dröge
935b3828a3 schroenc: Update for basevideoencoder ::get_caps() removal 2011-08-12 12:08:20 +02:00
Sebastian Dröge
896a0edbdc vp8enc: Update for basevideoencoder ::get_caps() removal 2011-08-12 12:08:08 +02:00
Sjoerd Simons
04b74947ad schroedinger: Fix set but unused variables
Remove some dead code that triggers "set but unused variables"
from Gcc 4.6.  Fixes #656166

Signed-off-by: David Schleef <ds@schleef.org>
2011-08-08 12:10:13 -07:00
Sjoerd Simons
27f40d8a57 dirac: Fix set but unused variables
Remove some dead code that triggers "set but unused variables" from Gcc
4.6.  Fixes #656164.

Signed-off-by: David Schleef <ds@schleef.org>
2011-08-08 12:09:46 -07:00
Stefan Sauer
f241dafe5c motioncells: turn two global vars into static variables
Move 2 variable to motioncells_warpper and make them static.
2011-08-04 13:36:05 +02:00
Wim Taymans
2ba07782cd Merge branch 'master' into 0.11 2011-08-04 09:40:46 +02:00
Wim Taymans
01b9b5002f Merge branch 'master' into 0.11
Conflicts:
	common
	configure.ac
	gst/colorspace/colorspace.c
	gst/colorspace/colorspace.h
	gst/colorspace/gstcolorspace.c
2011-08-04 09:36:07 +02:00
David Schleef
6a259e2a0d kateenc: Fix uninitialized error 2011-08-03 13:39:34 -07:00
David Schleef
10e23078e5 schroenc: remove shape_output handling 2011-08-03 13:39:33 -07:00
David Schleef
a4eea10af0 diracenc: Remove unused shape_output code 2011-08-03 13:39:33 -07:00
David Schleef
6b78923330 vp8enc: Add more properties 2011-08-03 13:39:33 -07:00
Alexey Fisher
69c9b2d9c9 vp8enc: add min/maxsection-pct option
This options should be good to redeuce decode CPU load.
for lowend hardware:
minsection-pct=15 maxsection-pct=400

for hiend hw:
minsection-pct=5 maxsection-pct=800

see example:
http://www.webmproject.org/tools/encoder-parameters/#2-pass_vbr_encoding_for_smooth_playback_on_low-end_hardware

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
2011-08-03 13:39:33 -07:00
Alexey Fisher
782af30aa2 vp8enc: add lag-in-frames option.
This option set maximum of frames codec should remember,
to make better prediktion for alt-ref frames.

See example:
http://www.webmproject.org/tools/encoder-parameters/#2-pass_best_quality_vbr_encoding

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
2011-08-03 13:39:33 -07:00
Alexey Fisher
7770eb91aa vp8enc: use multipass.cache file name as default for multipass mode.
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
2011-08-03 13:39:33 -07:00
Mukul Majmudar
5293f30f3f faac: Add properties for VBR encoding
Property "quality" to specify VBR quantizer quality and property
"brtype" to choose between ABR and VBR encoding. The default is now VBR
with quality=100.

Fixes bug #654310.

Signed-off-by: David Schleef <ds@schleef.org>
2011-08-03 13:39:33 -07:00
Tim-Philipp Müller
7e49dad23b Fix some more variable-set-but-not-used compiler warnings 2011-08-02 22:57:15 +01:00
Robert Jobbagy
4723a5d90c motioncells: new element to detect areas of motion 2011-07-28 10:28:50 +02:00
Sebastian Dröge
8ba4f9178f schroenc: Update for GstBaseVideoEncoder::finish() signature change 2011-07-21 08:09:11 +02:00
Sebastian Dröge
43e575319e vp8enc: Update for GstBaseVideoEncoder::finish() signature change 2011-07-21 08:09:11 +02:00
Sebastian Dröge
1333ef9bbf diracenc: Update for GstBaseVideoEncoder::finish() signature change 2011-07-21 08:09:11 +02:00
Nicolas Dufresne
e8d24859ca Fix compilation for unused but not set
https://bugzilla.gnome.org/show_bug.cgi?id=654572
2011-07-20 13:11:53 -04:00
Sreerenj Balachandran
8339ff458d dfbvideosink: fix harmless typo in variable initialization
https://bugzilla.gnome.org/show_bug.cgi?id=654840
2011-07-18 15:05:23 +01:00
Alessandro Decina
adc048eb64 neonhttpsrc: implement URI query 2011-07-14 23:14:13 +02:00
Sebastian Dröge
62224e66f9 schroedinger: Fix compilation and set-but-not-used compiler warnings 2011-07-13 10:42:36 +02:00
Sebastian Dröge
1f50564962 diracenc: Fix compilation by including the new gstbasevideoutils.h header and fixing some set but not used compiler warnings 2011-07-13 10:33:58 +02:00
Olivier Crête
98f19a3674 jp2k: Fix set-but-unused warnings 2011-07-12 18:20:23 -04:00
Olivier Crête
c4d00d06a7 resindvd: Fix set-but-unused warnings 2011-07-12 18:18:30 -04:00
Olivier Crête
27b8c96391 cog: Fix set-but-unused warnings 2011-07-12 18:16:54 -04:00
Olivier Crête
eba9cf06d4 vp8: Fix set-but-unused warnings 2011-07-12 18:05:25 -04:00
Sebastian Dröge
b0d619855c vp8enc: Use destroy notify to free the coder hook 2011-07-09 11:31:02 +02:00
David Schleef
3b6cd3d35c opus: duplicate from CELT
Copy the celt plugin and convert it to Opus.  Mostly works.
2011-07-07 12:05:53 -07:00
David Schleef
2a1d4c9b4a vp8enc: update for new libvpx api 2011-07-04 16:34:48 -07:00
Alexey Fisher
d1fe501eb7 vp8enc: generate a timestamp for alt-ref frames.
It will fix handling of altref/invisible frames since matroska-mux
drop any fram with no timestamp.

see also:
http://www.webmproject.org/code/specs/container/
The encoder will currently set the AR's timestamp as close as possible
to the previous frame while attempting to provide a timestamp that is
strictly increasing. In cases where the time base given to the encoder
at configure time is not granular enough to allow for this the AR
will share the same timestamp as D, but should be
treated as having no duration.

Fixes bug #652951

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
2011-06-26 16:56:33 +02:00
Alexey Fisher
f5391e135a vp8dec: add check if we have legal aspect-ratio before reset it.
the commit f9b552f049 (vp8dec: set par to 1/1)
will fix situation where no aspect-ratio is set, but it brake
stream with available aspect-ratio. This patch fix it.

Fixes: #652902.

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
2011-06-25 11:36:05 -07:00
Jan Schmidt
38bf3169ff RTMP: add rtmpsink element for output to an RTMP server 2011-06-18 01:09:51 +10:00
Wim Taymans
a2b7a672b8 Merge branch 'master' into 0.11
Conflicts:
	android/aacparse.mk
	android/amrparse.mk
	android/h264parse.mk
	android/metadata.mk
	android/qtmux.mk
	android/sdpelem.mk
	configure.ac
	gst/qtmux/gstqtmux.c
	win32/common/config.h
2011-06-15 16:06:36 +02:00
David Schleef
f9b552f049 vp8dec: set par to 1/1 2011-06-04 14:09:29 -07:00
Debarshi Ray
335293bf50 Remove unused but set variables
This is needed to satisfy the new -Wunused-but-set-variable added in
GCC 4.6: http://gcc.gnu.org/gcc-4.6/changes.html
2011-06-04 20:26:02 +01:00
Stefan Kost
45e87e8cce zbar: remove template stamp comment 2011-05-31 13:53:41 +03:00
Tom Deseyn
8f7183dc85 dfbvideosink: Also consider non-accelerated DirectFB surfaces
Fixes bug #631390.
2011-05-30 08:48:29 +02:00
Tim-Philipp Müller
e94245c264 faac: fix CFLAGS and LIBS order in Makefile.am 2011-05-27 10:44:28 +01:00
Sebastian Dröge
4093202e9d faac: Set the correct, valid sample rates in the pad template caps 2011-05-27 10:44:42 +02:00
Sebastian Dröge
77f20353f8 voaacenc: Make sure to also return only a subset of the pad template caps in getcaps 2011-05-27 10:41:02 +02:00
Sebastian Dröge
da03a46861 voaacenc: Set the correct, valid sample rates in the pad template caps 2011-05-27 10:35:31 +02:00
Sebastian Dröge
b87ff1a1df voaacenc: The encoder library currently only supports 1 or 2 channels 2011-05-27 10:32:26 +02:00
Sebastian Dröge
e3eabb6e6a voaacenc: Add profile and level to the caps
Fixes bug #650595.
2011-05-27 10:31:34 +02:00
Sebastian Dröge
6702de4237 faac: Add the profile and level to the caps
Also negotiate the profile from the downstream peer caps
instead of using a property.

Fixes bug #650594.
2011-05-27 10:11:32 +02:00
Sebastian Dröge
7f0aa4061e faac: Use PROP_ instead of ARG_ for the property enums 2011-05-27 09:40:38 +02:00
Sebastian Dröge
0bb2a4d229 dc1394src: Implement LATENCY query
Based on the LATENCY query code in v4l2src and the patch
by Tristan Matthews. Fixes bug #625520.
2011-05-26 09:23:49 +02:00
Stefan Kost
579188d436 lv2: ensure uniqe property names
Copy and adjust the code from ladspa plugin to ensure unique gobject property
names.
2011-05-25 23:26:39 +03:00
Tim-Philipp Müller
202a548030 mpeg2enc: fix build with 1.9.0 release again after recent fixes for mjpegtools 2.0.0
https://bugzilla.gnome.org/show_bug.cgi?id=650970
2011-05-25 14:44:50 +01:00
Götz Waschk
407b025786 mpeg2enc: support mjpegtools 2.0
This adds conditional includes for the renamed headers in mjpegtools 2.0.
Fixes: #650970.
2011-05-24 17:15:17 -07:00
Sebastian Dröge
4e01ce3fd2 xviddec: Add video/mpeg,mpegversion=4 to the caps
Fixes bug #609639.
2011-05-23 17:30:41 +02:00
Christian Fredrik Kalager Schaller
efb89cfd4c fix build of openal plugin from disted tarball 2011-05-23 14:58:47 +01:00
Sebastian Dröge
67f23a8539 teletextdec: Minor cleanup and indention fixes 2011-05-23 15:32:09 +02:00
Sebastian Dröge
827e2d13c1 teletextdec: Don't use GST_FLOW_IS_FATAL() 2011-05-23 15:24:12 +02:00
Sebastian Dröge
81134554db teletextdec: Fix buffer data leak 2011-05-23 15:20:37 +02:00
Andoni Morales Alastruey
d20de1087c teletextdec: Add support for pango
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:41 +02:00
Andoni Morales Alastruey
f4e4fc44f7 teletextdec: add a new method to convert a page in a list of strings
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:41 +02:00
Andoni Morales Alastruey
fb98c55f67 teletextdec: add some data in the preroll buffer
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:41 +02:00
Andoni Morales Alastruey
126a98d967 teletextdec: fix deadlock on a stream error
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:41 +02:00
Andoni Morales Alastruey
afd240c621 teletextdec: don't try to push an event on a pad that returned an error
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:41 +02:00
Andoni Morales Alastruey
8bb6ff414f teletextdec: New teletext decoder plugin based in zvbi
https://bugzilla.gnome.org/show_bug.cgi?id=619739
2011-05-23 15:17:37 +02:00
Sebastian Dröge
0e596670ef openal: Add new openalsrc element
Based on patches by Victor Lin <bornstub@gmail.com>

Fixes bug #550230.
2011-05-23 14:30:11 +02:00
Sebastian Dröge
66a4ed47a3 openal: Add new OpenAL sink element
Based on a patch by Chris Robinson <chris.kcat@gmail.com>

Fixes bug #615615.
2011-05-23 14:30:11 +02:00
W. Michael Petullo
6e4a14d231 apexsink: Add support for generation 2 AirTunes hardware
Fixes bug #649931.
2011-05-20 10:00:02 +02:00
Stefan Kost
16331c0b9e jasperenc: remove unused 'mimetype' variable
As mimetype is not used, we don't need to fetch it and therefore neither need
the structure s.
2011-05-19 18:48:01 +03:00
Sebastian Dröge
23f9286d88 vp8enc: Name max/min quantizer properties {max,min}-quantizer
Also improve quality property description.
2011-05-18 13:27:20 +02:00
Alexey Fisher
1b650b6486 vp8enc: Add properties to select a maximum and minimum quantizer
Fixes bug #641405.
2011-05-18 13:26:23 +02:00
Alexey Fisher
a9ea882307 vp8enc: Fix quality to (constant) quantizer mapping
This now allows to select all possible quantizers between
0 and 63.

See bug #641405.
2011-05-18 13:18:58 +02:00
Stefan Kost
79e3b5b4bb various: fix author tag in element details 2011-05-18 10:31:38 +03:00
Mark Nauwelaerts
66fe878d88 vp8dec: debug code style fixes 2011-05-16 20:32:24 +02:00
Mark Nauwelaerts
772d92eeba vp8dec: propagate downstream flow return to upstream 2011-05-16 20:32:24 +02:00
Mark Nauwelaerts
1b151caf11 basevideodecoder: really and only set src pad caps whenever requested
... since subclass is expected to be wise enough to know when to do so.
2011-05-16 20:32:23 +02:00
Mark Nauwelaerts
f591361d2f basevideodecoder: invoke subclass start method at state change and use set_format
While this changes API slightly (e.g. actually uses set_format now), which is OK
for unstable API, it has following merits:
* symmetric w.r.t. stop at state change
* in line with other base class practice
* otherwise no subclass method at state change (global activation time)
Moreover, subclassese are either unaffected or trivially adjusted accordingly.
2011-05-16 20:32:22 +02:00
Mark Nauwelaerts
7862d9ed35 basevideodecoder: subsume skip_frame into finish_frame 2011-05-16 20:32:21 +02:00
Mark Nauwelaerts
d15b8c7ad3 basevideoencoder: provide proper upstream flow return handling 2011-05-16 20:32:21 +02:00
Mark Nauwelaerts
b7ae60f617 vp8enc: minor optimization in setting up image buffer 2011-05-16 20:32:21 +02:00
Mark Nauwelaerts
1cd8e12c19 vp8enc: refactor frame processing 2011-05-16 20:32:20 +02:00
Mark Nauwelaerts
424e3afe22 vp8enc: do init at set_format time 2011-05-16 20:32:20 +02:00
Mark Nauwelaerts
3d09056c70 vp8enc: fix keyframe forcing 2011-05-16 20:32:20 +02:00
Mark Nauwelaerts
4b5623d687 basevideoencoder: invoke subclass start method at state change
While this changes order w.r.t. set_format, which is OK for unstable API,
it has following merits:
* symmetric w.r.t. stop at state change
* in line with other base class practice
* little benefit in invoking 2 subclass virtual methods (set_format and start)
  in immediate succession; all actions in the second could be done in the first
  whereas subclass has no chance to do anything 'global' at activation time
Moreover, current -bad subclass relevant methods either trivially commute
or are either trivially adjusted accordingly.
2011-05-16 20:32:20 +02:00
Mark Nauwelaerts
b0c982db5b basevideocodec: remove redundant caps field
... as it is already at hand as the src pad's negotiated caps.
2011-05-16 20:32:20 +02:00
Mark Nauwelaerts
404f491c19 vp8enc: use baseclass event virtual handler 2011-05-16 20:32:19 +02:00
Sreerenj Balachandran
c0f9c74ca6 facedetect: Remove dead code and some minor doc changes. 2011-05-14 12:08:39 +02:00
Sreerenj Balachandran
3320a03e20 edgedetect: Remove dead code and some minor doc changes 2011-05-14 12:08:39 +02:00