platform/upstream/gstreamer.git
15 years agoffdec: fix build
Tim-Philipp Müller [Wed, 4 Mar 2009 20:58:08 +0000 (20:58 +0000)]
ffdec: fix build

15 years agogstffmpegdec: Abort on first failure by AAC decoder. Fixes #566250.
Edward Hervey [Wed, 4 Mar 2009 20:10:22 +0000 (21:10 +0100)]
gstffmpegdec: Abort on first failure by AAC decoder. Fixes #566250.

The problem is that the ffmpeg aac decoder fails... but still accepts
the following buffers as if nothing happened. But because some things
were not properly set in the internal code, all hell breaks loose.

15 years agogstffmpegdec: Bring the real decoders up to GST_RANK_PRIMARY.
Edward Hervey [Wed, 4 Mar 2009 19:04:25 +0000 (20:04 +0100)]
gstffmpegdec: Bring the real decoders up to GST_RANK_PRIMARY.

They have proven by now that they're more reliable than the
-bad real wrapper plugins.

15 years agoffmpeg: Don't register the MXF typefinder, we have our own in -base
Sebastian Dröge [Wed, 4 Mar 2009 11:25:34 +0000 (12:25 +0100)]
ffmpeg: Don't register the MXF typefinder, we have our own in -base

15 years agoffmpeg: mxf_d10 is application/mxf too, it only specifies the used mapping
Sebastian Dröge [Wed, 4 Mar 2009 11:24:47 +0000 (12:24 +0100)]
ffmpeg: mxf_d10 is application/mxf too, it only specifies the used mapping

15 years agoffmpegrev: Update to actual ffmpeg 0.5 release branch
Edward Hervey [Tue, 3 Mar 2009 16:23:25 +0000 (17:23 +0100)]
ffmpegrev: Update to actual ffmpeg 0.5 release branch

Normally this should be the last commit before they release 0.5.
We should use this for pre-releases in order to help them squash down bugs.

15 years agoffmpegrev: Switch to 0.5 ffmpeg release branch
Edward Hervey [Mon, 2 Mar 2009 11:07:32 +0000 (12:07 +0100)]
ffmpegrev: Switch to 0.5 ffmpeg release branch

15 years agoffmpeg: Bump up to current upstream HEAD of ffmpeg and swscale
Edward Hervey [Fri, 27 Feb 2009 08:41:24 +0000 (09:41 +0100)]
ffmpeg: Bump up to current upstream HEAD of ffmpeg and swscale

15 years agoffmpegmux: Use information from AVOutputFormat to expose more muxers.
Edward Hervey [Fri, 27 Feb 2009 08:40:03 +0000 (09:40 +0100)]
ffmpegmux: Use information from AVOutputFormat to expose more muxers.

AVOutputFormat does *NOT* contain the full list of codecs a muxer can handle,
but does contain the recommended audio and video codecs. Therefore we use that
information to expose more muxers, until AVOutputFormat contains a list of
*ALL* compatible codecs.

15 years agobuild: Update shave init statement for changes in common. Bump common.
Jan Schmidt [Wed, 25 Feb 2009 15:08:38 +0000 (15:08 +0000)]
build: Update shave init statement for changes in common. Bump common.

15 years agoAutomatic update of common submodule
Jan Schmidt [Wed, 25 Feb 2009 11:32:50 +0000 (11:32 +0000)]
Automatic update of common submodule

From 9cf8c9b to a6ce5c6

15 years agoUse shave for the build
Jan Schmidt [Sun, 22 Feb 2009 20:04:07 +0000 (20:04 +0000)]
Use shave for the build

15 years agoAnd remove unused variable
Sebastian Dröge [Sun, 22 Feb 2009 18:44:12 +0000 (19:44 +0100)]
And remove unused variable

15 years agoRemove unreachable code
Sebastian Dröge [Sun, 22 Feb 2009 18:43:19 +0000 (19:43 +0100)]
Remove unreachable code

15 years agoCast const GstBuffer * to GstBuffer * before unreffing
Sebastian Dröge [Sun, 22 Feb 2009 18:40:51 +0000 (19:40 +0100)]
Cast const GstBuffer * to GstBuffer * before unreffing

15 years agoAutomatic update of common submodule
Jan Schmidt [Sun, 22 Feb 2009 16:00:40 +0000 (16:00 +0000)]
Automatic update of common submodule

From 5d7c9cc to 9cf8c9b

15 years agoffmpegrev: Update upstream revisions used
Edward Hervey [Sun, 22 Feb 2009 13:30:01 +0000 (14:30 +0100)]
ffmpegrev: Update upstream revisions used

15 years agoAutomatic update of common submodule
David Schleef [Sat, 21 Feb 2009 19:14:01 +0000 (11:14 -0800)]
Automatic update of common submodule

From 80c627d to 5d7c9cc

15 years agocodecmap: map more codecs
Edward Hervey [Wed, 18 Feb 2009 18:06:52 +0000 (19:06 +0100)]
codecmap: map more codecs

15 years agoffmpegrev: update upstream ffmpeg/libswscale revisions to use.
Edward Hervey [Wed, 18 Feb 2009 18:06:34 +0000 (19:06 +0100)]
ffmpegrev: update upstream ffmpeg/libswscale revisions to use.

15 years agoFix 'make distcheck'.
Edward Hervey [Tue, 10 Feb 2009 11:34:36 +0000 (12:34 +0100)]
Fix 'make distcheck'.

15 years agoBump upstream ffmpeg revision to use.
Edward Hervey [Tue, 10 Feb 2009 11:33:57 +0000 (12:33 +0100)]
Bump upstream ffmpeg revision to use.

We should update this gradually as ffmpeg will be releasing within 2 weeks.

15 years agoBump revision to use for common submodule.
Edward Hervey [Mon, 9 Feb 2009 11:03:42 +0000 (12:03 +0100)]
Bump revision to use for common submodule.

15 years agoDon't register ASS/SSA typefinder
Sebastian Dröge [Thu, 5 Feb 2009 16:19:20 +0000 (17:19 +0100)]
Don't register ASS/SSA typefinder

15 years agoAdd releaseinfo with online url.
Stefan Kost [Fri, 30 Jan 2009 20:29:43 +0000 (22:29 +0200)]
Add releaseinfo with online url.

15 years agoFix previous commit, wasn't actually setting up a symbolic link
Edward Hervey [Fri, 30 Jan 2009 08:05:51 +0000 (09:05 +0100)]
Fix previous commit, wasn't actually setting up a symbolic link

15 years agoUse a symbolic link for the pre-commit client-side hook
Edward Hervey [Fri, 30 Jan 2009 07:57:53 +0000 (08:57 +0100)]
Use a symbolic link for the pre-commit client-side hook

15 years agoOnly use valid SampleFormat for audio encoders/decoders.
Edward Hervey [Thu, 29 Jan 2009 06:48:19 +0000 (07:48 +0100)]
Only use valid SampleFormat for audio encoders/decoders.

For a given AVCodec, when the sample_fmts field is non-NULL, that means that
that codec can only handle a specific set of SampleFormat.
With this patch, we now look for its presence and create the proper pad template
caps.
Fixes #569441

15 years agoadd more files to ignore
Edward Hervey [Thu, 29 Jan 2009 06:44:30 +0000 (07:44 +0100)]
add more files to ignore

15 years agoDo not corrupt ffmpeg build checkout during make dist.
Mark Nauwelaerts [Tue, 27 Jan 2009 20:10:53 +0000 (21:10 +0100)]
Do not corrupt ffmpeg build checkout during make dist.

Use a separate helper directory to build ffmpeg distributables
rather than replacing and corrupting (no more .svn dirs)
the existing checkout used for standard make/building.

15 years agoDistribute intended ffmpeg revision(s) and include more files.
Mark Nauwelaerts [Tue, 27 Jan 2009 18:35:19 +0000 (19:35 +0100)]
Distribute intended ffmpeg revision(s) and include more files.

Bring make dist in sync with autogen.sh's retrieval of ffmpeg
checkout, which also includes an update to selected revision
of libswscale external.  Also include *.S files (needed for
e.g. ARM build).

15 years agoDifferentiate between "no more data" from "IO failure" when reading.
Edward Hervey [Tue, 27 Jan 2009 14:59:25 +0000 (15:59 +0100)]
Differentiate between "no more data" from "IO failure" when reading.

Where no more data is available, av_read_frame just returns an error code
instead of making the difference between "I am not returning anything because
we finished reading" and "I am not returning anything because the underlying
read failed".

We differentiate between the two by looking at whether we outputted any
data previously or not.

15 years agoImplement push-based support for demuxers
Edward Hervey [Tue, 27 Jan 2009 10:39:18 +0000 (11:39 +0100)]
Implement push-based support for demuxers

Fixes #392534

15 years agoAdd support for AVSEEK_SIZE in seek handler. This should make demuxers work again...
Edward Hervey [Mon, 26 Jan 2009 17:21:50 +0000 (18:21 +0100)]
Add support for AVSEEK_SIZE in seek handler. This should make demuxers work again (sigh)

15 years agoAdd MP1 and ADPCM IMA/ISS variant
Sebastian Dröge [Sat, 24 Jan 2009 16:59:11 +0000 (17:59 +0100)]
Add MP1 and ADPCM IMA/ISS variant

15 years agoUpdate ffmpeg SVN revision to r16753
Sebastian Dröge [Sat, 24 Jan 2009 16:58:13 +0000 (17:58 +0100)]
Update ffmpeg SVN revision to r16753

15 years agoUpdate common snapshot.
Stefan Kost [Thu, 22 Jan 2009 16:21:08 +0000 (18:21 +0200)]
Update common snapshot.

15 years agoFix pre-commit hook
Sebastian Dröge [Thu, 22 Jan 2009 12:45:16 +0000 (13:45 +0100)]
Fix pre-commit hook

15 years agoInstall and use pre-commit indentation hook from common
Edward Hervey [Thu, 22 Jan 2009 05:16:14 +0000 (06:16 +0100)]
Install and use pre-commit indentation hook from common

15 years agoautogen.sh : Use git submodule
Edward Hervey [Wed, 21 Jan 2009 03:34:37 +0000 (04:34 +0100)]
autogen.sh : Use git submodule

15 years agoext/ffmpeg/gstffmpegcodecmap.c: Narrow down the allowed channels and sample rates...
Dejan Sakelšak [Mon, 5 Jan 2009 18:08:20 +0000 (18:08 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Narrow down the allowed channels and sample rates for AMR.

Original commit message from CVS:
Patch by: Dejan Sakelšak <sakdean at gmail dot com>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_aud_caps_new):
Narrow down the allowed channels and sample rates for AMR.
Fixes #566647.

15 years agoffmpegrev: Update ffmpeg SVN revision to r16434 and update to the corresponding swsca...
Sebastian Dröge [Mon, 5 Jan 2009 11:15:44 +0000 (11:15 +0000)]
ffmpegrev: Update ffmpeg SVN revision to r16434 and update to the corresponding swscale snapshot. This new ffmpeg ver...

Original commit message from CVS:
* ffmpegrev:
Update ffmpeg SVN revision to r16434 and update to the corresponding
swscale snapshot. This new ffmpeg version has initial support for
metadata (i.e. tags) but we don't use them yet (see bug #566605).

15 years agoext/ffmpeg/gstffmpegcodecmap.c: Add mapping for IMC and MLP audio codecs.
Edward Hervey [Tue, 30 Dec 2008 15:59:58 +0000 (15:59 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add mapping for IMC and MLP audio codecs.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
Add mapping for IMC and MLP audio codecs.

15 years agoffmpegrev: Updating ffmpeg SVN revision to r16396 and update to the corresponding...
Sebastian Dröge [Tue, 30 Dec 2008 09:04:30 +0000 (09:04 +0000)]
ffmpegrev: Updating ffmpeg SVN revision to r16396 and update to the corresponding swscale snapshot. This update featu...

Original commit message from CVS:
* ffmpegrev:
Updating ffmpeg SVN revision to r16396 and update to the corresponding
swscale snapshot. This update features a lot of bugfixes, some of them
being security related.

15 years agoffmpegrev: Updating ffmpeg SVN revision to r16304 and update to the corresponding...
Sebastian Dröge [Wed, 24 Dec 2008 08:09:53 +0000 (08:09 +0000)]
ffmpegrev: Updating ffmpeg SVN revision to r16304 and update to the corresponding swscale snapshot.

Original commit message from CVS:
* ffmpegrev:
Updating ffmpeg SVN revision to r16304 and update to the corresponding
swscale snapshot.
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_codecid):
Enable the Real Video 3.0 decoder.

15 years agoext/ffmpeg/gstffmpegcodecmap.*: Add mapping for EAC3 and QCELP audio codecs.
Edward Hervey [Wed, 17 Dec 2008 12:05:12 +0000 (12:05 +0000)]
ext/ffmpeg/gstffmpegcodecmap.*: Add mapping for EAC3 and QCELP audio codecs.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_aud_caps_new),
(gst_ffmpeg_codecid_to_caps), (gst_ffmpeg_smpfmt_to_caps),
(gst_ffmpeg_codectype_to_caps), (gst_ffmpeg_caps_to_smpfmt),
(gst_ffmpeg_caps_to_codecid), (av_smp_format_depth):
* ext/ffmpeg/gstffmpegcodecmap.h:
Add mapping for EAC3 and QCELP audio codecs.
Add conversion functions for all available audo SampleFormat.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
(clip_audio_buffer), (gst_ffmpegdec_audio_frame):
Remove assumptions that we can only handle stereo 16bit signed integer
audio, and store the depth locally.

15 years agoconfigure.ac: Require core cvs.
Stefan Kost [Tue, 16 Dec 2008 16:21:28 +0000 (16:21 +0000)]
configure.ac: Require core cvs.

Original commit message from CVS:
* configure.ac:
Require core cvs.

15 years agoext/ffmpeg/gstffmpegmux.c: Renaming tagsetter_flush to _reset_tags().
Stefan Kost [Tue, 16 Dec 2008 15:58:05 +0000 (15:58 +0000)]
ext/ffmpeg/gstffmpegmux.c: Renaming tagsetter_flush to _reset_tags().

Original commit message from CVS:
* ext/ffmpeg/gstffmpegmux.c:
Renaming tagsetter_flush to _reset_tags().

15 years agoFix tag merging. Use tagsetter and not internal copies. Depend on
Stefan Kost [Tue, 16 Dec 2008 14:24:05 +0000 (14:24 +0000)]
Fix tag merging. Use tagsetter and not internal copies. Depend on

Original commit message from CVS:
* configure.ac:
* ext/ffmpeg/gstffmpegmux.c:
Fix tag merging. Use tagsetter and not internal copies. Depend on
CVS core and use new API to flush.

15 years agoext/ffmpeg/gstffmpegcodecmap.c: If no channel layout is provided don't set a NONE...
Sebastian Dröge [Sat, 13 Dec 2008 08:01:45 +0000 (08:01 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: If no channel layout is provided don't set a NONE layout in the case of >2 channels b...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_channel_layout_to_gst):
If no channel layout is provided don't set a NONE layout in the
case of >2 channels but instead let audioconvert add some default
layout.

15 years agoext/ffmpeg/: Set the channel layout if it's exposed by the decoder.
Sebastian Dröge [Sat, 13 Dec 2008 07:55:40 +0000 (07:55 +0000)]
ext/ffmpeg/: Set the channel layout if it's exposed by the decoder.

Original commit message from CVS:
* ext/ffmpeg/Makefile.am:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_channel_layout_to_gst),
(gst_ff_aud_caps_new):
* ext/ffmpeg/gstffmpegcodecmap.h:
Set the channel layout if it's exposed by the decoder.
Fixes bug #548002.

15 years agoffmpegrev: Update ffmpeg revision to 16086 and update to the corresponding swscale...
Sebastian Dröge [Sat, 13 Dec 2008 06:51:26 +0000 (06:51 +0000)]
ffmpegrev: Update ffmpeg revision to 16086 and update to the corresponding swscale revision.

Original commit message from CVS:
* ffmpegrev:
Update ffmpeg revision to 16086 and update to the corresponding
swscale revision.

15 years agoMakefile.am: Add gst-libs to DIST_SUBDIRS to make sure that it's always disted.
Sebastian Dröge [Fri, 5 Dec 2008 09:30:45 +0000 (09:30 +0000)]
Makefile.am: Add gst-libs to DIST_SUBDIRS to make sure that it's always disted.

Original commit message from CVS:
* Makefile.am:
Add gst-libs to DIST_SUBDIRS to make sure that it's always
disted.
* autogen.sh:
Remove -I m4 from autogen.sh, it's not disted and used anymore and
thus makes autogen.sh fail if run on a tarball. Fixes bug #563305.

15 years agoconfigure.ac: Apparently AC_CONFIG_MACRO_DIR breaks when using more than one macro...
Sebastian Dröge [Thu, 4 Dec 2008 20:12:41 +0000 (20:12 +0000)]
configure.ac: Apparently AC_CONFIG_MACRO_DIR breaks when using more than one macro directory, reverting last change.

Original commit message from CVS:
* configure.ac:
Apparently AC_CONFIG_MACRO_DIR breaks when using more
than one macro directory, reverting last change.

15 years agoconfigure.ac: Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to our M4 macros.
Sebastian Dröge [Thu, 4 Dec 2008 19:51:46 +0000 (19:51 +0000)]
configure.ac: Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to our M4 macros.

Original commit message from CVS:
* configure.ac:
Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
our M4 macros.

15 years agoffmpegrev: Update ffmpeg rev to 16001 and update the date for the corresponding swsca...
Sebastian Dröge [Thu, 4 Dec 2008 07:41:16 +0000 (07:41 +0000)]
ffmpegrev: Update ffmpeg rev to 16001 and update the date for the corresponding swscale checkout.

Original commit message from CVS:
* ffmpegrev:
Update ffmpeg rev to 16001 and update the date for the corresponding
swscale checkout.

15 years agoext/ffmpeg/gstffmpegdec.c: Fix check for memory to free.
Edward Hervey [Wed, 3 Dec 2008 17:43:45 +0000 (17:43 +0000)]
ext/ffmpeg/gstffmpegdec.c: Fix check for memory to free.

Original commit message from CVS:
reviewed by: Edward Hervey  <edward.hervey@collabora.co.uk>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_finalize):
Fix check for memory to free.
Fixes #560644

15 years agoconfigure.ac: Back to development -> 0.10.6.1
Jan Schmidt [Thu, 27 Nov 2008 23:39:51 +0000 (23:39 +0000)]
configure.ac: Back to development -> 0.10.6.1

Original commit message from CVS:
* configure.ac:
Back to development -> 0.10.6.1

15 years agoRelease 0.10.6
Jan Schmidt [Thu, 27 Nov 2008 23:37:42 +0000 (23:37 +0000)]
Release 0.10.6

Original commit message from CVS:
Release 0.10.6

16 years agoUnfreeze gst-ffmpeg pending resolution of #559467 and an out-of-cycle release attempt...
Jan Schmidt [Wed, 19 Nov 2008 14:21:06 +0000 (14:21 +0000)]
Unfreeze gst-ffmpeg pending resolution of #559467 and an out-of-cycle release attempt next month perhaps.

Original commit message from CVS:
2008-11-19  Jan Schmidt  <jan.schmidt@sun.com>

Unfreeze gst-ffmpeg pending resolution of #559467 and an out-of-cycle
release attempt next month perhaps.

16 years agoconfigure.ac: 0.10.5.3 pre-release
Jan Schmidt [Wed, 12 Nov 2008 23:22:43 +0000 (23:22 +0000)]
configure.ac: 0.10.5.3 pre-release

Original commit message from CVS:
* configure.ac:
0.10.5.3 pre-release

16 years agoext/ffmpeg/gstffmpegmux.c: Copy the codec aspect ratio to the stream, ffmpeg expects...
Wim Taymans [Tue, 11 Nov 2008 17:18:46 +0000 (17:18 +0000)]
ext/ffmpeg/gstffmpegmux.c: Copy the codec aspect ratio to the stream, ffmpeg expects them to be the same. Fixes #560305.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_setcaps):
Copy the codec aspect ratio to the stream, ffmpeg expects them to be the
same. Fixes #560305.

16 years agoconfigure.ac: Fix typo: libswcale -> libswscale for the pkg-config check.
Sebastian Dröge [Mon, 10 Nov 2008 12:37:46 +0000 (12:37 +0000)]
configure.ac: Fix typo: libswcale -> libswscale for the pkg-config check.

Original commit message from CVS:
* configure.ac:
Fix typo: libswcale -> libswscale for the pkg-config check.
* ext/libswscale/gstffmpegscale.c:
Fix include path, newer ffmpeg installs the headers for all
libraries into separate directories. Fixes bug #560137.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Initialize some more variables.
Wim Taymans [Fri, 7 Nov 2008 11:43:42 +0000 (11:43 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Initialize some more variables.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
Initialize some more variables.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
(alloc_output_buffer):
Disable direct rendering for h264, some functions just seem to read from
invalid memory.

16 years agoext/ffmpeg/: Add G_PARAM_STATIC_STRINGS to avoid numerous strcpy calls.
Wim Taymans [Thu, 6 Nov 2008 11:47:40 +0000 (11:47 +0000)]
ext/ffmpeg/: Add G_PARAM_STATIC_STRINGS to avoid numerous strcpy calls.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_init):
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
(gst_ffmpegdec_init), (gst_ffmpegdec_setcaps),
(gst_ffmpegdec_get_buffer), (get_output_buffer),
(gst_ffmpegdec_set_property), (gst_ffmpegdec_get_property):
Add G_PARAM_STATIC_STRINGS to avoid numerous strcpy calls.

16 years agoext/ffmpeg/gstffmpegdec.c: Enable direct rendering.
Wim Taymans [Wed, 5 Nov 2008 17:05:46 +0000 (17:05 +0000)]
ext/ffmpeg/gstffmpegdec.c: Enable direct rendering.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
(gst_ffmpegdec_get_buffer), (get_output_buffer):
Enable direct rendering.
Add some more debug info about image strides.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Don't convert caps to strings when we don't have...
Wim Taymans [Wed, 5 Nov 2008 12:34:58 +0000 (12:34 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Don't convert caps to strings when we don't have debugging enabled.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps),
(gst_ffmpeg_smpfmt_to_caps), (gst_ffmpeg_caps_to_codecid),
(gst_ffmpeg_avpicture_fill):
Don't convert caps to strings when we don't have debugging enabled.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Fix regression in template caps limitations; expose...
Mark Nauwelaerts [Tue, 4 Nov 2008 18:53:01 +0000 (18:53 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix regression in template caps limitations; expose more than 2 channels in both src ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_aud_caps_new):
Fix regression in template caps limitations;
expose more than 2 channels in both src and sink template
if so supported.

16 years agoext/: Don't install static libs for plugins. Fixes #550851 for -ffmpeg.
Stefan Kost [Tue, 4 Nov 2008 12:49:40 +0000 (12:49 +0000)]
ext/: Don't install static libs for plugins. Fixes #550851 for -ffmpeg.

Original commit message from CVS:
* ext/ffmpeg/Makefile.am:
* ext/libpostproc/Makefile.am:
* ext/libswscale/Makefile.am:
Don't install static libs for plugins. Fixes #550851 for -ffmpeg.

16 years agoUpdate ffmpeg/swscale snapshot to the latest revision and adjust to API changes....
Alexis Ballier [Thu, 30 Oct 2008 12:05:45 +0000 (12:05 +0000)]
Update ffmpeg/swscale snapshot to the latest revision and adjust to API changes. Fixes bug #556405.

Original commit message from CVS:
Based on a patch by: Alexis Ballier <aballier at gentoo dot org>
* configure.ac:
* ext/ffmpeg/gstffmpeg.c:
* ext/ffmpeg/gstffmpeg.h:
* ext/ffmpeg/gstffmpegaudioresample.c:
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type),
(gst_ffmpeg_cfg_init):
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_pixfmt), (gst_ffmpeg_caps_with_codecid):
* ext/ffmpeg/gstffmpegcodecmap.h:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
(gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegdeinterlace.c:
* ext/ffmpeg/gstffmpegdemux.c:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
(gst_ffmpegenc_setcaps), (gst_ffmpegenc_register):
* ext/ffmpeg/gstffmpegmux.c:
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_seek):
* ext/libpostproc/gstpostproc.c:
* ffmpegrev:
Update ffmpeg/swscale snapshot to the latest revision and adjust
to API changes. Fixes bug #556405.
Require libavutil for swscale too when building with an external
ffmpeg and fix includes for external ffmpeg.

16 years agoext/ffmpeg/gstffmpegdec.c: If both, the decoder and the demuxer, provide a non-1...
Robin Stocker [Wed, 15 Oct 2008 11:28:05 +0000 (11:28 +0000)]
ext/ffmpeg/gstffmpegdec.c: If both, the decoder and the demuxer, provide a non-1:1 PAR prefer the one of the demuxer ...

Original commit message from CVS:
Patch by: Robin Stocker <robin at nibor dot org>
* ext/ffmpeg/gstffmpegdec.c:
(gst_ffmpegdec_add_pixel_aspect_ratio):
If both, the decoder and the demuxer, provide a non-1:1 PAR
prefer the one of the demuxer instead of the one of the decoder.
Fixes bug #556336.

16 years agoext/ffmpeg/: Add some more width/height/channels/rate limitations to caps to cater...
Mark Nauwelaerts [Wed, 8 Oct 2008 14:20:37 +0000 (14:20 +0000)]
ext/ffmpeg/: Add some more width/height/channels/rate limitations to caps to cater for more automagic negotiation.  A...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_vid_caps_new),
(gst_ff_aud_caps_new), (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_codectype_to_caps):
* ext/ffmpeg/gstffmpegcodecmap.h:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate),
(gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
(gst_ffmpegenc_register):
Add some more width/height/channels/rate limitations to caps
to cater for more automagic negotiation.  Addresses #532422.

16 years agoRewrite ffvideoscale using libswscale and put into a separate plugin.
Mark Nauwelaerts [Wed, 8 Oct 2008 13:11:54 +0000 (13:11 +0000)]
Rewrite ffvideoscale using libswscale and put into a separate plugin.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/libswscale/Makefile.am:
* ext/libswscale/gstffmpegscale.c:
(gst_ffmpegscale_method_get_type), (gst_ffmpegscale_base_init),
(gst_ffmpegscale_class_init), (gst_ffmpegscale_init),
(gst_ffmpegscale_reset), (gst_ffmpegscale_finalize),
(gst_ffmpegscale_caps_remove_format_info),
(gst_ffmpegscale_transform_caps), (gst_ffmpegscale_fixate_caps),
(gst_ffmpegscale_get_unit_size), (gst_ffmpeg_caps_to_pixfmt),
(gst_ffmpegscale_fill_info), (gst_ffmpegscale_set_caps),
(gst_ffmpegscale_transform), (gst_ffmpegscale_handle_src_event),
(gst_ffmpegscale_stop), (gst_ffmpegscale_set_property),
(gst_ffmpegscale_get_property), (gst_ffmpeg_log_callback),
(plugin_init):
Rewrite ffvideoscale using libswscale and put into a separate plugin.
Fixes #504056.

16 years agoFix cross compilation and add support for compilation with mingw32.
Damien Lespiau [Wed, 8 Oct 2008 11:24:26 +0000 (11:24 +0000)]
Fix cross compilation and add support for compilation with mingw32.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* configure.ac:
* ext/ffmpeg/Makefile.am:
Fix cross compilation and add support for compilation with mingw32.
Fixes bug #542216.

16 years agoconfigure.ac: Fix type in error messgae.
Stefan Kost [Sat, 6 Sep 2008 09:55:12 +0000 (09:55 +0000)]
configure.ac: Fix type in error messgae.

Original commit message from CVS:
* configure.ac:
Fix type in error messgae.
* tests/check/.cvsignore:
Ignore more files.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Add some debug that revealed that the escape code...
Wim Taymans [Thu, 4 Sep 2008 15:50:03 +0000 (15:50 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add some debug that revealed that the escape code was disabled...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (nal_escape), (copy_config),
(gst_ffmpeg_caps_with_codecid):
Add some debug that revealed that the escape code was disabled...

16 years agoext/ffmpeg/gstffmpegdec.c: If we have a parser and we did not consume any of the...
Wim Taymans [Thu, 4 Sep 2008 14:08:50 +0000 (14:08 +0000)]
ext/ffmpeg/gstffmpegdec.c: If we have a parser and we did not consume any of the bytes of a new buffer, make sure we ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
(gst_ffmpegdec_chain):
If we have a parser and we did not consume any of the bytes of a new
buffer, make sure we submit the buffer again with its original timestamp
instead of a -1 timestamp. Fixes various h264 cases with reordered
frames.
If we have a discont and a timestamp but the first buffer after the
discont did not produce any data, make sure we set the timestamp on the
next buffer instead. Fixes initial timestamp on realaudio in many cases.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Escape the codec_data for h264 before we put it in...
Wim Taymans [Thu, 4 Sep 2008 13:54:58 +0000 (13:54 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Escape the codec_data for h264 before we put it in the extra_data because ffmpeg expe...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (nal_escape), (copy_config),
(gst_ffmpeg_caps_with_codecid):
Escape the codec_data for h264 before we put it in the extra_data
because ffmpeg expects it escaped.

16 years agoconfigure.ac: And back to development we go...
Edward Hervey [Thu, 4 Sep 2008 13:43:44 +0000 (13:43 +0000)]
configure.ac: And back to development we go...

Original commit message from CVS:
* configure.ac:
And back to development we go...

16 years agoreleasing 0.10.5, "This little piggy went to market"
Edward Hervey [Wed, 3 Sep 2008 14:52:45 +0000 (14:52 +0000)]
releasing 0.10.5, "This little piggy went to market"

Original commit message from CVS:
releasing 0.10.5, "This little piggy went to market"

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Give the TrueSpeech audio codec a proper caps. This...
Edward Hervey [Wed, 3 Sep 2008 14:06:45 +0000 (14:06 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Give the TrueSpeech audio codec a proper caps. This is now synchronized with libriff ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
Give the TrueSpeech audio codec a proper caps. This is now synchronized
with libriff in -base cvs.

16 years agoChangeLog surgery: fix garbled UTF-8
Tim-Philipp Müller [Mon, 1 Sep 2008 07:12:44 +0000 (07:12 +0000)]
ChangeLog surgery: fix garbled UTF-8

Original commit message from CVS:
ChangeLog surgery: fix garbled UTF-8

16 years agoconfigure.ac: 0.10.4.3 pre-release
Edward Hervey [Sun, 31 Aug 2008 11:51:23 +0000 (11:51 +0000)]
configure.ac: 0.10.4.3 pre-release

Original commit message from CVS:
* configure.ac:
0.10.4.3 pre-release

16 years agoffmpegrev: Adjust time of swscale checkout to ffmpeg revision being used.
Edward Hervey [Sun, 31 Aug 2008 11:49:06 +0000 (11:49 +0000)]
ffmpegrev: Adjust time of swscale checkout to ffmpeg revision being used.

Original commit message from CVS:
* ffmpegrev:
Adjust time of swscale checkout to ffmpeg revision being used.
* gst-libs/ext/Makefile.am:
Fix make distcheck

16 years agoext/ffmpeg/gstffmpegdec.c: Finalizing a decoder that was never used shouldn't trigger...
Edward Hervey [Fri, 29 Aug 2008 09:59:29 +0000 (09:59 +0000)]
ext/ffmpeg/gstffmpegdec.c: Finalizing a decoder that was never used shouldn't trigger an assertion.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_finalize),
(gst_ffmpegdec_get_buffer), (gst_ffmpegdec_frame):
Finalizing a decoder that was never used shouldn't trigger an assertion.
Add debug messages for the two other g_assert_if_reached().

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Instead of marking all audio decoders/encoders as...
Edward Hervey [Fri, 29 Aug 2008 09:53:29 +0000 (09:53 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Instead of marking all audio decoders/encoders as accepting up to 6 channels, we whit...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_aud_caps_new):
Instead of marking all audio decoders/encoders as accepting up to 6
channels, we white-list those for which we are sure they can handle
those 6 channels.
Fixes #549799

16 years agoext/ffmpeg/gstffmpegdemux.c: gst_pad_template_new() takes ownership of caps; ref...
Michael Smith [Fri, 29 Aug 2008 00:27:28 +0000 (00:27 +0000)]
ext/ffmpeg/gstffmpegdemux.c: gst_pad_template_new() takes ownership of caps; ref them beforehand since we want to kee...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c:
gst_pad_template_new() takes ownership of caps; ref them beforehand
since we want to keep using them afterwards.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: ffmpeg audio decoders can now do up to 6 channels...
Edward Hervey [Thu, 28 Aug 2008 18:03:26 +0000 (18:03 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: ffmpeg audio decoders can now do up to 6 channels... and actually expose it properly....

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_aud_caps_new):
ffmpeg audio decoders can now do up to 6 channels... and actually
expose it properly. Don't expect any channel mapping though.

16 years agoconfigure.ac: Slim down the build of 'prefered' ffmpeg snapshot to disable compilatio...
Edward Hervey [Thu, 28 Aug 2008 08:45:48 +0000 (08:45 +0000)]
configure.ac: Slim down the build of 'prefered' ffmpeg snapshot to disable compilation of things we don't need.

Original commit message from CVS:
* configure.ac:
Slim down the build of 'prefered' ffmpeg snapshot to disable compilation
of things we don't need.
* ffmpegrev:
Update our 'prefered' ffmpeg snapshot to rev 15004. This has the fix for a nasty
wma2 decoding regression.

16 years agoconfigure.ac: Check if bz2 is installed (#548304)
Thijs Vermeir [Mon, 18 Aug 2008 21:30:05 +0000 (21:30 +0000)]
configure.ac: Check if bz2 is installed (#548304)

Original commit message from CVS:
* configure.ac:
Check if bz2 is installed (#548304)

16 years agoconfigure.ac: 0.10.4.2 pre-release.
Jan Schmidt [Tue, 12 Aug 2008 09:26:00 +0000 (09:26 +0000)]
configure.ac: 0.10.4.2 pre-release.

Original commit message from CVS:
* configure.ac:
0.10.4.2 pre-release.
* docs/Makefile.am:
Disable recursion into the plugins docs directory - there's no
docs in there anyway, and it breaks distcheck.

16 years agoext/ffmpeg/: Latest ffmpeg revision's avcodec_close frees more; use safer coding...
Mark Nauwelaerts [Fri, 1 Aug 2008 18:37:02 +0000 (18:37 +0000)]
ext/ffmpeg/: Latest ffmpeg revision's avcodec_close frees more; use safer coding to prevent double free and other rel...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_fill_context):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
Latest ffmpeg revision's avcodec_close frees more; use safer coding to
prevent double free and other related segfaults.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Recognize video/x-raw-gray and map to proper pixfmt.
Mark Nauwelaerts [Mon, 28 Jul 2008 11:50:56 +0000 (11:50 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Recognize video/x-raw-gray and map to proper pixfmt.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
Recognize video/x-raw-gray and map to proper pixfmt.
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps),
(gst_ffmpegenc_chain_video):
Fail negotiation if pixfmt cannot be determined from input caps.
Prevent segfault accessing non-existant coded_frame, provide some
warning debug output instead.

16 years agoffmpegrev: Updating to today's ffmpeg upstream revision, mostly to fix a security...
Edward Hervey [Wed, 23 Jul 2008 13:33:32 +0000 (13:33 +0000)]
ffmpegrev: Updating to today's ffmpeg upstream revision, mostly to fix a security issue.

Original commit message from CVS:
* ffmpegrev:
Updating to today's ffmpeg upstream revision, mostly to fix a security
issue.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Prevent likely segfault on EMPTY provided caps.
Mark Nauwelaerts [Fri, 11 Jul 2008 17:54:26 +0000 (17:54 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Prevent likely segfault on EMPTY provided caps.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
Prevent likely segfault on EMPTY provided caps.

16 years agoext/ffmpeg/gstffmpegmux.c: Properly convert buffer duration to an ffmpeg packet duration.
Aurelien Grimaud [Sun, 6 Jul 2008 21:06:45 +0000 (21:06 +0000)]
ext/ffmpeg/gstffmpegmux.c: Properly convert buffer duration to an ffmpeg packet duration.

Original commit message from CVS:
Based on a patch by: Aurelien Grimaud <gstelzz at yahoo dot fr>
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
Properly convert buffer duration to an ffmpeg packet duration.
Fixes #371939.

16 years agoext/ffmpeg/gstffmpegdec.c: If ffmpeg reports 0 bytes of input data consumed, don...
Jan Schmidt [Tue, 1 Jul 2008 09:39:19 +0000 (09:39 +0000)]
ext/ffmpeg/gstffmpegdec.c: If ffmpeg reports 0 bytes of input data consumed, don't break out unless it also didn't pr...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c:
If ffmpeg reports 0 bytes of input data consumed, don't break out
unless it also didn't produce any output. Fixes the audio in #377400
and doesn't break anything else I've tested.
Enable the mp3 parser, and set mp3 and mpeg2-video decoding autoplug
at marginal level, as they seem to both work fine now.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: MP4 does not allow H263 and AMR.
Edward Hervey [Fri, 13 Jun 2008 17:59:43 +0000 (17:59 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: MP4 does not allow H263 and AMR.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
MP4 does not allow H263 and AMR.

16 years agoChangeLog surgery, forgot to mention the addition of new codecs
Edward Hervey [Fri, 13 Jun 2008 17:08:31 +0000 (17:08 +0000)]
ChangeLog surgery, forgot to mention the addition of new codecs

Original commit message from CVS:
ChangeLog surgery, forgot to mention the addition of new codecs

16 years agoext/ffmpeg/: FFMpeg now provides proper long_name for AVCodec, remove our internal...
Edward Hervey [Fri, 13 Jun 2008 17:06:55 +0000 (17:06 +0000)]
ext/ffmpeg/: FFMpeg now provides proper long_name for AVCodec, remove our internal mapping and directly use upstream ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_get_codecid_longname):
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
(gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
(gst_ffmpegenc_register):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
FFMpeg now provides proper long_name for AVCodec, remove our
internal mapping and directly use upstream naming.
Improve debugging messages.
Remove g_warning() which isn't really needed.