platform/upstream/gstreamer.git
11 years agoavenc_aac: downgrade to RANK_NONE until it gets fixed
Tim-Philipp Müller [Tue, 22 Jan 2013 12:57:41 +0000 (12:57 +0000)]
avenc_aac: downgrade to RANK_NONE until it gets fixed

Currently just fails to initialize.

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

11 years agoavdec_aac: disable for autoplugging until it gets fixed
Tim-Philipp Müller [Tue, 22 Jan 2013 12:53:48 +0000 (12:53 +0000)]
avdec_aac: disable for autoplugging until it gets fixed

Currently outputs garbled audio. Use faad in the meantime.

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

11 years agolibav: fix checks for internal libav configure options
Andoni Morales Alastruey [Mon, 14 Jan 2013 16:00:17 +0000 (17:00 +0100)]
libav: fix checks for internal libav configure options

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

11 years agoDisable libswscale/avvideoscale plugin until it works at least somewhat
Tim-Philipp Müller [Thu, 17 Jan 2013 23:56:17 +0000 (23:56 +0000)]
Disable libswscale/avvideoscale plugin until it works at least somewhat

It needs some fixing.

11 years agotests: use GST_*_1_0 environment variables everywhere
Tim-Philipp Müller [Wed, 16 Jan 2013 12:09:39 +0000 (12:09 +0000)]
tests: use GST_*_1_0 environment variables everywhere

The _1_0 suffixed environment variables override the
non-suffixed ones, so if we're in an environment that
sets the _1_0 suffixed ones, such as jhbuild, we need
to set those to make sure ours actually always get
used.

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 15 Jan 2013 15:08:10 +0000 (15:08 +0000)]
Automatic update of common submodule

From a72faea to a942293

11 years agoconfigure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Tim-Philipp Müller [Mon, 31 Dec 2012 00:32:41 +0000 (00:32 +0000)]
configure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS

AM_CONFIG_HEADER has been removed in the just-released automake 1.13:
https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html

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

11 years agoav: Remove some unused variables and function declarations
Sebastian Dröge [Sat, 22 Dec 2012 09:52:47 +0000 (10:52 +0100)]
av: Remove some unused variables and function declarations

11 years agoav: Move gst_ffmpegdata functions to gstavprotocol.h too
Sebastian Dröge [Sat, 22 Dec 2012 09:49:52 +0000 (10:49 +0100)]
av: Move gst_ffmpegdata functions to gstavprotocol.h too

Just for consistency.

11 years agoav: Fix redefinition of typedef 'GstFFMpegPipe'
Thijs Vermeir [Fri, 21 Dec 2012 22:16:44 +0000 (23:16 +0100)]
av: Fix redefinition of typedef 'GstFFMpegPipe'

Move declaration of pipe function to correct headers file

11 years agoconfigure: Pass CC, LD, AS, AR and NM to the libav configure if set
Sebastian Dröge [Fri, 21 Dec 2012 13:28:57 +0000 (14:28 +0100)]
configure: Pass CC, LD, AS, AR and NM to the libav configure if set

11 years agoav: Use correct printf format strings for gsize
Sebastian Dröge [Fri, 21 Dec 2012 10:03:27 +0000 (11:03 +0100)]
av: Use correct printf format strings for gsize

11 years agolibav: Update to today's master
Sebastian Dröge [Tue, 18 Dec 2012 09:57:43 +0000 (10:57 +0100)]
libav: Update to today's master

11 years agoav: Fix some memory leaks and misuse of libav API
Sebastian Dröge [Mon, 17 Dec 2012 15:35:36 +0000 (16:35 +0100)]
av: Fix some memory leaks and misuse of libav API

11 years agoavauddec: Use a GstBuffer instead of a GstAdapter for collecting the output buffers
Sebastian Dröge [Mon, 17 Dec 2012 14:58:37 +0000 (15:58 +0100)]
avauddec: Use a GstBuffer instead of a GstAdapter for collecting the output buffers

This might cause less memcpies as the GstMemories of the buffers
are just appended into a single buffer.

11 years agoavauddec: accumulate buffers from a single input to push it all at once
Thiago Santos [Mon, 3 Dec 2012 19:38:53 +0000 (16:38 -0300)]
avauddec: accumulate buffers from a single input to push it all at once

The base audio decoder wants a 1:1 mapping for input and output
buffers, so this decoder must accumulate data in an adapter and push
it all at once after all input has been processed.

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

11 years agoavcodecmap: Only set "formats" field on raw audio/video caps
Sebastian Dröge [Mon, 17 Dec 2012 12:42:13 +0000 (13:42 +0100)]
avcodecmap: Only set "formats" field on raw audio/video caps

11 years agoavcodecmap: Correctly convert GStreamer channel positions to libav channel mask
Sebastian Dröge [Mon, 17 Dec 2012 12:41:42 +0000 (13:41 +0100)]
avcodecmap: Correctly convert GStreamer channel positions to libav channel mask

11 years agoavcodecmap: Add more and correct restrictions for DV
Sebastian Dröge [Mon, 17 Dec 2012 10:11:12 +0000 (11:11 +0100)]
avcodecmap: Add more and correct restrictions for DV

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

11 years agolibav: Fix some compilation errors caused by circular includes
Sebastian Dröge [Wed, 12 Dec 2012 17:36:33 +0000 (17:36 +0000)]
libav: Fix some compilation errors caused by circular includes

11 years agolibav: Update to today's master
Sebastian Dröge [Wed, 12 Dec 2012 17:20:03 +0000 (17:20 +0000)]
libav: Update to today's master

11 years agoavcodec: set bits_per_coded_sample for G726
Wim Taymans [Wed, 12 Dec 2012 16:01:28 +0000 (17:01 +0100)]
avcodec: set bits_per_coded_sample for G726

Use the bitrate and the samplerate to set the bits_per_coded_sample for G726
because the decoder needs this.

11 years agoavauddec: Set frame defaults for the audio decoders too
Sebastian Dröge [Wed, 12 Dec 2012 15:57:19 +0000 (15:57 +0000)]
avauddec: Set frame defaults for the audio decoders too

11 years agoavcodecmap: Remove some unused functions
Sebastian Dröge [Wed, 12 Dec 2012 15:53:34 +0000 (15:53 +0000)]
avcodecmap: Remove some unused functions

11 years agoavaudenc: init frame with defaults
Wim Taymans [Wed, 12 Dec 2012 15:45:53 +0000 (16:45 +0100)]
avaudenc: init frame with defaults

Init the AVFrame with the right method. This sets the extended_data field
correctly that is needed for some formats (G726 for example).

11 years agoavdec: Improve src template caps
Sebastian Dröge [Wed, 12 Dec 2012 15:42:09 +0000 (15:42 +0000)]
avdec: Improve src template caps

11 years agoavaudenc: Properly handle planar audio formats with more than AV_NUM_DATA_POINTERS...
Sebastian Dröge [Wed, 12 Dec 2012 13:04:54 +0000 (13:04 +0000)]
avaudenc: Properly handle planar audio formats with more than AV_NUM_DATA_POINTERS channels

11 years agoavauddec: Properly handle planar audio formats with more than AV_NUM_DATA_POINTERS...
Sebastian Dröge [Wed, 12 Dec 2012 13:04:38 +0000 (13:04 +0000)]
avauddec: Properly handle planar audio formats with more than AV_NUM_DATA_POINTERS channels

11 years agoavprotocol: Port from the URL protocol handler to saner public API
Christiaan Welvaart [Wed, 12 Dec 2012 12:09:32 +0000 (12:09 +0000)]
avprotocol: Port from the URL protocol handler to saner public API

11 years agolibav: fix palette support again
Wim Taymans [Wed, 12 Dec 2012 08:48:53 +0000 (09:48 +0100)]
libav: fix palette support again

11 years agoavcodecmap: Take framerate restrictions into account for encoders
Sebastian Dröge [Tue, 11 Dec 2012 18:56:24 +0000 (18:56 +0000)]
avcodecmap: Take framerate restrictions into account for encoders

11 years agoavvidenc: Simplify color formats in the raw video caps
Sebastian Dröge [Tue, 11 Dec 2012 18:48:34 +0000 (18:48 +0000)]
avvidenc: Simplify color formats in the raw video caps

11 years agoavaudenc: Reorder audio channels if necessary and add proper support for channel...
Sebastian Dröge [Tue, 11 Dec 2012 18:07:34 +0000 (18:07 +0000)]
avaudenc: Reorder audio channels if necessary and add proper support for channel layouts

11 years agoavcodecmap: Take channel layout constraints into account if possible
Sebastian Dröge [Tue, 11 Dec 2012 17:25:41 +0000 (17:25 +0000)]
avcodecmap: Take channel layout constraints into account if possible

11 years agoavcodecmap: Take generic samplerate limitations into account
Sebastian Dröge [Tue, 11 Dec 2012 16:54:09 +0000 (16:54 +0000)]
avcodecmap: Take generic samplerate limitations into account

11 years agoavcodecmap: Simplify raw audio caps
Sebastian Dröge [Tue, 11 Dec 2012 16:46:43 +0000 (16:46 +0000)]
avcodecmap: Simplify raw audio caps

11 years agoavauddec: Close context when it was opened
Sebastian Dröge [Tue, 11 Dec 2012 15:14:10 +0000 (15:14 +0000)]
avauddec: Close context when it was opened

11 years agoavviddec: Fix memory leak if we already allocated an output buffer for the frame
Sebastian Dröge [Tue, 11 Dec 2012 10:34:42 +0000 (10:34 +0000)]
avviddec: Fix memory leak if we already allocated an output buffer for the frame

11 years agoRevert "avviddec: Fix memory leaks and assertions in error cases if we can't allocate...
Wim Taymans [Tue, 11 Dec 2012 09:22:34 +0000 (10:22 +0100)]
Revert "avviddec: Fix memory leaks and assertions in error cases if we can't allocate a frame"

This reverts commit 47647e1caca117ff8a62caf8bf0b6c94eb6dd025.

Breaks playback when direct rendering is disabled.
The reason is that we set the opaque vaue to NULL and then try to use the NULL
value when we decoded a frame.

11 years agoFix incorrect use of object in log statement. We are given a pointer to the object...
Rasmus Rohde [Mon, 10 Dec 2012 13:54:03 +0000 (14:54 +0100)]
Fix incorrect use of object in log statement. We are given a pointer to the object and should not try to take the address of it.

11 years agoavutils: Add missing includes for Windows
Руслан Ижбулатов [Thu, 6 Dec 2012 02:29:13 +0000 (06:29 +0400)]
avutils: Add missing includes for Windows

Fixes #689751

11 years agoavaudenc: Add support for planar audio formats
Sebastian Dröge [Wed, 5 Dec 2012 18:28:33 +0000 (19:28 +0100)]
avaudenc: Add support for planar audio formats

11 years agoav: Correctly populate the codec context with the defaults
Sebastian Dröge [Wed, 5 Dec 2012 18:25:37 +0000 (19:25 +0100)]
av: Correctly populate the codec context with the defaults

11 years agoav: Use av_codec_is_{en,de}coder() API instead of private struct fields
Sebastian Dröge [Wed, 5 Dec 2012 09:52:34 +0000 (10:52 +0100)]
av: Use av_codec_is_{en,de}coder() API instead of private struct fields

11 years agoavauddec: release_buffer is not supposed to be used for audio
Sebastian Dröge [Tue, 4 Dec 2012 21:09:05 +0000 (22:09 +0100)]
avauddec: release_buffer is not supposed to be used for audio

And calling it causes crashes in some situations.

11 years agoavauddec: Add support for planar audio formats
Sebastian Dröge [Tue, 4 Dec 2012 19:45:28 +0000 (20:45 +0100)]
avauddec: Add support for planar audio formats

11 years agoavviddec: Fix memory leaks and assertions in error cases if we can't allocate a frame
Sebastian Dröge [Tue, 4 Dec 2012 19:44:58 +0000 (20:44 +0100)]
avviddec: Fix memory leaks and assertions in error cases if we can't allocate a frame

11 years agoav: Port remaining simple bits
Sebastian Dröge [Tue, 4 Dec 2012 17:28:11 +0000 (18:28 +0100)]
av: Port remaining simple bits

11 years agoav: Remove palette support for now
Sebastian Dröge [Tue, 4 Dec 2012 17:02:56 +0000 (18:02 +0100)]
av: Remove palette support for now

It was never ported to the way how paletted color formats work
in 1.0 anyway and the API changed in libav upstream.

11 years agoav: Update for some constant changes
Sebastian Dröge [Tue, 4 Dec 2012 16:56:40 +0000 (17:56 +0100)]
av: Update for some constant changes

11 years agoav: Port to new avio protocol handler
Sebastian Dröge [Tue, 4 Dec 2012 16:47:20 +0000 (17:47 +0100)]
av: Port to new avio protocol handler

11 years agoav: update to use AVOption variants.
Luca Barbato [Mon, 19 Nov 2012 14:25:42 +0000 (15:25 +0100)]
av: update to use AVOption variants.

11 years agolibav: Switch to master (9)
Sebastian Dröge [Tue, 4 Dec 2012 16:19:11 +0000 (17:19 +0100)]
libav: Switch to master (9)

11 years agoavaudenc: log error string as well in debug output
Tim-Philipp Müller [Sun, 2 Dec 2012 12:31:43 +0000 (12:31 +0000)]
avaudenc: log error string as well in debug output

11 years agoavaudenc: use sample rate as ticks per second fallback
Tim-Philipp Müller [Sat, 1 Dec 2012 23:21:41 +0000 (23:21 +0000)]
avaudenc: use sample rate as ticks per second fallback

The 25/1 value presumably came from the video encoder class.

11 years agoavaudenc: fix output timestamping
Tim-Philipp Müller [Sat, 1 Dec 2012 23:05:23 +0000 (23:05 +0000)]
avaudenc: fix output timestamping

We need to pass the number of samples encode in the output buffer
to gst_audio_encoder_finish_frame(), not the number of frames.
Fixes output timestamps being way too small, and transcoding
problems.

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

11 years agoavvidenc: Implement reset vfunc
Sebastian Dröge [Tue, 20 Nov 2012 10:56:57 +0000 (11:56 +0100)]
avvidenc: Implement reset vfunc

11 years agoavvidenc: Don't send any frames downstream when draining unless requested to do so
Sebastian Dröge [Tue, 20 Nov 2012 10:53:52 +0000 (11:53 +0100)]
avvidenc: Don't send any frames downstream when draining unless requested to do so

11 years agoavaudenc: Implement draining
Sebastian Dröge [Tue, 20 Nov 2012 10:51:13 +0000 (11:51 +0100)]
avaudenc: Implement draining

11 years agoavaudenc: Implement flush vfunc properly
Sebastian Dröge [Tue, 20 Nov 2012 10:45:34 +0000 (11:45 +0100)]
avaudenc: Implement flush vfunc properly

11 years agoavauddec: Port to non-deprecated avcodec_decode_audio4() API
Sebastian Dröge [Tue, 20 Nov 2012 10:39:45 +0000 (11:39 +0100)]
avauddec: Port to non-deprecated avcodec_decode_audio4() API

Fixes bug #666435.

11 years agoavaudenc: Some minor cleanup
Sebastian Dröge [Tue, 20 Nov 2012 09:55:55 +0000 (10:55 +0100)]
avaudenc: Some minor cleanup

11 years agoavaudenc: Use non-deprecated avcodec_encode_audio2() API
Sebastian Dröge [Tue, 20 Nov 2012 09:53:01 +0000 (10:53 +0100)]
avaudenc: Use non-deprecated avcodec_encode_audio2() API

This also allows us to always get an output buffer of the required size
instead of risking that it is too small.

11 years agoavaudenc: Port to audio encoder base class
Sebastian Dröge [Tue, 20 Nov 2012 09:36:29 +0000 (10:36 +0100)]
avaudenc: Port to audio encoder base class

11 years agoavvidenc: Use gst_caps_truncate()
Sebastian Dröge [Tue, 20 Nov 2012 09:35:01 +0000 (10:35 +0100)]
avvidenc: Use gst_caps_truncate()

11 years agoav: Use PROP_ instead of ARG_
Sebastian Dröge [Mon, 19 Nov 2012 16:08:23 +0000 (17:08 +0100)]
av: Use PROP_ instead of ARG_

11 years agoavcodecmap: Y41B is YUV411P, not YUV410P
Sebastian Dröge [Mon, 19 Nov 2012 13:10:23 +0000 (14:10 +0100)]
avcodecmap: Y41B is YUV411P, not YUV410P

11 years agoavauddec: Port to audio base classes
Sebastian Dröge [Mon, 19 Nov 2012 11:57:19 +0000 (12:57 +0100)]
avauddec: Port to audio base classes

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 19 Nov 2012 11:29:22 +0000 (11:29 +0000)]
Automatic update of common submodule

From 6bb6951 to a72faea

11 years agoav: Put declarations in header files and rename audio codec files
Sebastian Dröge [Mon, 19 Nov 2012 09:29:00 +0000 (10:29 +0100)]
av: Put declarations in header files and rename audio codec files

11 years agogst_adapter_prev_timestamp -> gst_adapter_prev_pts
Tim-Philipp Müller [Wed, 14 Nov 2012 12:43:51 +0000 (12:43 +0000)]
gst_adapter_prev_timestamp -> gst_adapter_prev_pts

11 years agoavcodecmap: Add mappings for the GBR color formats
Sebastian Dröge [Sat, 10 Nov 2012 15:57:06 +0000 (16:57 +0100)]
avcodecmap: Add mappings for the GBR color formats

11 years agoFix FSF address
Tim-Philipp Müller [Sun, 4 Nov 2012 00:22:16 +0000 (00:22 +0000)]
Fix FSF address

11 years agoavcodecmap: Remove redundant function to map PixelFormat to GstVideoFormat
Sebastian Dröge [Mon, 29 Oct 2012 13:12:03 +0000 (14:12 +0100)]
avcodecmap: Remove redundant function to map PixelFormat to GstVideoFormat

And merge everything into a single one.

11 years agoavdec: Use gst_audio_buffer_clip() instead of manual clipping
Sebastian Dröge [Thu, 25 Oct 2012 11:11:43 +0000 (13:11 +0200)]
avdec: Use gst_audio_buffer_clip() instead of manual clipping

11 years agoBack to feature development
Tim-Philipp Müller [Thu, 25 Oct 2012 11:51:41 +0000 (12:51 +0100)]
Back to feature development

11 years agoRelease 1.0.2
Tim-Philipp Müller [Thu, 25 Oct 2012 00:34:32 +0000 (01:34 +0100)]
Release 1.0.2

11 years agolibav: Update to 0.8.4 release
Sebastian Dröge [Wed, 24 Oct 2012 14:01:36 +0000 (16:01 +0200)]
libav: Update to 0.8.4 release

11 years agoconfigure: fix os type configure option for android
Andoni Morales Alastruey [Tue, 23 Oct 2012 08:21:52 +0000 (10:21 +0200)]
configure: fix os type configure option for android

11 years agoBack to development (bug fixing)
Tim-Philipp Müller [Sun, 7 Oct 2012 16:00:08 +0000 (17:00 +0100)]
Back to development (bug fixing)

11 years agoRelease 1.0.1
Tim-Philipp Müller [Sun, 7 Oct 2012 15:12:38 +0000 (16:12 +0100)]
Release 1.0.1

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sat, 6 Oct 2012 14:00:42 +0000 (15:00 +0100)]
Automatic update of common submodule

From 6c0b52c to 6bb6951

11 years agoavvidenc: also skip non-video encoders
Tim-Philipp Müller [Sun, 30 Sep 2012 15:25:29 +0000 (16:25 +0100)]
avvidenc: also skip non-video encoders

Doesn't actually make any difference at the moment, but
seems the right thing to do.

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

11 years agoavviddec: exclude non-video decoders
Alban Browaeys [Sat, 29 Sep 2012 23:27:10 +0000 (01:27 +0200)]
avviddec: exclude non-video decoders

Otherwise audio decoders "ignored", ie blacklisted, end up
registered by avviddec as video decoders.

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

11 years agoavdemux: fix not-negotiated errors
Tim-Philipp Müller [Fri, 28 Sep 2012 15:53:49 +0000 (16:53 +0100)]
avdemux: fix not-negotiated errors

Drop caps event received on the sink pad, instead of
putting it in the list of cached events to be sent
downstream later. We don't want to send our container
caps downstream to our decoders, that'll give us
nasty not-negotiated errors.

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

11 years agoavviddec: Correctly handle 0-sized buffers without crashing
Sebastian Dröge [Thu, 27 Sep 2012 10:20:30 +0000 (12:20 +0200)]
avviddec: Correctly handle 0-sized buffers without crashing

Might e.g. be valid for Theora.

11 years agoavviddec: don't try to set invalid latency
Tim-Philipp Müller [Tue, 25 Sep 2012 17:29:08 +0000 (18:29 +0100)]
avviddec: don't try to set invalid latency

Avoids warnings when we don't know the latency.

11 years agoBack to development (bug fixing)
Tim-Philipp Müller [Mon, 24 Sep 2012 16:01:00 +0000 (17:01 +0100)]
Back to development (bug fixing)

11 years agoRelease 1.0.0
Tim-Philipp Müller [Mon, 24 Sep 2012 13:53:57 +0000 (14:53 +0100)]
Release 1.0.0

11 years agotests: skip broken tests
Tim-Philipp Müller [Sun, 23 Sep 2012 20:14:03 +0000 (21:14 +0100)]
tests: skip broken tests

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sat, 22 Sep 2012 15:10:07 +0000 (16:10 +0100)]
Automatic update of common submodule

From 4f962f7 to 6c0b52c

11 years agoRelease 0.11.99
Tim-Philipp Müller [Mon, 17 Sep 2012 17:05:23 +0000 (18:05 +0100)]
Release 0.11.99

11 years agoRemove -DGST_USE_UNSTABLE_API
Tim-Philipp Müller [Mon, 17 Sep 2012 16:53:29 +0000 (17:53 +0100)]
Remove -DGST_USE_UNSTABLE_API

11 years agoavviddec: improve debug
Wim Taymans [Fri, 14 Sep 2012 11:24:37 +0000 (13:24 +0200)]
avviddec: improve debug

11 years agoBack to development
Tim-Philipp Müller [Fri, 14 Sep 2012 01:59:37 +0000 (02:59 +0100)]
Back to development

11 years agoRelease 0.11.94
Tim-Philipp Müller [Fri, 14 Sep 2012 01:51:13 +0000 (02:51 +0100)]
Release 0.11.94

11 years agoviddec: Set latency base on the number of bframes
Nicolas Dufresne [Thu, 13 Sep 2012 13:36:14 +0000 (09:36 -0400)]
viddec: Set latency base on the number of bframes

11 years agoviddec: Cleanup unused has_b_frames flag
Nicolas Dufresne [Thu, 13 Sep 2012 13:34:29 +0000 (09:34 -0400)]
viddec: Cleanup unused has_b_frames flag

11 years agolibav: Switch to non-deprecated symbols
Edward Hervey [Wed, 12 Sep 2012 13:30:05 +0000 (15:30 +0200)]
libav: Switch to non-deprecated symbols

This symbols/enums will all be deprecated in the next releases

11 years agocollectpads: remove gst_collect_pads_add_pad_full
Stefan Sauer [Wed, 12 Sep 2012 19:15:24 +0000 (21:15 +0200)]
collectpads: remove gst_collect_pads_add_pad_full

Rename gst_collect_pads_add_pad_full() to gst_collect_pads_add_pad() and fix all
invocations.