Sebastian Dröge
10554b271f
Merge branch 'master' into 0.11
...
Conflicts:
ext/flac/gstflacdec.c
ext/jpeg/gstjpegenc.c
ext/pulse/pulsesink.c
sys/v4l2/gstv4l2src.c
2012-01-25 12:49:11 +01:00
Wim Taymans
684f504336
matroska: port to new memory API
2012-01-25 12:41:30 +01:00
Wim Taymans
b4630dd3e0
more memory API porting
2012-01-25 12:30:29 +01:00
Wim Taymans
583d39dd8d
update for new memory API
2012-01-25 12:30:28 +01:00
Vincent Penquerc'h
6429359d55
udpsrc: fix string leak
2012-01-24 14:53:38 +00:00
Vincent Penquerc'h
73754081e5
udpsrc: fix use of freed memory
2012-01-24 14:52:09 +00:00
Matej Knopp
b780639b2c
Don't crash on empty laces
...
https://bugzilla.gnome.org/show_bug.cgi?id=665224
2012-01-24 14:09:48 +00:00
Tim-Philipp Müller
a476d529d2
rtpmanager: don't reveal the user's username, hostname or real name by default
...
Send a randomly made-up user@hostname as CNAME and don't
send a NAME at all by default.
https://bugzilla.gnome.org/show_bug.cgi?id=668320
2012-01-23 13:47:08 +00:00
Tim-Philipp Müller
37409d4d65
Don't use deprecated GLib API
2012-01-22 23:32:51 +00:00
Tim-Philipp Müller
7cb9b7ab9d
Use new GLib API unconditionally
2012-01-22 23:15:19 +00:00
Mark Nauwelaerts
a224ffb971
rtspsrc: simplify internal src event debug logging
...
... which avoids almost superfluous obtaining of rtsp element.
2012-01-20 17:10:57 +01:00
Mark Nauwelaerts
018852ddc2
rtspsrc: avoid NULL string comparison
2012-01-20 17:10:54 +01:00
Mark Nauwelaerts
eff88a239f
rtpbin: arrange for initialized variables
2012-01-20 17:10:51 +01:00
Mark Nauwelaerts
a3ea25bc88
rtpmp4adepay: prevent out-of-bound array access
2012-01-20 17:10:48 +01:00
Mark Nauwelaerts
3137f26544
isomp4: recovery: add sanity check
...
... on possibly bogus/corrupt input data.
2012-01-20 17:10:44 +01:00
Mark Nauwelaerts
ed94e01231
rtptheoradepay: remove dead code
2012-01-20 17:10:40 +01:00
Mark Nauwelaerts
c588d568f1
matroska-demux: remove redundant variable
2012-01-20 17:10:37 +01:00
Mark Nauwelaerts
9d771c9bed
deinterlace: fix arithmetic for unsigned comparison
2012-01-20 17:10:33 +01:00
Mark Nauwelaerts
a973c0b381
imagefreeze: add various missing break
2012-01-20 17:10:30 +01:00
Mark Nauwelaerts
436a85ac8a
avidemux: tweak DEFAULT format duration query response
2012-01-20 17:10:25 +01:00
Mark Nauwelaerts
14fe651b15
alphacolor: remove redundant statement
2012-01-20 17:10:21 +01:00
Wim Taymans
b22c0dd3f6
update for memory API
2012-01-19 12:44:39 +01:00
Wim Taymans
1584806634
port to new gthread API
2012-01-19 11:33:53 +01:00
Sebastian Dröge
2eeb0eb58e
udpsrc: Remove unneeded socket.h include
2012-01-17 16:58:07 +01:00
Sebastian Dröge
59e08fa503
configure: Remove socket/winsock specific checks
...
Not necessary anymore.
2012-01-17 16:53:31 +01:00
Sebastian Dröge
305901c7cc
rtspsrc: Update for the new GIO versions of the udp elements
2012-01-17 16:49:10 +01:00
Sebastian Dröge
cb789e32ad
rtpmanager: Port to GIO
2012-01-17 13:08:42 +01:00
Sebastian Dröge
a3496b14ea
configure: Require GIO 2.31.10
2012-01-17 11:21:25 +01:00
Sebastian Dröge
2ea3ef0c1c
udp: Remove now unecessary code
2012-01-17 11:18:33 +01:00
Sebastian Dröge
bb38a849e5
udpsink/multiudpsink: Port to GIO
2012-01-17 11:18:15 +01:00
Sebastian Dröge
6f055d554b
dynudpsink: Port to GIO
2012-01-17 10:49:34 +01:00
Sebastian Dröge
7f0239b19b
dynudpsink: Port to GIO
2012-01-17 09:32:27 +01:00
Sebastian Dröge
7f74fc9ef6
udpsrc: Port to GIO
2012-01-17 09:07:40 +01:00
Vincent Penquerc'h
cf81df8058
cutter: fix leak of unused GValue
2012-01-16 17:51:18 +00:00
Vincent Penquerc'h
2a7a38ca07
rtph263ppay: fix caps leak
2012-01-16 15:42:46 +00:00
Vincent Penquerc'h
4d51c68fc0
deinterlace: make interlacedness test deterministic
...
If the interlaced flag is not present in the caps, we assume the
data is not interlaced, instead of leaving the boolean uninitialized.
2012-01-16 12:13:50 +00:00
Matej Knopp
d55f75f6f4
matroska: fix printf format compiler warnings
...
https://bugzilla.gnome.org/show_bug.cgi?id=662615
2012-01-15 18:31:27 +00:00
Mark Nauwelaerts
7002edbe2b
matroskademux: clean up obsolete closing segment handling
2012-01-13 14:24:40 +01:00
Tim-Philipp Müller
f10e8192fa
rtpptdemux: plug pad leak in error code path
...
Based on patch by: Stig Sandnes <stig.sandnes@cisco.com>
Don't leak srcpad if there are no caps.
https://bugzilla.gnome.org/show_bug.cgi?id=667820
2012-01-13 11:02:24 +00:00
Tim-Philipp Müller
d681af899b
GST_TYPE_DATE -> G_TYPE_DATE
2012-01-12 23:55:31 +00:00
Tim-Philipp Müller
8580dd86c9
eqMerge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/jack/gstjackaudiosink.c
ext/jack/gstjackaudiosrc.c
gst/matroska/matroska-mux.c
gst/matroska/matroska-read-common.c
gst/rtpmanager/gstrtpssrcdemux.c
2012-01-12 23:48:50 +00:00
Vincent Penquerc'h
654a04f90c
gstrtpssrcdemux: fix element leak
2012-01-12 18:23:42 +00:00
Vincent Penquerc'h
f04d812719
matroska: do not leak attachment buffers
2012-01-12 14:19:22 +00:00
Mark Nauwelaerts
e8c254f34d
flvdemux: remove obsolete FIXME comments
2012-01-12 13:18:43 +01:00
Mark Nauwelaerts
559c800c4f
flvdemux: add prefix to local GstIndex related copies
...
... to avoid duplicate type names with other such local copies in the wild.
2012-01-12 11:09:07 +01:00
Mark Nauwelaerts
68e0d2b60c
flvdemux: activate pad before setting caps
...
... rather than the usual 0.10 other way around.
Fixes #667558 .
2012-01-12 11:09:07 +01:00
Leo Singer
56353e24d2
audiofx: Use most common convention for definitions of IIR filter coefficients.
...
Most signal processing texts, including MATLAB, use the following convention for IIR filter coefficients:
a_0 y[n] + a_1 y[n-1] + ... + a_M y[n-M] = b_0 x[n] + b_1 x[n-1] + ... + b[N] x[n-N]
Usually, a_0 is set to 1 because the coefficients can always be rescaled, giving
y[n] = b_0 x[n] + b_1 x[n-1] + ... + b[N] x[n-N] - a_1 y[n-1] - ... - a_M y[n-M]
The convention that was previously used by audiofxbaseiirfilter and derived class had the a and b coefficients swapped, and did not have the minus signs.
This change makes the audiofx plugin use the more common convention described above.
2012-01-11 15:24:00 +01:00
Nicola Murino
d1bb060d71
matroskamux: fix codec_priv leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=667419
2012-01-10 18:29:06 +00:00
Sebastian Dröge
93e3ed5a86
Merge branch 'master' into 0.11
...
Conflicts:
ext/cairo/gsttextoverlay.c
ext/pulse/pulseaudiosink.c
gst/audioparsers/gstaacparse.c
gst/avi/gstavimux.c
gst/flv/gstflvmux.c
gst/interleave/interleave.c
gst/isomp4/gstqtmux.c
gst/matroska/matroska-demux.c
gst/matroska/matroska-mux.c
gst/matroska/matroska-mux.h
gst/matroska/matroska-read-common.c
gst/multifile/gstmultifilesink.c
gst/multipart/multipartmux.c
gst/shapewipe/gstshapewipe.c
gst/smpte/gstsmpte.c
gst/udp/gstmultiudpsink.c
gst/videobox/gstvideobox.c
gst/videocrop/gstaspectratiocrop.c
gst/videomixer/videomixer.c
gst/videomixer/videomixer2.c
gst/wavparse/gstwavparse.c
po/ja.po
po/lv.po
po/sr.po
tests/check/Makefile.am
tests/check/elements/qtmux.c
tests/check/elements/rgvolume.c
2012-01-10 14:32:32 +01:00
Vincent Penquerc'h
2b2c0940f1
matroskamux: fix codec string leaks
2012-01-09 17:28:17 +00:00
Sebastian Dröge
4cdacf4ca9
videomixer: Remove videomixer and register videomixer2 as videomixer
2012-01-09 14:53:27 +01:00
Mark Nauwelaerts
43986a661d
qtdemux: initialize variable to avoid undefined use
2012-01-09 11:38:15 +01:00
Vincent Penquerc'h
a6d9f6a3ce
isomp4: fix caps leak
2012-01-05 19:25:33 +00:00
Vincent Penquerc'h
3489b691c5
isomp4: remove dead assignment
2012-01-05 19:08:03 +00:00
Wim Taymans
6c800137d8
fix pad templates
2012-01-05 14:18:03 +01:00
Sebastian Dröge
4885f34458
rtp: Update for the new audio caps
2012-01-05 10:30:34 +01:00
Sebastian Dröge
19788be6b1
wavparse: Update for libgstriff API changes
...
Still needs to handle raw audio channel reordering
2012-01-05 10:30:34 +01:00
Sebastian Dröge
30b83b167a
wavenc: Update for the new raw audio caps
2012-01-05 10:30:34 +01:00
Sebastian Dröge
b35bacb460
spectrum: Update for the new raw audio caps layout field
2012-01-05 10:30:34 +01:00
Sebastian Dröge
7459bdd414
replaygain: Update for the new audio caps
2012-01-05 10:30:34 +01:00
Sebastian Dröge
dd84b002b0
matroska: Update for the new raw audio interleaved caps field
...
Still needs to be fixed to handle the multichannel channel-mask
and reordering.
2012-01-05 10:30:34 +01:00
Sebastian Dröge
261a42c9ef
level: Update for the new raw audio layout field
2012-01-05 10:30:34 +01:00
Sebastian Dröge
940807b79b
isomp4: Port to the new audio caps
...
Still needs to handle the channel positions/masks and
channel reordering.
2012-01-05 10:30:33 +01:00
Sebastian Dröge
c97ac83d66
cutter: Update for the new raw audio layout field
2012-01-05 10:30:33 +01:00
Sebastian Dröge
720a49b86c
goom: Port to the new multichannel caps and update for the new raw audio layout field
2012-01-05 10:30:33 +01:00
Sebastian Dröge
80dcefc702
equalizer: Update for the new raw audio layout field
2012-01-05 10:30:32 +01:00
Sebastian Dröge
a4cccc9191
avidemux: Update for the libgstriff API changes
...
Still needs to do reordering of channels for raw audio.
2012-01-05 10:30:32 +01:00
Sebastian Dröge
51c7259c97
auparse: Port to the new multichannel caps and the new raw audio layout field
2012-01-05 10:30:31 +01:00
Sebastian Dröge
686698bf72
audiofx: Port to the new multichannel caps and the new raw audio layout field
2012-01-05 10:30:31 +01:00
Peter Seiderer
b82d9ca240
multifilesink: post better error message when we run out of disk space
...
Map write errno ENOSPC to GST_RESOURCE_ERROR_NO_SPACE_LEFT.
2012-01-04 15:38:29 +00:00
Edward Hervey
63ee1009c2
alphacolor: More fixes/cleanup
2012-01-04 13:26:45 +01:00
Edward Hervey
4b2a0aba06
alpha: Refactor param/process functions
...
When ::set_info() is called, the input/output VideoInfo aren't set
yet on the videofilter.
2012-01-04 13:25:40 +01:00
Wim Taymans
47a1da9076
GST_FLOW_UNEXPECTED -> GST_FLOW_EOS
2012-01-04 10:01:48 +01:00
Matej Knopp
03408a475c
dcaparse: use right variable
...
Fixes use of unitialized variable.
https://bugzilla.gnome.org/show_bug.cgi?id=667085
2012-01-03 14:43:38 +00:00
Wim Taymans
5fd2b7abe3
GST_FLOW_UNEXPECTED -> GST_FLOW_EOS
2012-01-03 15:26:21 +01:00
Tim-Philipp Müller
27ee8931dd
autodetect, rtsp: gst_registry_get_default() -> gst_registry_get()
2012-01-02 14:32:40 +00:00
Tim-Philipp Müller
0f3e05e580
matroska: update for GstIndex removal
2011-12-30 17:41:46 +00:00
Tim-Philipp Müller
aeb69c188b
qtdemux: update for GstIndex removal
2011-12-30 17:23:43 +00:00
Tim-Philipp Müller
2884785d54
flvdemux: update for GstIndex removal
...
Add private GstMemIndex for now.
2011-12-30 17:20:57 +00:00
Tim-Philipp Müller
fe02975939
avidemux: update for GstIndex removal
2011-12-30 17:12:03 +00:00
Tim-Philipp Müller
86cd5bd7f2
udpsrc: fix valgrind warning
...
https://bugzilla.gnome.org/show_bug.cgi?id=666644
2011-12-27 11:50:03 +00:00
John Ogness
0c4b60f010
udpsrc: drop dataless UDP packets
...
It is allowed to send/receive UDP packets with no data. When such
a packet is available, select() will return with success but
ioctl(FIONREAD) will return 0. But a read() must still occur in
order to clear off the UDP packet from the queue.
This patch will read the dataless packet from the socket. If
select() was woken for other reasons (and FIONREAD returns 0),
this may result in a UDP packet getting accidentally dropped.
But since UDP is not reliable, this is acceptable.
NOTE: This patch fixes a nasty bug where sending a dataless
UDP packet to a udpsrc instance will cause an infinite
loop.
https://bugzilla.gnome.org/show_bug.cgi?id=666644
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2011-12-27 01:40:34 +00:00
Tim-Philipp Müller
89521166b2
flvmux: don't try to push already-freed buffers
...
Fixes unit test.
2011-12-25 14:23:29 +00:00
Sebastian Dröge
348afe1669
wavparse: Use scale_ceil() functions from core instead of custom ones
2011-12-24 10:57:42 +01:00
Wim Taymans
2214657113
update for videofilter changes.
2011-12-21 23:51:03 +01:00
Branko Subasic
a7d6690f92
matroskademux: do not consider duration of non-finalized file
...
... to avoid it clamping requested seek position.
Non-finalized file case, determined by whether
_parse_blockgroup_or_simpleblock ever updates the segment duration.
Fixes #652195 .
2011-12-21 18:14:26 +01:00
Mark Nauwelaerts
628ae5c1a1
matroskademux: improve decision to fall back to scanning when seeking
...
... which is basically iff not streaming and no entry found in index
2011-12-21 15:45:36 +01:00
Oleksij Rempel (Alexey Fisher)
4f98b4ec85
ac3parse: remove unused variable
...
remove unused variable to fix compile error:
make -C audioparsers
make[3]: Betrete Verzeichnis '/home/lex/tmp/gst-plugins-good/gst/audioparsers'
CC libgstaudioparsers_la-gstaacparse.lo
gstaacparse.c: In function 'gst_aac_parse_read_loas_audio_specific_config':
gstaacparse.c:446:12: error: variable 'sbr' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
2011-12-21 13:16:44 +00:00
Vincent Penquerc'h
93ac6fb47e
ac3parse: let bsid 9 and 10 through
...
Files with 9 and 10 happen, and seem to comply with the <= 8
format, so let them through.
The spec says nothing about 9 and 10.
https://bugzilla.gnome.org/show_bug.cgi?id=658546
2011-12-20 19:29:42 +00:00
Mark Nauwelaerts
b175d1cbc4
flvmux: properly determine final duration
...
... which can be authoratively obtained from our own written timestamps.
2011-12-19 17:45:07 +01:00
Mark Nauwelaerts
fa5c02b211
flvmux: only write full metadata at start
...
... rather than having (potentially) unnecessary duplicates written all over,
or even contradictory varying filesize info, or duration info that will not
be rewritten upon header rewrite.
2011-12-19 17:45:04 +01:00
Mark Nauwelaerts
8c32195d51
flvmux: use GstCollectPads2 buffer callback and running time clipper
...
... since the default collection heuristics suffice.
2011-12-19 17:45:01 +01:00
Mark Nauwelaerts
0c7a491a6f
qtmux: use GstCollectPads2 buffer callback and running time clipper
...
... since default collection heuristics suffice.
2011-12-19 17:44:57 +01:00
Mark Nauwelaerts
f06d741633
matroskamux: bring a few debug statements up to specs
...
... and minor spelling fix.
2011-12-19 17:44:55 +01:00
Mark Nauwelaerts
0626724262
matroskamux: additional subtitle support
2011-12-19 17:44:52 +01:00
Mark Nauwelaerts
0845a3718a
matroskamux: additional buffer handling cleanup
2011-12-19 17:44:43 +01:00
Mark Nauwelaerts
7723d64a73
matroskamux: use GstCollectPads2 buffer callback and running time clipper
2011-12-19 17:44:41 +01:00
Vincent Penquerc'h
16a4c596eb
aacparse: parse LOAS variant
...
The LOAS variant seems to have three different subvariants itself,
only one of them is implemented as my two samples happen to be
using that one.
The sample rate is not always reported correctly, as the "main"
sample rate is apparently sometimes half what it should be (both
of my samples report 24000 Hz there), and there are two other
parts of the subvariant with different sampling rates. One of them
is parsed, but not the other, as it's located after some other
large amount of variable data that needs parsing first, and there
seems to be a LOT of it, which is useless for our needs here.
This ends up being rather inconsequential, as ffdec_aac_latm,
which is the only decoder that can decode such streams, does not
need the sample rate on the caps anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=665394
2011-12-19 11:39:44 +00:00
Wim Taymans
8e801dfe1e
wavparse: don't remove srcpad
...
Don't remove the always srcpad in ready and make the element reusable.
2011-12-19 10:48:54 +01:00
Mark Nauwelaerts
50be1d5dae
flvmux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:49:41 +01:00