platform/upstream/gst-plugins-ugly.git
12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 17 Feb 2012 08:16:32 +0000 (09:16 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/mad/gstmad.c

12 years agomad: unhack last frame coaxing
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.

12 years agomad: fix compilation
Wim Taymans [Wed, 15 Feb 2012 12:45:00 +0000 (13:45 +0100)]
mad: fix compilation

12 years agomad: chain up to default event handler
Wim Taymans [Wed, 15 Feb 2012 12:40:13 +0000 (13:40 +0100)]
mad: chain up to default event handler

12 years agox264enc: unmap video frame after encoding
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

12 years agox264enc: fix after merge
Wim Taymans [Fri, 10 Feb 2012 16:02:38 +0000 (17:02 +0100)]
x264enc: fix after merge

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 10 Feb 2012 16:00:33 +0000 (17:00 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/x264/gstx264enc.c

12 years agosidplay: don't use ulong properties
Wim Taymans [Thu, 9 Feb 2012 17:10:48 +0000 (18:10 +0100)]
sidplay: don't use ulong properties

12 years agosidplay: fix negotiation
Wim Taymans [Thu, 9 Feb 2012 15:14:55 +0000 (16:14 +0100)]
sidplay: fix negotiation

12 years agox264enc: Add baseline profile to caps
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.

12 years agoGST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
Wim Taymans [Wed, 8 Feb 2012 15:38:09 +0000 (16:38 +0100)]
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING

12 years agompeg2dec: fix test a bit more
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

12 years agotests: fix some tests
Wim Taymans [Tue, 7 Feb 2012 10:06:29 +0000 (11:06 +0100)]
tests: fix some tests

12 years agotwolame: Use new audio encoder/decoder base class API for srcpad caps
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

12 years agolame: 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

12 years agomad: 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

12 years agoa52dec: 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

12 years agoamrwbdec: 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

12 years agoamrnb: 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

12 years agomad: ensure we do not confuse the base class with our buffer guard
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.

12 years agoupdate for HEADER flag
Wim Taymans [Mon, 30 Jan 2012 16:17:31 +0000 (17:17 +0100)]
update for HEADER flag

12 years agox264enc: implement force-key-unit API
Alessandro Decina [Wed, 20 Jul 2011 07:00:58 +0000 (09:00 +0200)]
x264enc: implement force-key-unit API

12 years agoAutomatic update of common submodule
Thomas Vander Stichele [Wed, 25 Jan 2012 12:58:48 +0000 (13:58 +0100)]
Automatic update of common submodule

From c463bc0 to 7fda524

12 years agoamr: port to 0.11 again
Wim Taymans [Wed, 25 Jan 2012 12:58:54 +0000 (13:58 +0100)]
amr: port to 0.11 again

12 years agoMerge branch 'master' into 0.11
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

12 years agoport to new memory API
Wim Taymans [Wed, 25 Jan 2012 06:24:59 +0000 (07:24 +0100)]
port to new memory API

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 25 Jan 2012 10:38:56 +0000 (11:38 +0100)]
Automatic update of common submodule

From 2a59016 to c463bc0

12 years agoRemove compatibility versions for deprecated GLib API
Tim-Philipp Müller [Sun, 22 Jan 2012 23:56:07 +0000 (23:56 +0000)]
Remove compatibility versions for deprecated GLib API

12 years agoa52dec: fix read buffer overflow upon syncing
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.

12 years agoAdd --disable-fatal-warnings configure option
Tim-Philipp Müller [Thu, 19 Jan 2012 15:06:47 +0000 (15:06 +0000)]
Add --disable-fatal-warnings configure option

12 years agoport to new gthread API
Wim Taymans [Thu, 19 Jan 2012 10:34:41 +0000 (11:34 +0100)]
port to new gthread API

12 years agoconfigure.ac: Require GLib 2.31.10 for consistency
Sebastian Dröge [Wed, 18 Jan 2012 16:00:26 +0000 (17:00 +0100)]
configure.ac: Require GLib 2.31.10 for consistency

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 18 Jan 2012 15:46:42 +0000 (16:46 +0100)]
Automatic update of common submodule

From 0807187 to 2a59016

12 years agoamrwbdec: _parse should not return OK if not enough data yet
Mark Nauwelaerts [Tue, 17 Jan 2012 10:55:59 +0000 (11:55 +0100)]
amrwbdec: _parse should not return OK if not enough data yet

12 years agoamrnbdec: _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

12 years agodvdreadsrc: fix off by one in cell calculation for the last chapter
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

12 years agoasfdemux: set caps on src pad before adding it
Mark Nauwelaerts [Fri, 13 Jan 2012 14:56:47 +0000 (15:56 +0100)]
asfdemux: set caps on src pad before adding it

12 years agoasfdemux: perform writable buffer map to copy into it
Mark Nauwelaerts [Fri, 13 Jan 2012 14:56:25 +0000 (15:56 +0100)]
asfdemux: perform writable buffer map to copy into it

12 years agoasfpacket: fix 0.11 ported payload extraction
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.

12 years agox264enc: remove useless and semantically (though not practically) wrong code
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.

12 years agox264enc: remove leaking "optimization"
Vincent Penquerc'h [Fri, 13 Jan 2012 13:46:28 +0000 (13:46 +0000)]
x264enc: remove leaking "optimization"

12 years agoGST_TYPE_DATE -> G_TYPE_DATE
Tim-Philipp Müller [Fri, 13 Jan 2012 00:05:50 +0000 (00:05 +0000)]
GST_TYPE_DATE -> G_TYPE_DATE

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
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

12 years agoa52dec: plug buffer leak
Mark Nauwelaerts [Thu, 12 Jan 2012 12:25:22 +0000 (13:25 +0100)]
a52dec: plug buffer leak

12 years agoa52dec: plug buffer leak
Mark Nauwelaerts [Thu, 12 Jan 2012 12:20:26 +0000 (13:20 +0100)]
a52dec: plug buffer leak

12 years agoamrnbenc: _map and _unmap the appropriate input and output buffers
Mark Nauwelaerts [Wed, 11 Jan 2012 11:31:11 +0000 (12:31 +0100)]
amrnbenc: _map and _unmap the appropriate input and output buffers

12 years agoa52dec: Fix some merge mistakes
Sebastian Dröge [Tue, 10 Jan 2012 14:25:12 +0000 (15:25 +0100)]
a52dec: Fix some merge mistakes

12 years agoMerge branch 'master' into 0.11
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

12 years agodvdsub: add some CFLAGS and LIBS in Makefile.am
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.

12 years agormdemux: Don't use buffer after unreffing
Sebastian Dröge [Mon, 9 Jan 2012 15:00:18 +0000 (16:00 +0100)]
rmdemux: Don't use buffer after unreffing

12 years agoasfdemux: Only change writable caps and make sure to set updated caps on the srcpad
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

12 years agomad: Correctly unmap the buffer with the original data pointer
Sebastian Dröge [Mon, 9 Jan 2012 14:24:53 +0000 (15:24 +0100)]
mad: Correctly unmap the buffer with the original data pointer

12 years agomad: Make sure to set caps on the srcpad if none are set yet
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

12 years agomad: fix LIBS order in Makefile.am
Tim-Philipp Müller [Sun, 8 Jan 2012 14:24:11 +0000 (14:24 +0000)]
mad: fix LIBS order in Makefile.am

12 years agomad: remove left-over id3tag.h include
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.

12 years agodvdlpcmdec: fix for multichannel
Wim Taymans [Thu, 5 Jan 2012 11:17:20 +0000 (12:17 +0100)]
dvdlpcmdec: fix for multichannel

12 years agoa52dec: Update for the new raw audio caps
Sebastian Dröge [Wed, 4 Jan 2012 15:05:59 +0000 (16:05 +0100)]
a52dec: Update for the new raw audio caps

12 years agomad: 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

12 years agolamemp3enc: 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

12 years agotwolamemp2enc: 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

12 years agoamrwbdec: Add the new layout field to the 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

12 years agoamrnb: 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

12 years agodvdlpcmdec: Port to the new 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

12 years agoasfdemux: Update for libgstriff API changes
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.

12 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 4 Jan 2012 19:53:13 +0000 (19:53 +0000)]
Automatic update of common submodule

From 50b34ab to 0807187

12 years agolame: fix LIBADD order in Makefile.am
Tim-Philipp Müller [Wed, 4 Jan 2012 17:05:32 +0000 (17:05 +0000)]
lame: fix LIBADD order in Makefile.am

12 years agotests: make tests compile
Wim Taymans [Wed, 4 Jan 2012 09:33:27 +0000 (10:33 +0100)]
tests: make tests compile

12 years agoGST_FLOW_UNEXPECTED -> GST_FLOW_EOS
Wim Taymans [Tue, 3 Jan 2012 14:27:42 +0000 (15:27 +0100)]
GST_FLOW_UNEXPECTED -> GST_FLOW_EOS

12 years agotests: disable generic index test
Tim-Philipp Müller [Fri, 30 Dec 2011 18:31:32 +0000 (18:31 +0000)]
tests: disable generic index test

12 years agompeg2dec: remove all seeking-related code
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.

12 years agompeg2dec: update for GstIndex removal
Tim-Philipp Müller [Fri, 30 Dec 2011 17:49:01 +0000 (17:49 +0000)]
mpeg2dec: update for GstIndex removal

12 years agocdio: update for probe vfunc removal in GstAudioCdSrc
Tim-Philipp Müller [Fri, 30 Dec 2011 17:46:06 +0000 (17:46 +0000)]
cdio: update for probe vfunc removal in GstAudioCdSrc

12 years agolame: fix printf format in debug statements
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

12 years agolame: ensure parsed output
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.

12 years agolame: cleanup unused instance struct fields
Mark Nauwelaerts [Mon, 26 Dec 2011 15:34:01 +0000 (16:34 +0100)]
lame: cleanup unused instance struct fields

12 years agolamemp3enc: ensure parsed output
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.

12 years agolamemp3enc: do not leak merged tags
Mark Nauwelaerts [Mon, 26 Dec 2011 17:15:41 +0000 (18:15 +0100)]
lamemp3enc: do not leak merged tags

12 years agomad: helpfully bodge the last buffer to let mad decode the last frame
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)).

12 years agodvdreadsrc: map subtitle language tag to stream indicated in PGC 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

12 years agodvddemux: tweak subtitle stream setup based on dvd language codes event
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).

12 years agodvdreadsrc: minor safety tweak to sector seeking
Mark Nauwelaerts [Wed, 21 Dec 2011 12:56:35 +0000 (13:56 +0100)]
dvdreadsrc: minor safety tweak to sector seeking

12 years agoa52dec: check that a52_init returns a valid a52 state
Julien Isorce [Tue, 20 Dec 2011 10:54:38 +0000 (11:54 +0100)]
a52dec: check that a52_init returns a valid a52 state

12 years agompeg2dec: update for new interlaced flags
Wim Taymans [Mon, 19 Dec 2011 17:20:56 +0000 (18:20 +0100)]
mpeg2dec: update for new interlaced flags

12 years agoa52dec: port to audiodecoder
Mark Nauwelaerts [Wed, 14 Dec 2011 16:33:52 +0000 (17:33 +0100)]
a52dec: port to audiodecoder

12 years agomad: port to audiodecoder
Mark Nauwelaerts [Mon, 12 Dec 2011 12:44:12 +0000 (13:44 +0100)]
mad: port to audiodecoder

12 years agoa52dec: Don't claim to support upstream renegotiation
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.

12 years agoa52dec: Check that the a52_state is correctly initialized
Julien Isorce [Tue, 13 Dec 2011 13:52:26 +0000 (14:52 +0100)]
a52dec: Check that the a52_state is correctly initialized

12 years agoWork around deprecated thread API in glib master
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.

12 years agopo: update translations
Tim-Philipp Müller [Sat, 10 Dec 2011 15:19:03 +0000 (15:19 +0000)]
po: update translations

12 years agordtdepay: make buffer metadata writable before setting caps on it
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.

12 years agofix for basesrc changes
Wim Taymans [Tue, 6 Dec 2011 13:00:18 +0000 (14:00 +0100)]
fix for basesrc changes

12 years agortpasfdepay: Initialize GstRTPBuffer before usage
Edward Hervey [Mon, 5 Dec 2011 17:43:49 +0000 (18:43 +0100)]
rtpasfdepay: Initialize GstRTPBuffer before usage

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
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

12 years agodvdreadsrc: Fix format string compiler warning
Руслан Ижбулатов [Tue, 29 Nov 2011 07:49:23 +0000 (08:49 +0100)]
dvdreadsrc: Fix format string compiler warning

Fixes bug #665101.

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Mon, 28 Nov 2011 21:31:25 +0000 (21:31 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

12 years agoUpdate for indexable change
Wim Taymans [Mon, 28 Nov 2011 17:26:34 +0000 (18:26 +0100)]
Update for indexable change

12 years agoupdate for clock provider API change
Wim Taymans [Mon, 28 Nov 2011 16:52:52 +0000 (17:52 +0100)]
update for clock provider API change

12 years agovarious: fix pad template ref leaks
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

12 years agotests: update for gstcheck API change
René Stadler [Thu, 24 Nov 2011 20:41:55 +0000 (21:41 +0100)]
tests: update for gstcheck API change

12 years agoext: fix more printf format warnings in debug messages
Tim-Philipp Müller [Wed, 23 Nov 2011 23:29:03 +0000 (23:29 +0000)]
ext: fix more printf format warnings in debug messages