Commit graph

812 commits

Author SHA1 Message Date
Tim-Philipp Müller
7553796d3a configure: require a released version of gstreamer, to avoid confusion 2009-03-06 17:50:19 +00:00
Edward Hervey
98167578c4 ffmpegdec: Make sure we provide 16 byte aligned data to ffmpeg. Fixes #572863
We simply allocate the memory using ffmpeg's av_malloc which provides us
with properly memalign'ed data.
This avoids write-outside-of-bounds when sse/altivec code is being used.
2009-03-06 17:37:51 +01:00
Edward Hervey
df6fb6867e ffaudioresample: Add padding to output buffer. Fixes #573649
The internal resampling functions seem to require a slightly bigger buffer
for output than what we require. Therefore we give it an extra 64bytes (although
16 should have been enough).
2009-03-06 12:47:12 +01:00
Tim-Philipp Müller
c389f49295 ffmpegdec: post an error message on the bus when decoding fails
We should post a STREAM DECODE error message on the bus when we return
GST_FLOW_ERROR, otherwise the user ends up seeing an ugly internal flow
error message, which isn't very nice.
2009-03-06 11:01:55 +00:00
Edward Hervey
eeffd7b87f gstffmpegdec: Set the rank of the AAC decoder to NONE.
It will stay this way until the ffmpeg aac decoder can report before decoding
whether it can handle a given stream or not.
2009-03-05 12:09:32 +01:00
Damien Lespiau
ac82da060a Make bz2 requirement optional. Fixes #564867 2009-03-05 09:10:37 +01:00
Jordi Mas
c7458545f3 gstffmpegmux: Expose the 'preload' and 'maxdelay' properties, add dvd mux mapping.
Fixes #570975
2009-03-05 08:52:11 +01:00
Edward Hervey
8dcbe4f7e8 codecmap. The VC1 decoder can also handle the Advanced Profile.
Fixes #565269
2009-03-05 07:48:24 +01:00
Tim-Philipp Müller
30805cd2c4 ffdec: fix build 2009-03-04 20:58:08 +00:00
Edward Hervey
9eb48ddcda 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.
2009-03-04 21:10:22 +01:00
Edward Hervey
ec1ff94e7b 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.
2009-03-04 20:04:25 +01:00
Sebastian Dröge
778df9cae0 ffmpeg: Don't register the MXF typefinder, we have our own in -base 2009-03-04 12:25:34 +01:00
Sebastian Dröge
b50cc13487 ffmpeg: mxf_d10 is application/mxf too, it only specifies the used mapping 2009-03-04 12:24:47 +01:00
Edward Hervey
a57ffa07c4 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.
2009-03-03 17:23:25 +01:00
Edward Hervey
62c179ee50 ffmpegrev: Switch to 0.5 ffmpeg release branch 2009-03-02 12:07:32 +01:00
Edward Hervey
65cf8cc061 ffmpeg: Bump up to current upstream HEAD of ffmpeg and swscale 2009-02-27 09:41:24 +01:00
Edward Hervey
269698f020 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.
2009-02-27 09:40:03 +01:00
Jan Schmidt
2334478f8d build: Update shave init statement for changes in common. Bump common. 2009-02-25 15:10:31 +00:00
Jan Schmidt
a960a70afb Automatic update of common submodule
From 9cf8c9b to a6ce5c6
2009-02-25 11:32:50 +00:00
Jan Schmidt
51b5bc131b Use shave for the build 2009-02-22 20:04:07 +00:00
Sebastian Dröge
87494eb949 And remove unused variable 2009-02-22 19:44:12 +01:00
Sebastian Dröge
0a697e42d1 Remove unreachable code 2009-02-22 19:43:19 +01:00
Sebastian Dröge
6fc19a2c49 Cast const GstBuffer * to GstBuffer * before unreffing 2009-02-22 19:40:51 +01:00
Jan Schmidt
f436bc68d8 Automatic update of common submodule
From 5d7c9cc to 9cf8c9b
2009-02-22 16:00:40 +00:00
Edward Hervey
d6e6d39e01 ffmpegrev: Update upstream revisions used 2009-02-22 14:30:01 +01:00
David Schleef
8fad59c86f Automatic update of common submodule
From 80c627d to 5d7c9cc
2009-02-21 11:14:01 -08:00
Edward Hervey
de4496b274 codecmap: map more codecs 2009-02-18 19:06:52 +01:00
Edward Hervey
f0d485d28b ffmpegrev: update upstream ffmpeg/libswscale revisions to use. 2009-02-18 19:06:34 +01:00
Edward Hervey
3867dc01f6 Fix 'make distcheck'. 2009-02-10 12:34:36 +01:00
Edward Hervey
13d9e1cee0 Bump upstream ffmpeg revision to use.
We should update this gradually as ffmpeg will be releasing within 2 weeks.
2009-02-10 12:33:57 +01:00
Edward Hervey
0a676df0a6 Bump revision to use for common submodule. 2009-02-09 12:03:42 +01:00
Sebastian Dröge
9f912aa69e Don't register ASS/SSA typefinder 2009-02-05 17:19:20 +01:00
Stefan Kost
208a586bfd Add releaseinfo with online url. 2009-01-30 22:30:09 +02:00
Edward Hervey
13301a4aaf Fix previous commit, wasn't actually setting up a symbolic link 2009-01-30 09:05:51 +01:00
Edward Hervey
e00732b9e6 Use a symbolic link for the pre-commit client-side hook 2009-01-30 08:57:53 +01:00
Edward Hervey
9fc91546ea 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
2009-01-29 07:48:19 +01:00
Edward Hervey
b09bdde7d2 add more files to ignore 2009-01-29 07:44:30 +01:00
Mark Nauwelaerts
39ea52832d 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.
2009-01-28 13:02:54 +01:00
Mark Nauwelaerts
1d1f55edf7 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).
2009-01-28 13:02:50 +01:00
Edward Hervey
89c3c79d5e 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.
2009-01-27 15:59:25 +01:00
Edward Hervey
965f23f4f1 Implement push-based support for demuxers
Fixes #392534
2009-01-27 11:39:18 +01:00
Edward Hervey
91ac27e6de Add support for AVSEEK_SIZE in seek handler. This should make demuxers work again (sigh) 2009-01-26 18:21:50 +01:00
Sebastian Dröge
0376e7049a Add MP1 and ADPCM IMA/ISS variant 2009-01-24 17:59:11 +01:00
Sebastian Dröge
1bc10e6bd8 Update ffmpeg SVN revision to r16753 2009-01-24 17:58:13 +01:00
Stefan Kost
5aae1b5f7b Update common snapshot. 2009-01-22 18:21:08 +02:00
Sebastian Dröge
5c3b912911 Fix pre-commit hook 2009-01-22 13:45:16 +01:00
Edward Hervey
548a0d7f4b Install and use pre-commit indentation hook from common 2009-01-22 06:16:14 +01:00
Edward Hervey
4627076310 autogen.sh : Use git submodule 2009-01-21 04:34:37 +01:00
Dejan Sakelšak
2742ccf931 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.
2009-01-05 18:08:20 +00:00
Sebastian Dröge
7d66116903 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).
2009-01-05 11:15:44 +00:00