gstreamer-omap:gst-ffmpeg.git
6 years agotests: add simple test for creating postproc elements
Tim-Philipp Müller [Mon, 18 Jul 2011 11:12:38 +0000 (12:12 +0100)]
tests: add simple test for creating postproc elements

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

6 years agoUpdate internal libav snapshot to latest releases/0.7 tip for postproc fix
Tim-Philipp Müller [Sat, 3 Sep 2011 11:30:26 +0000 (12:30 +0100)]
Update internal libav snapshot to latest releases/0.7 tip for postproc fix

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

6 years agoconfigure: back to development
Tim-Philipp Müller [Sat, 3 Sep 2011 11:27:28 +0000 (12:27 +0100)]
configure: back to development

6 years agoRelease 0.10.12
Edward Hervey [Wed, 20 Jul 2011 10:14:45 +0000 (12:14 +0200)]
Release 0.10.12

6 years agoUpdate dope file
Edward Hervey [Wed, 20 Jul 2011 10:05:34 +0000 (12:05 +0200)]
Update dope file

6 years agocodecmap: Don't create dummy extradata for AAC LATM
Raimo Järvi [Fri, 17 Jun 2011 11:05:58 +0000 (14:05 +0300)]
codecmap: Don't create dummy extradata for AAC LATM

If extradata is created for LATM, libav will use it for initialising AAC
decoder and decoding will fail.

Fixes bug #652812.

6 years agogst-libs: Update libav checkout to latest 0.7 tip
Edward Hervey [Tue, 12 Jul 2011 16:36:35 +0000 (18:36 +0200)]
gst-libs: Update libav checkout to latest 0.7 tip

Contains MT fixes

6 years agoconfigure: Remove -gnu from target_os
David Schleef [Sun, 5 Jun 2011 02:10:15 +0000 (19:10 -0700)]
configure: Remove -gnu from target_os

Fixes #651768.

6 years agoffmpegdec: Set default number of threads to 1
Edward Hervey [Mon, 11 Jul 2011 08:47:26 +0000 (10:47 +0200)]
ffmpegdec: Set default number of threads to 1

Too many suspicious errors/warnings pop up when more than 1 thread
is used.

Fixes #653649

6 years agoremove -Wcast-align
Wim Taymans [Thu, 7 Jul 2011 16:52:23 +0000 (18:52 +0200)]
remove -Wcast-align

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

6 years agoffmpegdec: Setting AC3/EAC3/DTS decoders to rank NONE for release
Edward Hervey [Thu, 30 Jun 2011 19:38:57 +0000 (21:38 +0200)]
ffmpegdec: Setting AC3/EAC3/DTS decoders to rank NONE for release

This still causes issues with bad (missing?) downmixing.

They can be handled by existing a52dec/dtsdec

See Bug #608892

6 years agoffmpegcodecmap: really include all supported sample formats in audio caps
Mark Nauwelaerts [Thu, 30 Jun 2011 07:06:21 +0000 (09:06 +0200)]
ffmpegcodecmap: really include all supported sample formats in audio caps

Fixes #653717.

6 years agoffmpegdec: avoid allocating and leaking local avpacket helpers
Mark Nauwelaerts [Wed, 29 Jun 2011 14:22:48 +0000 (16:22 +0200)]
ffmpegdec: avoid allocating and leaking local avpacket helpers

... by _init'ing them as locals rather than _new'ing them.

Fixes #653648.

6 years agoconfigure.ac: 0.10.11.2 pre-release
Edward Hervey [Sat, 25 Jun 2011 11:05:41 +0000 (13:05 +0200)]
configure.ac: 0.10.11.2 pre-release

6 years agoext: Bumping libav checkout to current tip of v0.7 branch
Edward Hervey [Thu, 16 Jun 2011 18:02:40 +0000 (20:02 +0200)]
ext: Bumping libav checkout to current tip of v0.7 branch

6 years agoAutomatic update of common submodule
David Schleef [Thu, 23 Jun 2011 18:29:42 +0000 (11:29 -0700)]
Automatic update of common submodule

From 69b981f to 605cd9a

6 years agoEnable threading in ffmpeg decoders that support it.
Jan Schmidt [Tue, 21 Jun 2011 04:33:29 +0000 (14:33 +1000)]
Enable threading in ffmpeg decoders that support it.

Add a max-threads property, which defaults to '0 = auto'
Add a utility function taken from libschroedinger which sets
the ffmpeg worker thread count to match the computer processor
count by default.

6 years agoffdec: Fix calculating frame duration from last timestamp and frame count.
Raimo Järvi [Thu, 2 Jun 2011 15:02:38 +0000 (18:02 +0300)]
ffdec: Fix calculating frame duration from last timestamp and frame count.

Fixes bug #651714.

6 years agoffdec: Check for AV_NOPTS_VALUE in PTS value.
Raimo Järvi [Tue, 31 May 2011 10:16:26 +0000 (13:16 +0300)]
ffdec: Check for AV_NOPTS_VALUE in PTS value.

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

6 years agoffdec: Add mpegversion 2 to AAC decoder caps
Raimo Järvi [Mon, 30 May 2011 10:14:09 +0000 (13:14 +0300)]
ffdec: Add mpegversion 2 to AAC decoder caps

Fixes bug #651447.

6 years agoffmpegdec: Don't discard timestamps if output AND input are in order
Edward Hervey [Sun, 29 May 2011 15:39:38 +0000 (17:39 +0200)]
ffmpegdec: Don't discard timestamps if output AND input are in order

Avoids bogus timestamps for AVCHD-lite streams

6 years agoext: Update to libav git master as of Sunday 29th May 2011
Edward Hervey [Sun, 29 May 2011 15:43:46 +0000 (17:43 +0200)]
ext: Update to libav git master as of Sunday 29th May 2011

6 years agoffenc_aac: Add profile and level to the caps
Sebastian Dröge [Fri, 27 May 2011 08:54:12 +0000 (10:54 +0200)]
ffenc_aac: Add profile and level to the caps

Fixes bug #650596.

6 years agoffdec: Always use parser for AAC LATM/LOAS
Sebastian Dröge [Thu, 26 May 2011 13:09:18 +0000 (15:09 +0200)]
ffdec: Always use parser for AAC LATM/LOAS

6 years agoffmpeg: Add codec mapping for AAC LATM/LOAS
Rafael Diniz [Wed, 25 May 2011 08:08:06 +0000 (10:08 +0200)]
ffmpeg: Add codec mapping for AAC LATM/LOAS

Also add the stream-format fields to the CODEC_ID_AAC caps.

Fixes bug #650695.

6 years agoAutomatic update of common submodule
Stefan Kost [Thu, 19 May 2011 19:59:07 +0000 (22:59 +0300)]
Automatic update of common submodule

From 9e5bbd5 to 69b981f

6 years agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 13:12:49 +0000 (16:12 +0300)]
Automatic update of common submodule

From fd35073 to 9e5bbd5

6 years agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 09:26:15 +0000 (12:26 +0300)]
Automatic update of common submodule

From 46dfcea to fd35073

6 years agoffdec: Do not use invalid input timestamp as next timestamp.
Thadeu Lima de Souza Cascardo [Mon, 28 Feb 2011 21:16:24 +0000 (21:16 +0000)]
ffdec: Do not use invalid input timestamp as next timestamp.

When input buffer timestamps are invalid, next timestamp are used for
audio. Then, the next out timestamp is updated with the used timestamp
and the calculated duration. However, if the used timestamp is invalid,
it should not be used. Otherwise, the next buffer will use a wrong
timestamp that is not in the clipped segment, making the buffer to be
dropped.

This fixes playback with SBTVD MPEG TS streams, using AAC LATM.

6 years agoffdec: do not try to resync to the next keyframe when late
Vincent Penquerc'h [Wed, 4 May 2011 14:33:03 +0000 (17:33 +0300)]
ffdec: do not try to resync to the next keyframe when late

A keyframe may be quite a while in the future, and the decoder
has no way of knowing this. A poor decision could mean quite some
time with no video output.
This decision should be left to the upstream element: a demuxer
might know about incoming keyframes, or some other element might
be able to request a keyframe.

Fixes bug #649372.

6 years agoconfigure: Fix ac_cs_config handling
Punya Prakash [Thu, 5 May 2011 16:12:20 +0000 (11:12 -0500)]
configure: Fix ac_cs_config handling

Previously autoconf appended too many additional quotes
to parameters like --with-ffmpeg-extra-configure=" --target-os=linux
--extra-cflags='-mfpu=neon -mfloat-abi=softfp'".

Fixes bug #648816.

6 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sun, 24 Apr 2011 13:05:34 +0000 (14:05 +0100)]
Automatic update of common submodule

From c3cafe1 to 46dfcea

6 years agoautogen.sh: Also check for libav submodule
David Schleef [Fri, 22 Apr 2011 19:53:22 +0000 (12:53 -0700)]
autogen.sh: Also check for libav submodule

6 years agopostproc: pp_*_t => pp_*
Edward Hervey [Thu, 21 Apr 2011 10:57:24 +0000 (12:57 +0200)]
postproc: pp_*_t => pp_*

6 years agoaudioresample: Use new av_audio_resample API
Edward Hervey [Thu, 21 Apr 2011 10:54:49 +0000 (12:54 +0200)]
audioresample: Use new av_audio_resample API

We might want to expose the various properties in the future

6 years agoffmpegdec: Set caps on outgoing audio buffers
Edward Hervey [Thu, 21 Apr 2011 10:53:23 +0000 (12:53 +0200)]
ffmpegdec: Set caps on outgoing audio buffers

6 years agoffmpegdec: Use new AVPacket-based API
Edward Hervey [Thu, 21 Apr 2011 10:52:04 +0000 (12:52 +0200)]
ffmpegdec: Use new AVPacket-based API

Right now it doesn't use any of the extra fields AVPacket provides.
It might be wise to investigate the pts/dts ones to see if we can finally
get rid of the timing-related cruft we have.

6 years agogstffmpegdec: Use non-deprecated av_parser_parse2
Edward Hervey [Thu, 21 Apr 2011 10:51:25 +0000 (12:51 +0200)]
gstffmpegdec: Use non-deprecated av_parser_parse2

6 years agoffmpegdec: Use skip_frame instead of deprecated hurry_up
Edward Hervey [Wed, 20 Apr 2011 17:01:30 +0000 (19:01 +0200)]
ffmpegdec: Use skip_frame instead of deprecated hurry_up

6 years agoffmpegcfg: mb_qmin/mb_qmax are deprecated/removed
Edward Hervey [Wed, 20 Apr 2011 17:00:49 +0000 (19:00 +0200)]
ffmpegcfg: mb_qmin/mb_qmax are deprecated/removed

We just use qmin/qmax instead

6 years agoffmpegdemux: Define our own MAX_STREAMS
Edward Hervey [Wed, 20 Apr 2011 15:38:32 +0000 (17:38 +0200)]
ffmpegdemux: Define our own MAX_STREAMS

6 years agoffmpeg: Disable code using old metadata API
Edward Hervey [Wed, 20 Apr 2011 15:37:34 +0000 (17:37 +0200)]
ffmpeg: Disable code using old metadata API

It is now gone and we need to switch to the new API

See #566605

6 years agoffmpegdemux: The index_built AVFormatContext hasn't been used in over 2 years
Edward Hervey [Wed, 20 Apr 2011 15:36:53 +0000 (17:36 +0200)]
ffmpegdemux: The index_built AVFormatContext hasn't been used in over 2 years

6 years agocodecmap: _XVID is gone
Edward Hervey [Tue, 19 Apr 2011 17:31:01 +0000 (19:31 +0200)]
codecmap: _XVID is gone

It was always a bogus one, since it used the external libxvid for encoding.

6 years agoffmpeg: PKT_FLAG_KEY => AV_PKT_FLAG_KEY
Edward Hervey [Tue, 19 Apr 2011 17:30:44 +0000 (19:30 +0200)]
ffmpeg: PKT_FLAG_KEY => AV_PKT_FLAG_KEY

6 years agoffmpeg: AVERROR_* => AVERROR(*)
Edward Hervey [Tue, 19 Apr 2011 17:30:23 +0000 (19:30 +0200)]
ffmpeg: AVERROR_* => AVERROR(*)

6 years agoffmpeg: CodecType => AVMediaType
Edward Hervey [Tue, 19 Apr 2011 17:29:57 +0000 (19:29 +0200)]
ffmpeg: CodecType => AVMediaType

6 years agogstffmpeg: register_protocol => av_register_protocol2
Edward Hervey [Tue, 19 Apr 2011 17:28:30 +0000 (19:28 +0200)]
gstffmpeg: register_protocol => av_register_protocol2

6 years agoconfigure.ac: FFmpeg => Libav
Edward Hervey [Tue, 19 Apr 2011 17:27:40 +0000 (19:27 +0200)]
configure.ac: FFmpeg => Libav

6 years agoRemove usage of SVN now that we use git submodules for libav
Edward Hervey [Tue, 19 Apr 2011 17:25:54 +0000 (19:25 +0200)]
Remove usage of SVN now that we use git submodules for libav

6 years agoext: Add libav as a git submodule
Edward Hervey [Tue, 19 Apr 2011 15:30:40 +0000 (17:30 +0200)]
ext: Add libav as a git submodule

6 years agoFix unused-but-set-variable warnings with gcc 4.6
Marc Plano-Lesay [Tue, 19 Apr 2011 14:26:55 +0000 (16:26 +0200)]
Fix unused-but-set-variable warnings with gcc 4.6

6 years agogstffmpeg(de)mux: Disable known broken (de)muxers
Edward Hervey [Fri, 8 Apr 2011 23:17:24 +0000 (01:17 +0200)]
gstffmpeg(de)mux: Disable known broken (de)muxers

Idea provided by David Schleef
Support provided by Michael Smith and Tim Mueller
Food and Drinks provided by Toronado

6 years agoffmpeg: don't divide by 0 when checking the framerates
Stefan Kost [Tue, 8 Feb 2011 10:17:53 +0000 (12:17 +0200)]
ffmpeg: don't divide by 0 when checking the framerates

Check for denom==0 first and set it to on in that case.

6 years agodec: avoid making the buffer writable
Wim Taymans [Thu, 7 Apr 2011 10:34:51 +0000 (12:34 +0200)]
dec: avoid making the buffer writable

Set the caps right after allocation of the buffer because we know the buffer is
writable then and we are correctly negotiated. Since ffmpeg keeps around
references to frames, making the buffer metadata writable where it was done
before pushing will always end up with a copy and that makes the sink do a slow
memcpy all the time.

6 years agoffmpegdec: do buffer padding before parsing and before decoding
Miguel Angel Cabrera Moya [Mon, 4 Apr 2011 14:37:42 +0000 (16:37 +0200)]
ffmpegdec: do buffer padding before parsing and before decoding

FFMpeg parsing and decoding calls require to additionally allocate bytes
at the end of the input bitstream and this padding must be initialized
to zero.

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

6 years agoAutomatic update of common submodule
Stefan Kost [Mon, 4 Apr 2011 12:58:24 +0000 (15:58 +0300)]
Automatic update of common submodule

From 1ccbe09 to c3cafe1

6 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 25 Mar 2011 21:35:11 +0000 (22:35 +0100)]
Automatic update of common submodule

From 193b717 to 1ccbe09

6 years agoAutomatic update of common submodule
Stefan Kost [Fri, 25 Mar 2011 12:57:12 +0000 (14:57 +0200)]
Automatic update of common submodule

From b77e2bf to 193b717

6 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 25 Mar 2011 08:33:36 +0000 (09:33 +0100)]
Automatic update of common submodule

From d8814b6 to b77e2bf

6 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 25 Mar 2011 08:09:54 +0000 (09:09 +0100)]
Automatic update of common submodule

From 6aaa286 to d8814b6

6 years agoAutomatic update of common submodule
Stefan Kost [Thu, 24 Mar 2011 16:50:36 +0000 (18:50 +0200)]
Automatic update of common submodule

From 6aec6b9 to 6aaa286

6 years agoautogen: wingo signed comment
Luis de Bethencourt [Fri, 18 Mar 2011 18:34:57 +0000 (19:34 +0100)]
autogen: wingo signed comment

6 years agoconfigure.ac: no need to mess with AS
Mark Nauwelaerts [Sun, 23 Jan 2011 13:43:26 +0000 (14:43 +0100)]
configure.ac: no need to mess with AS

6 years agoconfigure.ac: cygwin/mingw32; enable linking static non-import libs
Mark Nauwelaerts [Thu, 27 Jan 2011 21:22:02 +0000 (22:22 +0100)]
configure.ac: cygwin/mingw32; enable linking static non-import libs

... such as to internal ffmpeg static libs.

Fixes #642507.

6 years agoconfigure.ac: export plugin description more platform independent
Mark Nauwelaerts [Thu, 27 Jan 2011 21:22:22 +0000 (22:22 +0100)]
configure.ac: export plugin description more platform independent

Fixes #642504.

6 years agoAutomatic update of common submodule
Mark Nauwelaerts [Mon, 28 Feb 2011 17:33:49 +0000 (18:33 +0100)]
Automatic update of common submodule

From 1de7f6a to 6aec6b9

6 years agoffvideoscale: add support for UYVY
Julien Isorce [Thu, 10 Feb 2011 11:00:11 +0000 (12:00 +0100)]
ffvideoscale: add support for UYVY

Fixes #642015

6 years agoAutomatic update of common submodule
Stefan Kost [Mon, 14 Feb 2011 10:54:26 +0000 (12:54 +0200)]
Automatic update of common submodule

From f94d739 to 1de7f6a

6 years agoffmpegdec: improve error message when set_caps is called but we have no mapping
Tim-Philipp Müller [Mon, 31 Jan 2011 23:28:33 +0000 (23:28 +0000)]
ffmpegdec: improve error message when set_caps is called but we have no mapping

This may happen e.g. if gst-ffmpeg is compiled against an external
libavcodec and the external lib is upgraded.

See e.g.
https://bugzilla.gnome.org/show_bug.cgi?id=640825

6 years agocodecmap: Add mapping for g722
Edward Hervey [Tue, 25 Jan 2011 15:34:04 +0000 (16:34 +0100)]
codecmap: Add mapping for g722

6 years agogst-libs: Remove .config file from ffmpeg build when cleaning up
Edward Hervey [Tue, 25 Jan 2011 10:30:02 +0000 (11:30 +0100)]
gst-libs: Remove .config file from ffmpeg build when cleaning up

6 years agocodecmap: Add proper caps name for Camstudio
Edward Hervey [Mon, 24 Jan 2011 17:29:24 +0000 (18:29 +0100)]
codecmap: Add proper caps name for Camstudio

6 years agogstffmpegdemux: Ignore more pseudo demuxers
Edward Hervey [Mon, 24 Jan 2011 17:29:00 +0000 (18:29 +0100)]
gstffmpegdemux: Ignore more pseudo demuxers

6 years agogstffmpegmux: Blacklist some muxer formats
Edward Hervey [Mon, 24 Jan 2011 16:43:44 +0000 (17:43 +0100)]
gstffmpegmux: Blacklist some muxer formats

6 years agogstffmpegcodecmap: Add some new codec mappings
Edward Hervey [Mon, 24 Jan 2011 16:20:56 +0000 (17:20 +0100)]
gstffmpegcodecmap: Add some new codec mappings

VP8
LAGARITH
GSM
GSM_MS

6 years agoffmpegprotocol: Slight API change
Edward Hervey [Sun, 7 Nov 2010 16:08:50 +0000 (17:08 +0100)]
ffmpegprotocol: Slight API change

6 years agoconfigure.ac: Don't forget to include new libavcore library
Edward Hervey [Sun, 7 Nov 2010 16:08:19 +0000 (17:08 +0100)]
configure.ac: Don't forget to include new libavcore library

6 years agoffmpegrev: Switch to revision 26402 of ffmpeg
Edward Hervey [Sun, 7 Nov 2010 16:08:04 +0000 (17:08 +0100)]
ffmpegrev: Switch to revision 26402 of ffmpeg

This is the last svn revision. They have switched to using git...
but since there's still some controversy, we'll stick to this version
for the time being and maybe switch to using a git submodule in a month
with the same equivalent revision (or newer/older if needed)

6 years agoconfigure: require core 0.10.31
Tim-Philipp Müller [Fri, 14 Jan 2011 09:35:17 +0000 (09:35 +0000)]
configure: require core 0.10.31

For gst_util_fraction_compare()

6 years agoAutomatic update of common submodule
Stefan Kost [Tue, 11 Jan 2011 13:51:38 +0000 (15:51 +0200)]
Automatic update of common submodule

From e572c87 to f94d739

6 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 10 Jan 2011 16:37:49 +0000 (16:37 +0000)]
Automatic update of common submodule

From ccbaa85 to e572c87

6 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 10 Jan 2011 14:55:03 +0000 (14:55 +0000)]
Automatic update of common submodule

From 46445ad to ccbaa85

6 years agoffmpegdec: Set the mp3 decoder to a rank of NONE
Edward Hervey [Fri, 7 Jan 2011 17:08:15 +0000 (18:08 +0100)]
ffmpegdec: Set the mp3 decoder to a rank of NONE

It's just causing too many headaches. This will force people to use
a working mp3 decoder, like mad.

6 years agoffmpegdec: Fix unitialized variables on macosx
Edward Hervey [Wed, 5 Jan 2011 15:59:55 +0000 (16:59 +0100)]
ffmpegdec: Fix unitialized variables on macosx

6 years agoffmpegenc: Disable non-audio/video encoders
Edward Hervey [Mon, 3 Jan 2011 10:45:04 +0000 (11:45 +0100)]
ffmpegenc: Disable non-audio/video encoders

Fixes #629648

6 years agoffmpgdec: work around parser timestamp bug
Wim Taymans [Tue, 21 Dec 2010 11:11:32 +0000 (12:11 +0100)]
ffmpgdec: work around parser timestamp bug

Sometimes the parser loses track of timestamps and starts to reuse old
timestamp. Feed it some dummy data and clear some context variables to work
around the problem.

6 years agoAutomatic update of common submodule
Edward Hervey [Mon, 20 Dec 2010 16:47:51 +0000 (17:47 +0100)]
Automatic update of common submodule

From 169462a to 46445ad

6 years agoffvideoscale: Change classification to Filter/Converter/Video/Scaler
Sebastian Dröge [Thu, 16 Dec 2010 09:12:02 +0000 (10:12 +0100)]
ffvideoscale: Change classification to Filter/Converter/Video/Scaler

6 years agoffdeinterlace: Change classification to Filter/Effect/Video/Deinterlace
Sebastian Dröge [Thu, 16 Dec 2010 09:05:03 +0000 (10:05 +0100)]
ffdeinterlace: Change classification to Filter/Effect/Video/Deinterlace

6 years agoAutomatic update of common submodule
Stefan Kost [Wed, 15 Dec 2010 12:56:50 +0000 (14:56 +0200)]
Automatic update of common submodule

From 20742ae to 169462a

6 years agoAutomatic update of common submodule
Stefan Kost [Mon, 13 Dec 2010 14:24:24 +0000 (16:24 +0200)]
Automatic update of common submodule

From 011bcc8 to 20742ae

6 years agodec: scale the estimated duration by number of frames
Wim Taymans [Sun, 12 Dec 2010 11:38:55 +0000 (12:38 +0100)]
dec: scale the estimated duration by number of frames

When estimating the frame duration, the diff between two incomming timestamps
should be scaled by the amount of frames in the interval. Improves duration
estimation and DTS interpolation.

6 years agodec: use input timestamp diff for duration estimation
Wim Taymans [Sun, 12 Dec 2010 09:54:09 +0000 (10:54 +0100)]
dec: use input timestamp diff for duration estimation

Use the diff between input timestamps to estimate the duration when no duration
is set on input buffers. Only do this when there are no reordered input
timestamps. Improves interpolation in DTS mode when no input duration is set.

7 years agoAutomatic update of common submodule
Jan Schmidt [Wed, 27 Oct 2010 12:17:43 +0000 (13:17 +0100)]
Automatic update of common submodule

From 7bbd708 to 011bcc8

7 years agoffmpegenc: ensure proper clean state prior to (re-)negotiation
Mark Nauwelaerts [Mon, 25 Oct 2010 10:14:42 +0000 (12:14 +0200)]
ffmpegenc: ensure proper clean state prior to (re-)negotiation

Fixes #632691.

7 years agoffdec: don't destroy the parser state
Wim Taymans [Fri, 22 Oct 2010 11:03:12 +0000 (13:03 +0200)]
ffdec: don't destroy the parser state

When we flush the parser cache, we only need to clear the bytes of the cache,
not the complete state of the cache. In the case of H264 this doesn't require
the parser to receive a new SPS/PPS after a DISCONT buffer.

7 years agoffdec: be more careful with DTS timestamp interpolation
Wim Taymans [Fri, 22 Oct 2010 10:59:02 +0000 (12:59 +0200)]
ffdec: be more careful with DTS timestamp interpolation

Don't use -1 and 0 duration buffers to calculate next output timestamp as they
are very likely wrong.

Fixes #632877

7 years agovarious: add missing G_PARAM_STATIC_STRINGS flags
Stefan Kost [Tue, 19 Oct 2010 14:26:08 +0000 (17:26 +0300)]
various: add missing G_PARAM_STATIC_STRINGS flags

7 years agoffmpeg: Add mapping for YUVA420P <-> A420
Sebastian Dröge [Wed, 13 Oct 2010 18:48:19 +0000 (20:48 +0200)]
ffmpeg: Add mapping for YUVA420P <-> A420

This is used by VP6a, which is used by Flash.

See bug #613901.