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
Mark Nauwelaerts
f6b38f2c39
matroskamux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:31:36 +01:00
Mark Nauwelaerts
97391f1402
avimux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:31:33 +01:00
Mark Nauwelaerts
7480b4407e
qtmux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:31:29 +01:00
Vincent Penquerc'h
994dbb4c39
smpte: port to GstCollectPads2
2011-12-14 19:13:21 +00:00
Vincent Penquerc'h
738ee836f3
multipartmux: port to GstCollectPads2
2011-12-14 19:10:53 +00:00
Vincent Penquerc'h
c422a4e2e6
matroskamux: port to GstCollectPads2
2011-12-14 19:07:23 +00:00
Vincent Penquerc'h
79a6e23c1f
qtmux: port to GstCollectPads2
2011-12-14 19:02:23 +00:00
Vincent Penquerc'h
3135cab5a3
interleave: port to GstCollectPads2
2011-12-14 18:55:36 +00:00
Vincent Penquerc'h
44d001346a
flxmux: port to GstCollectPads2
2011-12-14 18:52:37 +00:00
Vincent Penquerc'h
a89e2b7e48
avimux: port to GstCollectPads2
2011-12-14 18:38:09 +00:00
Mark Nauwelaerts
ebfc77da19
matroskademux: filter bogus index entries with missing block number
...
... to avoid contradictory information resulting in seeks sending more
downstream than needed for the corresponding segment.
2011-12-13 18:20:49 +01:00
Mark Nauwelaerts
00ed34d2eb
matroskademux: cater for safer arithmetic with global start time
2011-12-13 18:20:47 +01:00
Mark Nauwelaerts
fd88096577
matroskademux: tweak final closing segment sending
...
... to avoid it interfering with (sparse) stream syncing.
2011-12-13 18:20:44 +01:00
Thiago Santos
4a5364d7f6
qtmux: make debug message more useful
...
Add information about the taglist and which pad received the
tag event on the debug logging.
2011-12-13 10:21:31 -03:00
Vincent Penquerc'h
ecec3859d8
wavparse: avoid using floating point unnecessarily
...
https://bugzilla.gnome.org/show_bug.cgi?id=665911
2011-12-13 13:01:03 +00:00
Vincent Penquerc'h
b612550379
wavparse: fix format specifier signedness
...
Use unsigned specifiers for all unsigned values.
A lot of the values used here are unsigned, and some can take
high enough values that their signed counterpart will be negative.
https://bugzilla.gnome.org/show_bug.cgi?id=665911
2011-12-13 13:01:03 +00:00
Vincent Penquerc'h
734e352b73
wavparse: add a ignore-length property
...
This allows playing broken streams which write an incorrect
length in their data chunks (such as, at least, one streaming
camera).
https://bugzilla.gnome.org/show_bug.cgi?id=665911
2011-12-13 13:01:03 +00:00
Mark Nauwelaerts
581ca6ce4e
matroskademux: mind (un)signed in some timestamp arithmetic
...
... to avoid ending up with invalid (negative) duration.
2011-12-12 15:23:50 +01:00
Mark Nauwelaerts
ed3f89fad5
qtdemux: increase parse tolerance for fuzzy file cases
2011-12-12 15:23:33 +01: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
f60eb9ae2c
alpha: use new glib API for static mutex if available
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
Wim Taymans
9e27b122d9
ssrcdemux: fix iterator and caps
2011-12-10 11:13:38 +01:00
Wim Taymans
da980884dd
rtpsession: forward the caps event
2011-12-10 11:13:38 +01:00
Wim Taymans
a705b2ec17
jitterbuffer: simply forward the caps event
...
forward the caps event we get as input instead of making a new event etc..
2011-12-10 11:13:38 +01:00
Wim Taymans
68588c3f18
rtpsession: forward caps
2011-12-10 11:13:38 +01:00
Wim Taymans
6ac5e1ae16
rtp: pass parent to setcaps methods
2011-12-10 11:13:38 +01:00
Tim-Philipp Müller
501642dd63
law: fix CFLAGS and LIBS order in Makefile.am
2011-12-09 12:19:13 +00:00
Tim-Philipp Müller
b50bee2617
Merge remote-tracking branch 'origin/master' into 0.11
2011-12-09 12:15:30 +00:00
Wim Taymans
439e2f1cfd
rtp: fix marshallers
...
Remove custom marshallers for minobject.
Init RTCP buffer correctly.
Handle results from setcaps
Remove asserts.
2011-12-09 10:51:14 +01:00
Wim Taymans
7f51236346
law: fix negotiation
2011-12-09 10:50:18 +01:00
Tim-Philipp Müller
c363ae8254
matroskamux: stream-format=raw goes with aac caps, not mp3 caps
2011-12-08 11:00:45 +00:00
Tim-Philipp Müller
668e15598b
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
sys/v4l2/gstv4l2object.c
2011-12-08 01:28:26 +00:00
Stefan Sauer
b5324c288b
docs: add add the two enum values that were just added too
2011-12-06 16:47:25 +01:00
Stefan Sauer
64dd9f18a7
multifilesink: expose the enum property docs for splitting mode.
...
Fixes #665666 .
2011-12-06 16:16:12 +01:00
Wim Taymans
b1d771cf8c
h263pay: fix invalid return value
2011-12-06 14:23:30 +01:00
Wim Taymans
d0b936acc7
rtspsrc: remove unused flush param
2011-12-06 13:59:52 +01:00
Edward Hervey
86961d5986
rtpxqtdepay: Initialize GstRTPBuffer before usage
2011-12-05 18:40:26 +01:00