Commit graph

1782 commits

Author SHA1 Message Date
Thiago Santos
dce9d85695 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
2013-06-11 09:00:49 -03:00
Sebastian Dröge
427deb9b34 Back to development 2013-06-05 18:36:40 +02:00
Sebastian Dröge
793d5535ca Release 1.1.1 2013-06-05 18:31:02 +02:00
Sebastian Dröge
80f664cac7 Automatic update of common submodule
From 098c0d7 to 01a7a46
2013-06-05 15:16:55 +02:00
Sebastian Dröge
a0bb9240be libav: Update to v9.6 2013-05-20 11:07:57 +02:00
Sebastian Dröge
b262887d7e Automatic update of common submodule
From 5edcd85 to 098c0d7
2013-05-15 10:53:59 +02:00
Tim-Philipp Müller
068be939cb CODEC_ID_* -> AV_CODEC_ID_* 2013-05-06 23:56:22 +01:00
Tim-Philipp Müller
4dd36df4f7 codecmap: add mapping for WMA Lossless
Only 16 bits is supported for now though.
2013-05-06 23:53:01 +01:00
Sebastian Dröge
127202d6f6 libav: Update to v9.5 2013-04-23 14:20:43 +02:00
Sebastian Dröge
2d2c9b1aac 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.
2013-04-23 14:20:42 +02:00
Tim-Philipp Müller
e8369557b0 Automatic update of common submodule
From 3cb3d3c to 5edcd85
2013-04-22 23:54:48 +01:00
Sebastian Dröge
e721aadc88 libav: Fix typo in the SWSCALE libraries for static plugins 2013-04-16 14:49:59 +02:00
Andoni Morales Alastruey
d3b125913f libav: fix static linking 2013-04-15 16:00:03 +02:00
Sebastian Dröge
1caa7d6161 gst: Add better support for static plugins 2013-04-15 16:00:02 +02:00
Matej Knopp
710c92d830 av: Add WMV3 format for WMV 3 caps 2013-04-15 12:42:01 +02:00
Tim-Philipp Müller
45d5bb1604 Automatic update of common submodule
From aed87ae to 3cb3d3c
2013-04-14 17:57:18 +01:00
Stefan Sauer
f0e572db28 Automatic update of common submodule
From 04c7a1e to aed87ae
2013-04-09 21:01:54 +02:00
Siva Chandran P
758d7bf7ea 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
2013-04-09 20:44:23 +02:00
David Schleef
f656d9eaf7 Use %03u instead of %u in gst_pad_create_stream_id_printf() 2013-03-25 19:01:31 -07:00
Sebastian Dröge
e0e91fc958 libav: Update to v9.4 2013-03-25 09:47:49 +01:00
Sebastian Dröge
1a265f029a 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
2013-03-07 09:30:55 +01:00
Sebastian Dröge
e767f84bfa 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
2013-03-07 09:04:16 +01:00
Tim-Philipp Müller
556a32014b Automatic update of common submodule
From 2de221c to 04c7a1e
2013-03-07 00:03:06 +00:00
Tim-Philipp Müller
75cfa07dc5 libav: update to v9.3 2013-03-02 18:12:39 +00:00
Olivier Crête
597bf61ae7 swscale: Use 1.0-style video/x-raw caps 2013-03-01 15:11:15 -05:00
Tim-Philipp Müller
7e9fc24bc9 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.
2013-02-28 19:34:02 +00:00
Rico Tzschichholz
1549809d7d 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.
2013-02-15 13:00:02 +00:00
Tim-Philipp Müller
f42ff31941 libav: update to v9.1 2013-02-12 10:22:11 +00:00
David Schleef
7f2f2fb31f Add mapping for SMPTE 302m audio 2013-02-04 18:10:42 -08:00
Stefan Sauer
7363a133c6 Automatic update of common submodule
From a942293 to 2de221c
2013-01-28 20:44:16 +01:00
Tim-Philipp Müller
b7ef1faab7 Revert "avdec_aac: disable for autoplugging until it gets fixed"
This reverts commit c5980dc52a.

It's fixed now.

https://bugzilla.gnome.org/show_bug.cgi?id=690940
2013-01-26 12:52:29 +00:00
Tim-Philipp Müller
879cd02e26 avauddec: fix decoding of mono audio as well
https://bugzilla.gnome.org/show_bug.cgi?id=690940
2013-01-26 12:52:29 +00:00
Nicolas Dufresne
76423a4ba7 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
2013-01-26 12:23:14 +00:00
Tim-Philipp Müller
ed6561bee6 avenc_aac: downgrade to RANK_NONE until it gets fixed
Currently just fails to initialize.

https://bugzilla.gnome.org/show_bug.cgi?id=691617
2013-01-22 12:57:41 +00:00
Tim-Philipp Müller
c5980dc52a 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
2013-01-22 12:53:48 +00:00
Andoni Morales Alastruey
d89fbb2ccb libav: fix checks for internal libav configure options
https://bugzilla.gnome.org/show_bug.cgi?id=691723
2013-01-21 11:17:16 +00:00
Tim-Philipp Müller
3ad2d0b0e7 Disable libswscale/avvideoscale plugin until it works at least somewhat
It needs some fixing.
2013-01-17 23:57:00 +00:00
Tim-Philipp Müller
7d1798e49f 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.
2013-01-16 12:09:39 +00:00
Tim-Philipp Müller
9976ffe93d Automatic update of common submodule
From a72faea to a942293
2013-01-15 15:08:10 +00:00
Tim-Philipp Müller
22f4df552a 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
2012-12-31 00:32:41 +00:00
Sebastian Dröge
4221ae1022 av: Remove some unused variables and function declarations 2012-12-22 10:52:47 +01:00
Sebastian Dröge
08ca549627 av: Move gst_ffmpegdata functions to gstavprotocol.h too
Just for consistency.
2012-12-22 10:49:52 +01:00
Thijs Vermeir
bdd7406bc4 av: Fix redefinition of typedef 'GstFFMpegPipe'
Move declaration of pipe function to correct headers file
2012-12-21 23:16:44 +01:00
Sebastian Dröge
faa23b57b8 configure: Pass CC, LD, AS, AR and NM to the libav configure if set 2012-12-21 14:33:56 +01:00
Sebastian Dröge
adfdfebc8c av: Use correct printf format strings for gsize 2012-12-21 11:03:27 +01:00
Sebastian Dröge
70f79ad4f2 libav: Update to today's master 2012-12-18 10:57:43 +01:00
Sebastian Dröge
022ab84288 av: Fix some memory leaks and misuse of libav API 2012-12-17 16:35:36 +01:00
Sebastian Dröge
d69dda0391 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.
2012-12-17 15:58:37 +01:00
Thiago Santos
c445b614f9 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
2012-12-17 15:56:03 +01:00
Sebastian Dröge
faf985e8fb avcodecmap: Only set "formats" field on raw audio/video caps 2012-12-17 13:42:13 +01:00