Wim Taymans [Fri, 17 Feb 2012 08:16:32 +0000 (09:16 +0100)]
Merge branch 'master' into 0.11
Conflicts:
ext/mad/gstmad.c
Mark Nauwelaerts [Thu, 16 Feb 2012 13:29:47 +0000 (14:29 +0100)]
mad: unhack last frame coaxing
... so as to maximally use available base class API and interfere least
as possible with its internal state.
Wim Taymans [Wed, 15 Feb 2012 12:45:00 +0000 (13:45 +0100)]
mad: fix compilation
Wim Taymans [Wed, 15 Feb 2012 12:40:13 +0000 (13:40 +0100)]
mad: chain up to default event handler
Matej Knopp [Sat, 11 Feb 2012 10:38:41 +0000 (05:38 -0500)]
x264enc: unmap video frame after encoding
Fixes major memory leak.
https://bugzilla.gnome.org/show_bug.cgi?id=669863
Wim Taymans [Fri, 10 Feb 2012 16:02:38 +0000 (17:02 +0100)]
x264enc: fix after merge
Wim Taymans [Fri, 10 Feb 2012 16:00:33 +0000 (17:00 +0100)]
Merge branch 'master' into 0.11
Conflicts:
ext/x264/gstx264enc.c
Wim Taymans [Thu, 9 Feb 2012 17:10:48 +0000 (18:10 +0100)]
sidplay: don't use ulong properties
Wim Taymans [Thu, 9 Feb 2012 15:14:55 +0000 (16:14 +0100)]
sidplay: fix negotiation
Robert Swain [Thu, 9 Feb 2012 10:55:07 +0000 (11:55 +0100)]
x264enc: Add baseline profile to caps
libx264 does not yet support the features that create the difference
between baseline and constrained baseline profile. Hence it currently
supports both though it can only technically encode constrained
baseline.
Wim Taymans [Wed, 8 Feb 2012 15:38:09 +0000 (16:38 +0100)]
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
Wim Taymans [Tue, 7 Feb 2012 17:56:23 +0000 (18:56 +0100)]
mpeg2dec: fix test a bit more
Still broken because cropping is broken in mpeg2dec
Wim Taymans [Tue, 7 Feb 2012 10:06:29 +0000 (11:06 +0100)]
tests: fix some tests
Sebastian Dröge [Wed, 1 Feb 2012 15:20:46 +0000 (16:20 +0100)]
twolame: Use new audio encoder/decoder base class API for srcpad caps
Sebastian Dröge [Wed, 1 Feb 2012 15:20:26 +0000 (16:20 +0100)]
lame: Use new audio encoder/decoder base class API for srcpad caps
Sebastian Dröge [Wed, 1 Feb 2012 15:19:55 +0000 (16:19 +0100)]
mad: Use new audio encoder/decoder base class API for srcpad caps
Sebastian Dröge [Wed, 1 Feb 2012 15:17:57 +0000 (16:17 +0100)]
a52dec: Use new audio encoder/decoder base class API for srcpad caps
Sebastian Dröge [Wed, 1 Feb 2012 15:15:27 +0000 (16:15 +0100)]
amrwbdec: Use new audio encoder/decoder base class API for srcpad caps
Sebastian Dröge [Wed, 1 Feb 2012 15:14:08 +0000 (16:14 +0100)]
amrnb: Use new audio encoder/decoder base class API for srcpad caps
Vincent Penquerc'h [Tue, 31 Jan 2012 15:52:38 +0000 (15:52 +0000)]
mad: ensure we do not confuse the base class with our buffer guard
mad expects extra bytes at the end of a buffer (see discussion in
http://www.mars.org/mailman/public/mad-dev/2001-May/000262.html),
and since we inject these without the base class' knowledge, we
need to hide the bodies better.
This fixes an assert at EOS when decoding an mp3 manually without
an intervening mpegaudioparse.
Wim Taymans [Mon, 30 Jan 2012 16:17:31 +0000 (17:17 +0100)]
update for HEADER flag
Alessandro Decina [Wed, 20 Jul 2011 07:00:58 +0000 (09:00 +0200)]
x264enc: implement force-key-unit API
Thomas Vander Stichele [Wed, 25 Jan 2012 12:58:48 +0000 (13:58 +0100)]
Automatic update of common submodule
From c463bc0 to 7fda524
Wim Taymans [Wed, 25 Jan 2012 12:58:54 +0000 (13:58 +0100)]
amr: port to 0.11 again
Sebastian Dröge [Wed, 25 Jan 2012 12:03:33 +0000 (13:03 +0100)]
Merge branch 'master' into 0.11
Conflicts:
ext/a52dec/gsta52dec.c
Wim Taymans [Wed, 25 Jan 2012 06:24:59 +0000 (07:24 +0100)]
port to new memory API
Sebastian Dröge [Wed, 25 Jan 2012 10:38:56 +0000 (11:38 +0100)]
Automatic update of common submodule
From 2a59016 to c463bc0
Tim-Philipp Müller [Sun, 22 Jan 2012 23:56:07 +0000 (23:56 +0000)]
Remove compatibility versions for deprecated GLib API
Vincent Penquerc'h [Thu, 19 Jan 2012 15:26:25 +0000 (15:26 +0000)]
a52dec: fix read buffer overflow upon syncing
The wrong size was being decremented, leading to a runaway
read loop.
Tim-Philipp Müller [Thu, 19 Jan 2012 15:06:47 +0000 (15:06 +0000)]
Add --disable-fatal-warnings configure option
Wim Taymans [Thu, 19 Jan 2012 10:34:41 +0000 (11:34 +0100)]
port to new gthread API
Sebastian Dröge [Wed, 18 Jan 2012 16:00:26 +0000 (17:00 +0100)]
configure.ac: Require GLib 2.31.10 for consistency
Sebastian Dröge [Wed, 18 Jan 2012 15:46:42 +0000 (16:46 +0100)]
Automatic update of common submodule
From 0807187 to 2a59016
Mark Nauwelaerts [Tue, 17 Jan 2012 10:55:59 +0000 (11:55 +0100)]
amrwbdec: _parse should not return OK if not enough data yet
Mark Nauwelaerts [Tue, 17 Jan 2012 10:55:14 +0000 (11:55 +0100)]
amrnbdec: _parse should not return OK if not enough data yet
Vincent Penquerc'h [Fri, 13 Jan 2012 15:03:50 +0000 (15:03 +0000)]
dvdreadsrc: fix off by one in cell calculation for the last chapter
Mark Nauwelaerts [Fri, 13 Jan 2012 14:56:47 +0000 (15:56 +0100)]
asfdemux: set caps on src pad before adding it
Mark Nauwelaerts [Fri, 13 Jan 2012 14:56:25 +0000 (15:56 +0100)]
asfdemux: perform writable buffer map to copy into it
Mark Nauwelaerts [Fri, 13 Jan 2012 14:55:15 +0000 (15:55 +0100)]
asfpacket: fix 0.11 ported payload extraction
... to cater for not necessarily offset == size - cur_pos,
as size may have been adjusted due to padding.
Fixes #667567.
Vincent Penquerc'h [Fri, 13 Jan 2012 13:46:50 +0000 (13:46 +0000)]
x264enc: remove useless and semantically (though not practically) wrong code
The object will be freed, so it's pointless to set the pointers
to NULL anyway.
Vincent Penquerc'h [Fri, 13 Jan 2012 13:46:28 +0000 (13:46 +0000)]
x264enc: remove leaking "optimization"
Tim-Philipp Müller [Fri, 13 Jan 2012 00:05:50 +0000 (00:05 +0000)]
GST_TYPE_DATE -> G_TYPE_DATE
Tim-Philipp Müller [Fri, 13 Jan 2012 00:01:01 +0000 (00:01 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
ext/a52dec/gsta52dec.c
Mark Nauwelaerts [Thu, 12 Jan 2012 12:25:22 +0000 (13:25 +0100)]
a52dec: plug buffer leak
Mark Nauwelaerts [Thu, 12 Jan 2012 12:20:26 +0000 (13:20 +0100)]
a52dec: plug buffer leak
Mark Nauwelaerts [Wed, 11 Jan 2012 11:31:11 +0000 (12:31 +0100)]
amrnbenc: _map and _unmap the appropriate input and output buffers
Sebastian Dröge [Tue, 10 Jan 2012 14:25:12 +0000 (15:25 +0100)]
a52dec: Fix some merge mistakes
Sebastian Dröge [Tue, 10 Jan 2012 14:17:11 +0000 (15:17 +0100)]
Merge branch 'master' into 0.11
Conflicts:
ext/a52dec/gsta52dec.c
ext/a52dec/gsta52dec.h
ext/lame/gstlame.c
ext/lame/gstlame.h
ext/lame/gstlamemp3enc.c
ext/mad/gstmad.c
ext/mad/gstmad.h
gst/mpegaudioparse/gstmpegaudioparse.c
gst/mpegstream/gstdvddemux.c
gst/realmedia/rdtdepay.c
po/es.po
po/lv.po
po/sr.po
Mark Nauwelaerts [Tue, 10 Jan 2012 10:41:52 +0000 (11:41 +0100)]
dvdsub: add some CFLAGS and LIBS in Makefile.am
... since adapter is still used.
Sebastian Dröge [Mon, 9 Jan 2012 15:00:18 +0000 (16:00 +0100)]
rmdemux: Don't use buffer after unreffing
Sebastian Dröge [Mon, 9 Jan 2012 14:46:10 +0000 (15:46 +0100)]
asfdemux: Only change writable caps and make sure to set updated caps on the srcpad
Sebastian Dröge [Mon, 9 Jan 2012 14:24:53 +0000 (15:24 +0100)]
mad: Correctly unmap the buffer with the original data pointer
Sebastian Dröge [Mon, 9 Jan 2012 14:15:28 +0000 (15:15 +0100)]
mad: Make sure to set caps on the srcpad if none are set yet
Tim-Philipp Müller [Sun, 8 Jan 2012 14:24:11 +0000 (14:24 +0000)]
mad: fix LIBS order in Makefile.am
Tim-Philipp Müller [Sat, 7 Jan 2012 21:04:01 +0000 (21:04 +0000)]
mad: remove left-over id3tag.h include
We don't use libid3tag any more.
Wim Taymans [Thu, 5 Jan 2012 11:17:20 +0000 (12:17 +0100)]
dvdlpcmdec: fix for multichannel
Sebastian Dröge [Wed, 4 Jan 2012 15:05:59 +0000 (16:05 +0100)]
a52dec: Update for the new raw audio caps
Sebastian Dröge [Wed, 4 Jan 2012 14:49:38 +0000 (15:49 +0100)]
mad: Update for the new raw audio caps
Sebastian Dröge [Wed, 4 Jan 2012 14:45:43 +0000 (15:45 +0100)]
lamemp3enc: Update for the new raw audio caps
Sebastian Dröge [Wed, 4 Jan 2012 14:44:37 +0000 (15:44 +0100)]
twolamemp2enc: Update for the new raw audio caps
Sebastian Dröge [Wed, 4 Jan 2012 14:43:13 +0000 (15:43 +0100)]
amrwbdec: Add the new layout field to the raw audio caps
Sebastian Dröge [Wed, 4 Jan 2012 14:42:29 +0000 (15:42 +0100)]
amrnb: Add the new layout field to the raw audio caps
Sebastian Dröge [Wed, 4 Jan 2012 14:26:56 +0000 (15:26 +0100)]
dvdlpcmdec: Port to the new raw audio caps
Sebastian Dröge [Wed, 4 Jan 2012 14:12:26 +0000 (15:12 +0100)]
asfdemux: Update for libgstriff API changes
Still needs to handle audio channel reordering.
Tim-Philipp Müller [Wed, 4 Jan 2012 19:53:13 +0000 (19:53 +0000)]
Automatic update of common submodule
From 50b34ab to 0807187
Tim-Philipp Müller [Wed, 4 Jan 2012 17:05:32 +0000 (17:05 +0000)]
lame: fix LIBADD order in Makefile.am
Wim Taymans [Wed, 4 Jan 2012 09:33:27 +0000 (10:33 +0100)]
tests: make tests compile
Wim Taymans [Tue, 3 Jan 2012 14:27:42 +0000 (15:27 +0100)]
GST_FLOW_UNEXPECTED -> GST_FLOW_EOS
Tim-Philipp Müller [Fri, 30 Dec 2011 18:31:32 +0000 (18:31 +0000)]
tests: disable generic index test
Tim-Philipp Müller [Fri, 30 Dec 2011 17:53:12 +0000 (17:53 +0000)]
mpeg2dec: remove all seeking-related code
A parser or demuxer upstream should handle this Same for
queries.
Tim-Philipp Müller [Fri, 30 Dec 2011 17:49:01 +0000 (17:49 +0000)]
mpeg2dec: update for GstIndex removal
Tim-Philipp Müller [Fri, 30 Dec 2011 17:46:06 +0000 (17:46 +0000)]
cdio: update for probe vfunc removal in GstAudioCdSrc
Tim-Philipp Müller [Tue, 27 Dec 2011 22:54:34 +0000 (22:54 +0000)]
lame: fix printf format in debug statements
https://bugzilla.gnome.org/show_bug.cgi?id=666926
Mark Nauwelaerts [Mon, 26 Dec 2011 17:24:32 +0000 (18:24 +0100)]
lame: ensure parsed output
... by doing some basic parsing of encoded lame data.
Mark Nauwelaerts [Mon, 26 Dec 2011 15:34:01 +0000 (16:34 +0100)]
lame: cleanup unused instance struct fields
Mark Nauwelaerts [Mon, 26 Dec 2011 17:23:52 +0000 (18:23 +0100)]
lamemp3enc: ensure parsed output
... by doing some basic parsing of encoded lame data.
Fixes #652150.
Mark Nauwelaerts [Mon, 26 Dec 2011 17:15:41 +0000 (18:15 +0100)]
lamemp3enc: do not leak merged tags
Vincent Penquerc'h [Thu, 22 Dec 2011 15:23:54 +0000 (15:23 +0000)]
mad: helpfully bodge the last buffer to let mad decode the last frame
If http://www.mars.org/mailman/public/mad-dev/2001-May/000262.html is
to be believed, the last buffer must be followed by a number of 0 bytes
in order for the last frame to be decoded (at least in some cases).
Doing so seems to work here, fixing a missing 1152 samples when using
mp3parse before mad (not using mp3parse would yield the correct amount
of samples, if there's extra non-MP3 data after (eg, tag data)).
Mark Nauwelaerts [Sun, 25 Jan 2009 21:49:11 +0000 (22:49 +0100)]
dvdreadsrc: map subtitle language tag to stream indicated in PGC data
Mark Nauwelaerts [Sun, 25 Jan 2009 21:49:11 +0000 (22:49 +0100)]
dvddemux: tweak subtitle stream setup based on dvd language codes event
... to allow for non-continuous subtitle stream numbers.
The missing stream numbers tend to come up as subtitle streams anyway
(albeit not with an identified language tag).
Mark Nauwelaerts [Wed, 21 Dec 2011 12:56:35 +0000 (13:56 +0100)]
dvdreadsrc: minor safety tweak to sector seeking
Julien Isorce [Tue, 20 Dec 2011 10:54:38 +0000 (11:54 +0100)]
a52dec: check that a52_init returns a valid a52 state
Wim Taymans [Mon, 19 Dec 2011 17:20:56 +0000 (18:20 +0100)]
mpeg2dec: update for new interlaced flags
Mark Nauwelaerts [Wed, 14 Dec 2011 16:33:52 +0000 (17:33 +0100)]
a52dec: port to audiodecoder
Mark Nauwelaerts [Mon, 12 Dec 2011 12:44:12 +0000 (13:44 +0100)]
mad: port to audiodecoder
Sebastian Dröge [Tue, 13 Dec 2011 13:54:18 +0000 (14:54 +0100)]
a52dec: Don't claim to support upstream renegotiation
and use fixed caps on the srcpad. To correctly support
upstream renegotiation a52dec would need to check if the
caps of the downstream allocated buffer are the requested
caps or if the size is different.
Fixes bug #665989.
Julien Isorce [Tue, 13 Dec 2011 13:52:26 +0000 (14:52 +0100)]
a52dec: Check that the a52_state is correctly initialized
Tim-Philipp Müller [Mon, 12 Dec 2011 11:33:31 +0000 (11:33 +0000)]
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 can't change most of
these in 0.10 because they're part of our API and ABI.
Suppress deprecation warnings in selected files, mostly for
g_static_rec_mutex_*. StaticRecMutex is part of our API/ABI,
not much we can do here in 0.10.
Tim-Philipp Müller [Sat, 10 Dec 2011 15:19:03 +0000 (15:19 +0000)]
po: update translations
Tim-Philipp Müller [Fri, 9 Dec 2011 15:25:21 +0000 (15:25 +0000)]
rdtdepay: make buffer metadata writable before setting caps on it
Fixes issue when the header buffer is being pushed, which was taken
from the caps and is therefore not writable.
Wim Taymans [Tue, 6 Dec 2011 13:00:18 +0000 (14:00 +0100)]
fix for basesrc changes
Edward Hervey [Mon, 5 Dec 2011 17:43:49 +0000 (18:43 +0100)]
rtpasfdepay: Initialize GstRTPBuffer before usage
Tim-Philipp Müller [Fri, 2 Dec 2011 02:01:06 +0000 (02:01 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
ext/dvdread/dvdreadsrc.c
Руслан Ижбулатов [Tue, 29 Nov 2011 07:49:23 +0000 (08:49 +0100)]
dvdreadsrc: Fix format string compiler warning
Fixes bug #665101.
Tim-Philipp Müller [Mon, 28 Nov 2011 21:31:25 +0000 (21:31 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11
Wim Taymans [Mon, 28 Nov 2011 17:26:34 +0000 (18:26 +0100)]
Update for indexable change
Wim Taymans [Mon, 28 Nov 2011 16:52:52 +0000 (17:52 +0100)]
update for clock provider API change
Vincent Penquerc'h [Mon, 28 Nov 2011 13:10:01 +0000 (13:10 +0000)]
various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
René Stadler [Thu, 24 Nov 2011 20:41:55 +0000 (21:41 +0100)]
tests: update for gstcheck API change
Tim-Philipp Müller [Wed, 23 Nov 2011 23:29:03 +0000 (23:29 +0000)]
ext: fix more printf format warnings in debug messages