platform/upstream/gstreamer.git
12 years agotest: fix unit test
Wim Taymans [Wed, 21 Mar 2012 11:54:44 +0000 (12:54 +0100)]
test: fix unit test

12 years agoffdec: ensure padding is big enough
Wim Taymans [Mon, 19 Mar 2012 10:06:40 +0000 (11:06 +0100)]
ffdec: ensure padding is big enough

12 years agoffdec: check if input is already 0-padded
Wim Taymans [Mon, 19 Mar 2012 09:29:34 +0000 (10:29 +0100)]
ffdec: check if input is already 0-padded

When the input buffer is already 0-padded we don't need to copy. This can happen
because in the ALLOCATION query we suggest this.
Only do temporary padding when we are using a parser.

12 years agoupdate for bufferpool changes
Wim Taymans [Thu, 15 Mar 2012 21:11:54 +0000 (22:11 +0100)]
update for bufferpool changes

12 years agoupdate for allocation query changes
Wim Taymans [Thu, 15 Mar 2012 19:39:10 +0000 (20:39 +0100)]
update for allocation query changes

12 years agoffdec: propose some padding in the allocation query
Wim Taymans [Wed, 14 Mar 2012 19:04:53 +0000 (20:04 +0100)]
ffdec: propose some padding in the allocation query

Hopefully upstream can add some padding and then we don't have to memcpy.

12 years agotake padding into account
Wim Taymans [Wed, 14 Mar 2012 18:53:06 +0000 (19:53 +0100)]
take padding into account

12 years agoffdec: remove unused crop property
Wim Taymans [Wed, 14 Mar 2012 16:35:28 +0000 (17:35 +0100)]
ffdec: remove unused crop property

12 years agoffdec: remove padding property
Wim Taymans [Wed, 14 Mar 2012 16:33:40 +0000 (17:33 +0100)]
ffdec: remove padding property

Users should not mess with this

12 years agoffdec: make bufferpool setup recalculate direct rendering
Wim Taymans [Wed, 14 Mar 2012 11:58:38 +0000 (12:58 +0100)]
ffdec: make bufferpool setup recalculate direct rendering

We need to recalculate if we can use direct rendering after we have setup the
bufferpool.

12 years agoffdec: add some PERFORMANCE logging
Wim Taymans [Wed, 14 Mar 2012 10:53:42 +0000 (11:53 +0100)]
ffdec: add some PERFORMANCE logging

12 years agoffcodec: add voc demuxer
Wim Taymans [Tue, 13 Mar 2012 12:24:39 +0000 (13:24 +0100)]
ffcodec: add voc demuxer

12 years agoffdemux: activate pad before setting caps
Wim Taymans [Tue, 13 Mar 2012 12:24:23 +0000 (13:24 +0100)]
ffdemux: activate pad before setting caps

12 years agoffdec: implement accept-caps
Wim Taymans [Mon, 12 Mar 2012 12:50:46 +0000 (13:50 +0100)]
ffdec: implement accept-caps

Implement a potentially faster accept-caps function

12 years agofix for caps api changes
Wim Taymans [Sun, 11 Mar 2012 18:07:31 +0000 (19:07 +0100)]
fix for caps api changes

12 years agoffmpegdec: enable alignment if videometa is allowed
Wim Taymans [Thu, 8 Mar 2012 12:04:57 +0000 (13:04 +0100)]
ffmpegdec: enable alignment if videometa is allowed

Use the videobufferpool when downstream didn't suggest one.
Only enable video alignment in the bufferpool when downstream supports video
metadata.

12 years agoFix compiler warnings
Alessandro Decina [Mon, 27 Feb 2012 05:26:02 +0000 (06:26 +0100)]
Fix compiler warnings

12 years agoupdate for fixate_caps change
Wim Taymans [Wed, 22 Feb 2012 11:28:49 +0000 (12:28 +0100)]
update for fixate_caps change

12 years agoupdate for new memory api
Wim Taymans [Wed, 22 Feb 2012 01:08:06 +0000 (02:08 +0100)]
update for new memory api

12 years agoffdec: disable multithreading
Wim Taymans [Tue, 21 Feb 2012 17:02:56 +0000 (18:02 +0100)]
ffdec: disable multithreading

It causes refcounting problems.

12 years agoonly reopen decoder when new caps are different
Matej Knopp [Sun, 11 Dec 2011 05:25:23 +0000 (06:25 +0100)]
only reopen decoder when new caps are different

12 years agoback to development
Wim Taymans [Fri, 17 Feb 2012 10:07:33 +0000 (11:07 +0100)]
back to development

12 years agoRELEASE 0.11.1
Wim Taymans [Fri, 17 Feb 2012 10:07:09 +0000 (11:07 +0100)]
RELEASE 0.11.1

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

12 years agoFix for gst_type_find_register() API change
Tim-Philipp Müller [Thu, 2 Feb 2012 01:36:05 +0000 (01:36 +0000)]
Fix for gst_type_find_register() API change

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

From c463bc0 to 7fda524

12 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Wed, 25 Jan 2012 12:14:51 +0000 (13:14 +0100)]
Merge branch 'master' into 0.11

12 years agoconfigure: Add --disable-fatal-warnings configure option
Sebastian Dröge [Wed, 25 Jan 2012 12:10:07 +0000 (13:10 +0100)]
configure: Add --disable-fatal-warnings configure option

12 years agoffmpeg: port to new memory API
Wim Taymans [Tue, 24 Jan 2012 13:40:37 +0000 (14:40 +0100)]
ffmpeg: port to new memory API

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

From 2a59016 to c463bc0

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

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

From 0807187 to 2a59016

12 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Wed, 18 Jan 2012 09:21:36 +0000 (10:21 +0100)]
Merge branch 'master' into 0.11

12 years agoffdec: Only set get_buffer() function for video
Sebastian Dröge [Wed, 18 Jan 2012 09:05:09 +0000 (10:05 +0100)]
ffdec: Only set get_buffer() function for video

Fixes bug #666435.

12 years agoffmpegdemux: demote swf demuxer to GST_RANK_NONE
Tim-Philipp Müller [Thu, 12 Jan 2012 18:03:10 +0000 (18:03 +0000)]
ffmpegdemux: demote swf demuxer to GST_RANK_NONE

SWF doesn't really make sense in our context, don't pretend
to support it. People should use a dedicated swf player for that.

12 years agoffmpegdemux: fix caps leak
Vincent Penquerc'h [Thu, 12 Jan 2012 14:57:48 +0000 (14:57 +0000)]
ffmpegdemux: fix caps leak

12 years agoffmpeg: fix and extend LIBS in Makefile.am
Mark Nauwelaerts [Tue, 10 Jan 2012 12:41:23 +0000 (13:41 +0100)]
ffmpeg: fix and extend LIBS in Makefile.am

... to account for -base video helper functions.

12 years agoconfigure.ac: improve path handling in out-of-tree build
Mark Nauwelaerts [Thu, 27 Jan 2011 21:25:13 +0000 (22:25 +0100)]
configure.ac: improve path handling in out-of-tree build

That is, handle the srcdir being given by a relative path as well as
an absolute path by using autotools provided absolute path.

12 years agoffmux: gst_element_class_add_pad_template() takes ownership of the pad template
Sebastian Dröge [Tue, 10 Jan 2012 10:49:57 +0000 (11:49 +0100)]
ffmux: gst_element_class_add_pad_template() takes ownership of the pad template

12 years agoffmpeg: Fix merge mistakes
Sebastian Dröge [Tue, 10 Jan 2012 10:39:27 +0000 (11:39 +0100)]
ffmpeg: Fix merge mistakes

12 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Tue, 10 Jan 2012 10:35:55 +0000 (11:35 +0100)]
Merge branch 'master' into 0.11

Conflicts:
configure.ac
ext/ffmpeg/gstffmpegcodecmap.c
ext/ffmpeg/gstffmpegdec.c
ext/ffmpeg/gstffmpegdeinterlace.c
ext/ffmpeg/gstffmpegmux.c
ext/libswscale/gstffmpegscale.c

12 years agoffmpeg: Channel layouts are now set for DTS and (E)AC3 by libav
Sebastian Dröge [Tue, 10 Jan 2012 09:08:05 +0000 (10:08 +0100)]
ffmpeg: Channel layouts are now set for DTS and (E)AC3 by libav

12 years agolibav: Update to current GIT master
Sebastian Dröge [Tue, 10 Jan 2012 10:12:59 +0000 (11:12 +0100)]
libav: Update to current GIT master

12 years agoffdec: Give the (E)AC3/DTS decoders a rank of marginal
Sebastian Dröge [Tue, 10 Jan 2012 10:04:56 +0000 (11:04 +0100)]
ffdec: Give the (E)AC3/DTS decoders a rank of marginal

Even if they don't downmix to stereo, they're still working
correctly. The only advantage of dtsdec/a52dec is that they
downmix to stereo (using the special downmixing matrices) if
downstream prefers stereo but in every other case they should
be equivalent.

12 years agoffdec: Revert accidentially committed rank change of the (E)AC3/DTS decoders
Sebastian Dröge [Tue, 10 Jan 2012 09:59:57 +0000 (10:59 +0100)]
ffdec: Revert accidentially committed rank change of the (E)AC3/DTS decoders

12 years agoffmpegdec: Reorder audio channels after clipping the audio buffer
Sebastian Dröge [Tue, 10 Jan 2012 09:45:42 +0000 (10:45 +0100)]
ffmpegdec: Reorder audio channels after clipping the audio buffer

12 years agoffmpegdec: Correctly reorder audio channels to the GStreamer order if necessary
Sebastian Dröge [Tue, 10 Jan 2012 09:37:50 +0000 (10:37 +0100)]
ffmpegdec: Correctly reorder audio channels to the GStreamer order if necessary

12 years agoffmpeg: Channel layouts are now set for DTS and (E)AC3 by libav
Sebastian Dröge [Tue, 10 Jan 2012 09:08:05 +0000 (10:08 +0100)]
ffmpeg: Channel layouts are now set for DTS and (E)AC3 by libav

12 years agoffmpeg: Use stack-allocated channel positions array
Sebastian Dröge [Tue, 10 Jan 2012 09:01:26 +0000 (10:01 +0100)]
ffmpeg: Use stack-allocated channel positions array

12 years agoffmpeg: Put the new layout field in raw audio caps
Sebastian Dröge [Mon, 9 Jan 2012 12:40:05 +0000 (13:40 +0100)]
ffmpeg: Put the new layout field in raw audio caps

12 years agoffdec: Add mappings for the top channel positions
Sebastian Dröge [Mon, 9 Jan 2012 12:24:55 +0000 (13:24 +0100)]
ffdec: Add mappings for the top channel positions

12 years agoffdec: Correctly set the channel-mask and also set it for stereo
Sebastian Dröge [Mon, 9 Jan 2012 12:23:29 +0000 (13:23 +0100)]
ffdec: Correctly set the channel-mask and also set it for stereo

12 years agoconfigure: require core from git/pre-release
Tim-Philipp Müller [Sat, 7 Jan 2012 19:56:42 +0000 (19:56 +0000)]
configure: require core from git/pre-release

For  gst_element_class_add_static_pad_template() which
was added only recently.

12 years agoffmpeg: port to new channel mapping
Wim Taymans [Thu, 5 Jan 2012 13:06:33 +0000 (14:06 +0100)]
ffmpeg: port to new channel mapping

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

From 11f0cd5 to 0807187

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

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

12 years agoupdate for videofilter changes
Wim Taymans [Wed, 21 Dec 2011 22:52:00 +0000 (23:52 +0100)]
update for videofilter changes

12 years agoffdec: fill in the stride alignment
Wim Taymans [Wed, 21 Dec 2011 17:06:32 +0000 (18:06 +0100)]
ffdec: fill in the stride alignment

Copy the stride alignment we got from ffmpeg to the alignment structure.

12 years agoffmpegdec: update for new interlace fields
Wim Taymans [Mon, 19 Dec 2011 17:14:27 +0000 (18:14 +0100)]
ffmpegdec: update for new interlace fields

12 years agoffmpeg: port to GstCollectPads2
Vincent Penquerc'h [Thu, 15 Dec 2011 14:28:00 +0000 (14:28 +0000)]
ffmpeg: port to GstCollectPads2

12 years agoffmpegdec: Report latency if B-frames are present
Edward Hervey [Tue, 8 Nov 2011 17:56:54 +0000 (18:56 +0100)]
ffmpegdec: Report latency if B-frames are present

... and cleanup the query handler while we're at it

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

12 years agoffmpeg: fix pad template ref leaks
Vincent Penquerc'h [Mon, 28 Nov 2011 13:23:42 +0000 (13:23 +0000)]
ffmpeg: fix pad template ref leaks

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

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Sat, 26 Nov 2011 15:39:40 +0000 (15:39 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

12 years agoFix cpu cores detection on OS X
Matej Knopp [Wed, 23 Nov 2011 23:41:27 +0000 (00:41 +0100)]
Fix cpu cores detection on OS X

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

12 years agoFix cpu cores detection on OS X
Matej Knopp [Wed, 23 Nov 2011 23:41:27 +0000 (00:41 +0100)]
Fix cpu cores detection on OS X

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

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

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

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

12 years agoadd parent to pad functions
Wim Taymans [Thu, 17 Nov 2011 11:49:33 +0000 (12:49 +0100)]
add parent to pad functions

12 years agocollectpads: port API changes
Stefan Sauer [Thu, 17 Nov 2011 07:25:48 +0000 (08:25 +0100)]
collectpads: port API changes

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

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

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

12 years agoffmpeg: change getcaps to query
Wim Taymans [Tue, 15 Nov 2011 15:35:17 +0000 (16:35 +0100)]
ffmpeg: change getcaps to query

12 years agoupdate for adapter api change
Wim Taymans [Thu, 10 Nov 2011 17:25:21 +0000 (18:25 +0100)]
update for adapter api change

12 years agoremove query types
Wim Taymans [Wed, 9 Nov 2011 10:58:15 +0000 (11:58 +0100)]
remove query types

12 years agoffdec: get the pixfmt correctly
Wim Taymans [Fri, 4 Nov 2011 15:23:32 +0000 (16:23 +0100)]
ffdec: get the pixfmt correctly

Use the pixfmt from the passed context, which can be different from our other
context and which might not have the pixfmt set correctly.

12 years agoffmpeg: fix template to %u
Wim Taymans [Fri, 4 Nov 2011 11:43:17 +0000 (12:43 +0100)]
ffmpeg: fix template to %u

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 4 Nov 2011 10:02:32 +0000 (11:02 +0100)]
Merge branch 'master' into 0.11

Conflicts:
configure.ac

12 years agotests: Fix for pad probe API change
Edward Hervey [Fri, 4 Nov 2011 09:15:32 +0000 (10:15 +0100)]
tests: Fix for pad probe API change

12 years agoMerge remote-tracking branch 'origin/0.10.13'
Edward Hervey [Wed, 2 Nov 2011 16:47:40 +0000 (17:47 +0100)]
Merge remote-tracking branch 'origin/0.10.13'

12 years ago0.10.13 Release "Speeding, sparks like lightning"
Edward Hervey [Wed, 2 Nov 2011 16:26:54 +0000 (17:26 +0100)]
0.10.13 Release "Speeding, sparks like lightning"

12 years agotags: update for tag API removal
Wim Taymans [Wed, 2 Nov 2011 11:10:25 +0000 (12:10 +0100)]
tags: update for tag API removal

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 2 Nov 2011 09:31:57 +0000 (10:31 +0100)]
Merge branch 'master' into 0.11

12 years agodemux: update for new task api
Wim Taymans [Sat, 29 Oct 2011 07:27:46 +0000 (09:27 +0200)]
demux: update for new task api

12 years agostructure: fix for api upate
Wim Taymans [Sat, 29 Oct 2011 07:11:53 +0000 (09:11 +0200)]
structure: fix for api upate

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Mon, 31 Oct 2011 14:53:01 +0000 (14:53 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

12 years agoconfigure.ac: Remove --enable-postproc from the default flags
Edward Hervey [Mon, 31 Oct 2011 10:47:10 +0000 (11:47 +0100)]
configure.ac: Remove --enable-postproc from the default flags

fixes previous patch

12 years ago0.10.12.3 pre-release
Edward Hervey [Mon, 31 Oct 2011 10:40:37 +0000 (11:40 +0100)]
0.10.12.3 pre-release

12 years agoAllow building a LGPL only gst-ffmpeg plugin
Martin Storsjo [Tue, 5 Jul 2011 18:35:46 +0000 (21:35 +0300)]
Allow building a LGPL only gst-ffmpeg plugin

This removes --enable-gpl and --enable-postproc from the
ffmpeg configure line, and disables building the postproc
gstreamer plugin.

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

Conflicts:

configure.ac

12 years agoffmpegenc: Pass the size of the output buffer to avcodec_encode_audio
Sjoerd Simons [Mon, 10 Oct 2011 22:56:04 +0000 (23:56 +0100)]
ffmpegenc: Pass the size of the output buffer to avcodec_encode_audio

avcodec_encode_audio is documented as taking the size of the output
buffer not the size of the input buffer.  This fixes the use of the G722
encoder and makes the code more consistent with avconv from the libav
source tree.

12 years agoffmpegcodecmap: Further specify allowed rates for G722 and G726
Sjoerd Simons [Mon, 10 Oct 2011 21:04:48 +0000 (22:04 +0100)]
ffmpegcodecmap: Further specify allowed rates for G722 and G726

12 years agoffmpegcodecmap: Always restrict audio codec in the unfixed cases
Sjoerd Simons [Mon, 10 Oct 2011 13:50:09 +0000 (14:50 +0100)]
ffmpegcodecmap: Always restrict audio codec in the unfixed cases

If the context isn't fixed yet or if it doesn't exist then always
restrict the caps.

Also restrict the maximum channels for G726 and G722 to 1 channel

12 years agoAllow building a LGPL only gst-ffmpeg plugin
Martin Storsjo [Tue, 5 Jul 2011 18:35:46 +0000 (21:35 +0300)]
Allow building a LGPL only gst-ffmpeg plugin

This removes --enable-gpl and --enable-postproc from the
ffmpeg configure line, and disables building the postproc
gstreamer plugin.

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

12 years agotests: port to 0.11
Tim-Philipp Müller [Sun, 30 Oct 2011 12:23:51 +0000 (12:23 +0000)]
tests: port to 0.11

Some still fail though, for various reasons. ffmpeg warning:
"get_buffer() cannot be called after ff_thread_finish_setup()".

12 years agoffmpegdemux: update for taglist API changes
Tim-Philipp Müller [Sun, 30 Oct 2011 12:03:36 +0000 (12:03 +0000)]
ffmpegdemux: update for taglist API changes

12 years agofix compilation with new caps api
Wim Taymans [Fri, 28 Oct 2011 14:35:54 +0000 (16:35 +0200)]
fix compilation with new caps api

12 years agoffenc: fix compilation
Wim Taymans [Thu, 27 Oct 2011 14:47:18 +0000 (16:47 +0200)]
ffenc: fix compilation

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 27 Oct 2011 14:31:30 +0000 (16:31 +0200)]
Merge branch 'master' into 0.11

Conflicts:
ext/ffmpeg/gstffmpegcodecmap.c