platform/upstream/gst-libav.git
10 years agoAutomatic update of common submodule
Edward Hervey [Fri, 20 Sep 2013 14:18:03 +0000 (16:18 +0200)]
Automatic update of common submodule

From b613661 to 6b03ba7

10 years agoAutomatic update of common submodule
Tim-Philipp Müller [Thu, 19 Sep 2013 17:45:20 +0000 (18:45 +0100)]
Automatic update of common submodule

From 74a6857 to b613661

10 years agoAutomatic update of common submodule
Tim-Philipp Müller [Thu, 19 Sep 2013 16:38:10 +0000 (17:38 +0100)]
Automatic update of common submodule

From 12af105 to 74a6857

10 years agoBack to development
Sebastian Dröge [Thu, 19 Sep 2013 09:35:08 +0000 (11:35 +0200)]
Back to development

10 years agoRelease 1.1.90 1.1.90
Sebastian Dröge [Thu, 19 Sep 2013 08:53:46 +0000 (10:53 +0200)]
Release 1.1.90

10 years agoavviddec: Initialize strides with the ones of avcodec_default_get_buffer() if we...
Sebastian Dröge [Thu, 12 Sep 2013 11:56:31 +0000 (13:56 +0200)]
avviddec: Initialize strides with the ones of avcodec_default_get_buffer() if we ever call it

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

10 years agolibav: Update to v9.9
Sebastian Dröge [Thu, 12 Sep 2013 10:41:51 +0000 (12:41 +0200)]
libav: Update to v9.9

10 years agoavviddec: Use the correct context for negotiation
Sebastian Dröge [Thu, 12 Sep 2013 10:12:23 +0000 (12:12 +0200)]
avviddec: Use the correct context for negotiation

During get_buffer() it can happen that the main context is not
updated yet and only the context passed here has the correct
width, height, etc.

10 years agoavviddec: Remember initially used stride and don't allow stride changes
Sebastian Dröge [Thu, 12 Sep 2013 10:11:29 +0000 (12:11 +0200)]
avviddec: Remember initially used stride and don't allow stride changes

libav does not allow stride changes currently, fall back to
non-direct rendering here:
https://bugzilla.gnome.org/show_bug.cgi?id=704769
https://bugzilla.libav.org/show_bug.cgi?id=556

10 years agoavcodecmap: Add support for TechSmith Screen Capture 2
Matej Knopp [Tue, 10 Sep 2013 19:47:55 +0000 (21:47 +0200)]
avcodecmap: Add support for TechSmith Screen Capture 2

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

10 years agoavcodecmap: exclude avc3 stream format from AV_CODEC_ID_H264
Alex Ashley [Fri, 30 Aug 2013 10:48:51 +0000 (11:48 +0100)]
avcodecmap: exclude avc3 stream format from AV_CODEC_ID_H264

As part of the changes to support the "avc3" variant of the ISO-BMFF
(see bug #702004) a new stream-format has been created
(video/x-h264, stream-format="avc3", alignment="au") that requires
changes to gstavcodecmap to exclude this format because avdec_h264
expects the SPS and PPS to be in the codec_data.

Amendment 2 of ISO/IEC 14496-15 (AVC file format) is defining a new
structure for fragmented MP4 called "avc3". The principal difference
between AVC1 and AVC3 is the location of the codec initialisation data
(e.g. SPS, PPS). In AVC1 this data is placed in the initial MOOV box
(moov.trak.mdia.minf.stbl.stsd.avc1) but in AVC3 this data goes in the
first sample of every fragment.

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

10 years agocodecmap: add mapping for MSS1 and MSS2
Josep Torra [Fri, 30 Aug 2013 11:58:14 +0000 (13:58 +0200)]
codecmap: add mapping for MSS1 and MSS2

Windows Media Video Screen (WMV Screen) are video formats that
specilise in screencast content.

10 years agolibav: avcodec_close() also resets fields like the AVCodec
Sebastian Dröge [Thu, 29 Aug 2013 14:53:28 +0000 (16:53 +0200)]
libav: avcodec_close() also resets fields like the AVCodec

We need to reload the defaults for the codec after closing it,
otherwise we can't access codec information like the supported
sample rates and can crash.

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

10 years agoBack to development
Sebastian Dröge [Wed, 28 Aug 2013 11:27:12 +0000 (13:27 +0200)]
Back to development

10 years agoRelease 1.1.4 1.1.4
Sebastian Dröge [Wed, 28 Aug 2013 11:11:19 +0000 (13:11 +0200)]
Release 1.1.4

10 years agoconfigure.ac: Fix typo
Sebastian Dröge [Wed, 28 Aug 2013 10:09:33 +0000 (12:09 +0200)]
configure.ac: Fix typo

10 years agoconfigure: Disable build of dxva2 and vdpau support explicitely
Sebastian Dröge [Fri, 23 Aug 2013 07:58:30 +0000 (09:58 +0200)]
configure: Disable build of dxva2 and vdpau support explicitely

It is enabled although we pass --disable-hwaccels apparently and
makes the build fail on Windows because libav looks for the d3d headers
in the wrong places. We can't make use of these features via libav.

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

10 years agoconfigure: Fix bz2 configure check for Windows
Sebastian Dröge [Thu, 22 Aug 2013 12:56:11 +0000 (14:56 +0200)]
configure: Fix bz2 configure check for Windows

Due to function decorations on Windows AC_CHECK_LIB can't be used to check for bz2.

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

10 years agoavdemux: Add support for video/x-pva
Sebastian Dröge [Thu, 22 Aug 2013 12:23:12 +0000 (14:23 +0200)]
avdemux: Add support for video/x-pva

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

10 years agoavvidenc: propagate flow return values upstream in finish()
Tim-Philipp Müller [Wed, 21 Aug 2013 12:40:03 +0000 (13:40 +0100)]
avvidenc: propagate flow return values upstream in finish()

10 years agotests: Enable avdemux_ape test again, it works now
Sebastian Dröge [Tue, 20 Aug 2013 13:58:35 +0000 (15:58 +0200)]
tests: Enable avdemux_ape test again, it works now

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

10 years agolibav: Use new flush vfunc of video codec base classes and remove reset implementations
Sebastian Dröge [Thu, 15 Aug 2013 13:51:52 +0000 (15:51 +0200)]
libav: Use new flush vfunc of video codec base classes and remove reset implementations

10 years agoavmux: Don't fail on commas in the libav muxer type names
Hans de Goede [Tue, 13 Aug 2013 10:49:26 +0000 (12:49 +0200)]
avmux: Don't fail on commas in the libav muxer type names

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

10 years agobuild: add subdir-objects to AM_INIT_AUTOMAKE
Lubosz Sarnecki [Fri, 2 Aug 2013 12:18:25 +0000 (14:18 +0200)]
build: add subdir-objects to AM_INIT_AUTOMAKE

Fixes warnings with automake 1.14

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

10 years agoBack to development
Sebastian Dröge [Mon, 29 Jul 2013 12:48:40 +0000 (14:48 +0200)]
Back to development

10 years agoRelease 1.1.3 1.1.3
Sebastian Dröge [Mon, 29 Jul 2013 11:59:50 +0000 (13:59 +0200)]
Release 1.1.3

10 years agoavdemux: Implement SEGMENT query
Sebastian Dröge [Mon, 29 Jul 2013 10:19:22 +0000 (12:19 +0200)]
avdemux: Implement SEGMENT query

10 years agoavcodecmap: Demote WARNING to DEBUG
Edward Hervey [Wed, 24 Jul 2013 10:22:04 +0000 (12:22 +0200)]
avcodecmap: Demote WARNING to DEBUG

We cover all the needed formats already. The warning was just getting
in the way.

10 years agoavviddec: Initialise opaque from the start
Olivier Crête [Thu, 21 Feb 2013 01:50:15 +0000 (20:50 -0500)]
avviddec: Initialise opaque from the start

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

10 years agoavdemux: Add support for group-id in the stream-start event
Sebastian Dröge [Tue, 23 Jul 2013 07:59:43 +0000 (09:59 +0200)]
avdemux: Add support for group-id in the stream-start event

10 years agoconfigure: Remove workaround from last decade and make SIMD optimizations work on OSX
Sebastian Dröge [Fri, 19 Jul 2013 07:45:24 +0000 (09:45 +0200)]
configure: Remove workaround from last decade and make SIMD optimizations work on OSX

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

10 years agoavviddec: increase bottom padding for output frames
Arnaud Vrac [Thu, 18 Jul 2013 14:11:16 +0000 (16:11 +0200)]
avviddec: increase bottom padding for output frames

libav can write slightly after the plane end in some SIMD optimized
functions. The extra padding value needs to be at least 16+stride_align
for each plane, so just increase the bottom padding value for the output
frame.

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

10 years agoBack to development
Sebastian Dröge [Thu, 11 Jul 2013 14:57:28 +0000 (16:57 +0200)]
Back to development

10 years agoRelease 1.1.2 1.1.2
Sebastian Dröge [Thu, 11 Jul 2013 14:52:48 +0000 (16:52 +0200)]
Release 1.1.2

10 years agolibav: update libav from v9.6 to v9.8
Tim-Philipp Müller [Tue, 9 Jul 2013 15:19:11 +0000 (16:19 +0100)]
libav: update libav from v9.6 to v9.8

version 9.8:
- kmvc: Clip pixel position to valid range
- kmvc: Use fixed sized arrays in the context
- indeo: Reject negative array indexes
- indeo: Check for reference when inheriting motion vectors
- indeo: Properly forward the error codes
- mjpeg: Check the unescaped size for overflows
- wmapro: Error out on impossible scale factor offsets
- wmapro: Check the min_samples_per_subframe
- wmapro: Return early on unsupported condition
- wmapro: Check num_vec_coeffs against the actual available buffer
- wmapro: Make sure there is room to store the current packet
- lavc: Move put_bits_left in put_bits.h
- 4xm: Do not overread the source buffer in decode_p_block
- 4xm: Check bitstream_size boundary before using it

version 9.7:

Most of the following fixes resulted from test samples that the Google
Security Team has kindly made available to us:

- 4xm: fix several programming errors to avoid crashes, etc.
- apetag: use int64_t for filesize
- jpegls: Fix invalid writes to memory
- ljpeg: use the correct number of components in YUV
- mjpeg: Validate sampling factors
- mjpegdec: properly report unsupported disabled features
- mjpegdec: validate parameters in mjpeg_decode_scan_progressive_ac
- mpegvideo: allocate sufficiently large scratch buffer for interlaced vid
- pixdesc: mark gray8 as pseudopal
- smacker: fix several programming errors to avoid crashes, etc.
- tiff: do not overread the source buffer
- vmd: drop incomplete chunks and spurious samples
- vmdav: convert to bytestream2 to avoid invalid reads and writes
- wavpack: check packet size early
- wavpack: use bytestream2 in wavpack_decode_block
- wavpack: validate samples size parsed in wavpack_decode_block

10 years agocodecmap: realvideo does not have systemstream property
Wim Taymans [Tue, 25 Jun 2013 12:03:07 +0000 (14:03 +0200)]
codecmap: realvideo does not have systemstream property

realvideo does not have the systemstream property and nobody ever sets it so
better remove it here to make it link to something else.

10 years agoautogen.sh: generate from common module, fixing srcdir != builddir build
Tim-Philipp Müller [Tue, 18 Jun 2013 12:36:01 +0000 (13:36 +0100)]
autogen.sh: generate from common module, fixing srcdir != builddir build

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

10 years agoavviddec: reset coded_width/_height before trying to open codec
Thiago Santos [Tue, 11 Jun 2013 11:24:17 +0000 (08:24 -0300)]
avviddec: reset coded_width/_height before trying to open codec

If coded_width/_height is supplied, the codec might use it as the
width/height and if it is wrong can lead to segfaults or video
corruption.

This is specially harmful on renegotiation scenarios where the
resolution changed. There seems to be no specific function for reseting
the AV Context in libav, so just set it directly.

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

10 years agoBack to development
Sebastian Dröge [Wed, 5 Jun 2013 16:36:40 +0000 (18:36 +0200)]
Back to development

10 years agoRelease 1.1.1 1.1.1
Sebastian Dröge [Wed, 5 Jun 2013 15:58:51 +0000 (17:58 +0200)]
Release 1.1.1

10 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 5 Jun 2013 13:16:55 +0000 (15:16 +0200)]
Automatic update of common submodule

From 098c0d7 to 01a7a46

11 years agolibav: Update to v9.6
Sebastian Dröge [Mon, 20 May 2013 09:07:57 +0000 (11:07 +0200)]
libav: Update to v9.6

11 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 15 May 2013 08:53:59 +0000 (10:53 +0200)]
Automatic update of common submodule

From 5edcd85 to 098c0d7

11 years agoCODEC_ID_* -> AV_CODEC_ID_*
Tim-Philipp Müller [Mon, 6 May 2013 22:56:22 +0000 (23:56 +0100)]
CODEC_ID_* -> AV_CODEC_ID_*

11 years agocodecmap: add mapping for WMA Lossless
Tim-Philipp Müller [Mon, 6 May 2013 22:53:01 +0000 (23:53 +0100)]
codecmap: add mapping for WMA Lossless

Only 16 bits is supported for now though.

11 years agolibav: Update to v9.5
Sebastian Dröge [Tue, 23 Apr 2013 12:19:48 +0000 (14:19 +0200)]
libav: Update to v9.5

11 years agoavviddec: Enable FRAME based threaded decoding if upstream is not live
Sebastian Dröge [Tue, 23 Apr 2013 12:10:54 +0000 (14:10 +0200)]
avviddec: Enable FRAME based threaded decoding if upstream is not live

If upstream is live we don't want FRAME based threaded decoding as
it adds latency.

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 22 Apr 2013 22:54:48 +0000 (23:54 +0100)]
Automatic update of common submodule

From 3cb3d3c to 5edcd85

11 years agolibav: Fix typo in the SWSCALE libraries for static plugins
Sebastian Dröge [Tue, 16 Apr 2013 12:49:59 +0000 (14:49 +0200)]
libav: Fix typo in the SWSCALE libraries for static plugins

11 years agolibav: fix static linking
Andoni Morales Alastruey [Thu, 13 Sep 2012 11:10:05 +0000 (11:10 +0000)]
libav: fix static linking

11 years agogst: Add better support for static plugins
Sebastian Dröge [Wed, 24 Oct 2012 10:18:56 +0000 (12:18 +0200)]
gst: Add better support for static plugins

11 years agoav: Add WMV3 format for WMV 3 caps
Matej Knopp [Tue, 9 Apr 2013 20:13:42 +0000 (22:13 +0200)]
av: Add WMV3 format for WMV 3 caps

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sun, 14 Apr 2013 16:57:18 +0000 (17:57 +0100)]
Automatic update of common submodule

From aed87ae to 3cb3d3c

11 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 9 Apr 2013 19:01:54 +0000 (21:01 +0200)]
Automatic update of common submodule

From 04c7a1e to aed87ae

11 years agoavvidec: Make sure to store newly set caps after resetting the decoder
Siva Chandran P [Tue, 9 Apr 2013 18:40:06 +0000 (20:40 +0200)]
avvidec: Make sure to store newly set caps after resetting the decoder

Otherwise we'll just set the to NULL while resetting the decoder and
don't have them available anymore later.

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

11 years agoUse %03u instead of %u in gst_pad_create_stream_id_printf()
David Schleef [Tue, 26 Mar 2013 01:06:39 +0000 (18:06 -0700)]
Use %03u instead of %u in gst_pad_create_stream_id_printf()

11 years agolibav: Update to v9.4
Sebastian Dröge [Mon, 25 Mar 2013 08:47:49 +0000 (09:47 +0100)]
libav: Update to v9.4

11 years agoconfigure: Set the assembler used for libav to $CC
Sebastian Dröge [Thu, 7 Mar 2013 08:30:55 +0000 (09:30 +0100)]
configure: Set the assembler used for libav to $CC

libav assumes that it's not just an assembler but something that
can also handle CPPFLAGS and other things.

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

11 years agoconfigure: Add AG_GST_ARG_GCOV to make automake happy again
Sebastian Dröge [Thu, 7 Mar 2013 08:04:16 +0000 (09:04 +0100)]
configure: Add AG_GST_ARG_GCOV to make automake happy again

+ running automake -a -c -Wno-portability...
common/check.mak:107: error: GST_GCOV_ENABLED does not appear in AM_CONDITIONAL
tests/check/Makefile.am:1:   'common/check.mak' included from here

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Thu, 7 Mar 2013 00:03:06 +0000 (00:03 +0000)]
Automatic update of common submodule

From 2de221c to 04c7a1e

11 years agolibav: update to v9.3
Tim-Philipp Müller [Sat, 2 Mar 2013 18:12:39 +0000 (18:12 +0000)]
libav: update to v9.3

11 years agoswscale: Use 1.0-style video/x-raw caps
Olivier Crête [Fri, 1 Mar 2013 20:10:41 +0000 (15:10 -0500)]
swscale: Use 1.0-style video/x-raw caps

11 years agoAdd uninstalled pkg-config file so other modules can find libav elements for unit...
Tim-Philipp Müller [Thu, 28 Feb 2013 19:34:02 +0000 (19:34 +0000)]
Add uninstalled pkg-config file so other modules can find libav elements for unit tests

e.g. gst-plugins-bad has some unit tests that draw on av* elements.

11 years agoFix 'make dist'
Rico Tzschichholz [Fri, 15 Feb 2013 13:00:02 +0000 (13:00 +0000)]
Fix 'make dist'

This time for real hopefully. Make sure to remove any
libav-dist directories that may still be around from
previous make dist attempts first.

11 years agolibav: update to v9.1
Tim-Philipp Müller [Tue, 12 Feb 2013 10:22:11 +0000 (10:22 +0000)]
libav: update to v9.1

11 years agoAdd mapping for SMPTE 302m audio
David Schleef [Tue, 5 Feb 2013 02:10:42 +0000 (18:10 -0800)]
Add mapping for SMPTE 302m audio

11 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 28 Jan 2013 19:44:16 +0000 (20:44 +0100)]
Automatic update of common submodule

From a942293 to 2de221c

11 years agoRevert "avdec_aac: disable for autoplugging until it gets fixed"
Tim-Philipp Müller [Sat, 26 Jan 2013 12:35:10 +0000 (12:35 +0000)]
Revert "avdec_aac: disable for autoplugging until it gets fixed"

This reverts commit c5980dc52ac57cf0147ed269e3b2c863d7251f84.

It's fixed now.

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

11 years agoavauddec: fix decoding of mono audio as well
Tim-Philipp Müller [Sat, 26 Jan 2013 12:50:49 +0000 (12:50 +0000)]
avauddec: fix decoding of mono audio as well

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

11 years agoavauddec: fix garbled audio decoding in some cases
Nicolas Dufresne [Fri, 25 Jan 2013 19:40:15 +0000 (14:40 -0500)]
avauddec: fix garbled audio decoding in some cases

Calculate output buffer size based on the number of
samples, channels and bytes per sample. The buffer
size was calculated based on linesize, which may
be larger than what's required.

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

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