platform/upstream/gstreamer.git
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

12 years agoFix print format compiler warnings on OS X / 64bit
Matej Knopp [Mon, 21 Nov 2011 21:02:07 +0000 (22:02 +0100)]
Fix print format compiler warnings on OS X / 64bit

https://bugzilla.gnome.org/show_bug.cgi?id=662617

12 years agoupdate for activation changes
Wim Taymans [Mon, 21 Nov 2011 12:36:10 +0000 (13:36 +0100)]
update for activation changes

12 years agoupdate for new scheduling query
Wim Taymans [Fri, 18 Nov 2011 17:00:28 +0000 (18:00 +0100)]
update for new scheduling query

12 years agoadd parent to activate functions
Wim Taymans [Fri, 18 Nov 2011 12:59:29 +0000 (13:59 +0100)]
add parent to activate functions

12 years agoadd parent to pad functions
Wim Taymans [Thu, 17 Nov 2011 14:25:58 +0000 (15:25 +0100)]
add parent to pad functions

12 years agoadd parent to query function
Wim Taymans [Wed, 16 Nov 2011 16:28:56 +0000 (17:28 +0100)]
add parent to query function

12 years ago_query_peer_*() -> _peer_query_*()
Wim Taymans [Tue, 15 Nov 2011 16:55:36 +0000 (17:55 +0100)]
_query_peer_*() -> _peer_query_*()

12 years ago_accept_caps() -> _query_accept_caps()
Wim Taymans [Tue, 15 Nov 2011 16:42:32 +0000 (17:42 +0100)]
_accept_caps() -> _query_accept_caps()

12 years ago_peer_get_caps() -> _peer_query_caps()
Wim Taymans [Tue, 15 Nov 2011 16:23:39 +0000 (17:23 +0100)]
_peer_get_caps() -> _peer_query_caps()

12 years agoupdate for _get_caps() -> _query_caps()
Wim Taymans [Tue, 15 Nov 2011 15:52:55 +0000 (16:52 +0100)]
update for _get_caps() -> _query_caps()

12 years agochange getcaps to query
Wim Taymans [Tue, 15 Nov 2011 15:34:39 +0000 (16:34 +0100)]
change getcaps to query

12 years agomad: re-instate accidentally dropped rank
Tim-Philipp Müller [Mon, 14 Nov 2011 00:55:16 +0000 (00:55 +0000)]
mad: re-instate accidentally dropped rank

12 years agoUpdate for GstURIHandler get_protocols() changes
Tim-Philipp Müller [Sun, 13 Nov 2011 23:47:46 +0000 (23:47 +0000)]
Update for GstURIHandler get_protocols() changes

12 years agodvdreadsrc, pnmsrc: update for GstURIHandler changes
Tim-Philipp Müller [Sun, 13 Nov 2011 19:01:31 +0000 (19:01 +0000)]
dvdreadsrc, pnmsrc: update for GstURIHandler changes

12 years agomad: re-port to 0.11
Tim-Philipp Müller [Sun, 13 Nov 2011 01:33:25 +0000 (01:33 +0000)]
mad: re-port to 0.11

This time using the base class. Still something
wrong with the parsing though, when there's no
parser or demuxer upstream (which of course
shouldn't happen in a normal playback scenario).

12 years agomad: update for GstBaseAudioDecoder -> GstAudioDecoder rename
Tim-Philipp Müller [Sun, 13 Nov 2011 00:29:20 +0000 (00:29 +0000)]
mad: update for GstBaseAudioDecoder -> GstAudioDecoder rename

12 years agomad: replace with 0.10 version ported to GstAudioDecoder
Mark Nauwelaerts [Tue, 16 Aug 2011 19:12:06 +0000 (21:12 +0200)]
mad: replace with 0.10 version ported to GstAudioDecoder

Taken from commit 6e7e3657396454fe95fbd89170281865d4d1cec3
of Mark's baseaudio branch.

Would probably be too risky to drop this into 0.10 given
all the things mad is doing.

12 years agodocs: remove bits for old lame element from sections.txt file
Tim-Philipp Müller [Sun, 13 Nov 2011 00:13:17 +0000 (00:13 +0000)]
docs: remove bits for old lame element from sections.txt file

12 years agompegstream: remove the old mpeg-ps parser and demuxers
Tim-Philipp Müller [Sun, 13 Nov 2011 00:04:07 +0000 (00:04 +0000)]
mpegstream: remove the old mpeg-ps parser and demuxers

Don't want anyone porting this by accident.
Superseded by mpegpsdemux in -bad.

12 years agocdio: port cdiocddasrc to 0.11
Tim-Philipp Müller [Sat, 12 Nov 2011 21:06:29 +0000 (21:06 +0000)]
cdio: port cdiocddasrc to 0.11

12 years agotests: port mpeg2dec to 0.11
Tim-Philipp Müller [Sat, 12 Nov 2011 20:44:23 +0000 (20:44 +0000)]
tests: port mpeg2dec to 0.11

It compiles, but fails.

12 years agotests: port x264enc unit test to 0.11
Tim-Philipp Müller [Sat, 12 Nov 2011 20:33:03 +0000 (20:33 +0000)]
tests: port x264enc unit test to 0.11

Well, it compiles now at least.