platform/upstream/gstreamer.git
12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Mon, 31 Oct 2011 14:53:01 +0000 (14:53 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

12 years agoAllow building a LGPL only gst-ffmpeg plugin
Martin Storsjo [Tue, 5 Jul 2011 18:35:46 +0000 (21:35 +0300)]
Allow building a LGPL only gst-ffmpeg plugin

This removes --enable-gpl and --enable-postproc from the
ffmpeg configure line, and disables building the postproc
gstreamer plugin.

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

12 years agotests: port to 0.11
Tim-Philipp Müller [Sun, 30 Oct 2011 12:23:51 +0000 (12:23 +0000)]
tests: port to 0.11

Some still fail though, for various reasons. ffmpeg warning:
"get_buffer() cannot be called after ff_thread_finish_setup()".

12 years agoffmpegdemux: update for taglist API changes
Tim-Philipp Müller [Sun, 30 Oct 2011 12:03:36 +0000 (12:03 +0000)]
ffmpegdemux: update for taglist API changes

12 years agofix compilation with new caps api
Wim Taymans [Fri, 28 Oct 2011 14:35:54 +0000 (16:35 +0200)]
fix compilation with new caps api

12 years agoffenc: fix compilation
Wim Taymans [Thu, 27 Oct 2011 14:47:18 +0000 (16:47 +0200)]
ffenc: fix compilation

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 27 Oct 2011 14:31:30 +0000 (16:31 +0200)]
Merge branch 'master' into 0.11

Conflicts:
ext/ffmpeg/gstffmpegcodecmap.c

12 years agoffmpegenc: Pass the size of the output buffer to avcodec_encode_audio
Sjoerd Simons [Mon, 10 Oct 2011 22:56:04 +0000 (23:56 +0100)]
ffmpegenc: Pass the size of the output buffer to avcodec_encode_audio

avcodec_encode_audio is documented as taking the size of the output
buffer not the size of the input buffer.  This fixes the use of the G722
encoder and makes the code more consistent with avconv from the libav
source tree.

12 years agoffmpegcodecmap: Further specify allowed rates for G722 and G726
Sjoerd Simons [Mon, 10 Oct 2011 21:04:48 +0000 (22:04 +0100)]
ffmpegcodecmap: Further specify allowed rates for G722 and G726

12 years agoffmpegcodecmap: Always restrict audio codec in the unfixed cases
Sjoerd Simons [Mon, 10 Oct 2011 13:50:09 +0000 (14:50 +0100)]
ffmpegcodecmap: Always restrict audio codec in the unfixed cases

If the context isn't fixed yet or if it doesn't exist then always
restrict the caps.

Also restrict the maximum channels for G726 and G722 to 1 channel

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Edward Hervey [Mon, 17 Oct 2011 14:29:10 +0000 (16:29 +0200)]
Merge remote-tracking branch 'origin/master' into 0.11

12 years agogstffmpegdec: Re-enable MT-decoding by default
Edward Hervey [Mon, 17 Oct 2011 14:27:36 +0000 (16:27 +0200)]
gstffmpegdec: Re-enable MT-decoding by default

12 years agogstffmpegutils: Fix include
Edward Hervey [Mon, 17 Oct 2011 14:26:52 +0000 (16:26 +0200)]
gstffmpegutils: Fix include

12 years agoconfigure.ac: Fix for new libav
Edward Hervey [Mon, 17 Oct 2011 14:26:20 +0000 (16:26 +0200)]
configure.ac: Fix for new libav

12 years agolibav: Switch to current git master
Edward Hervey [Mon, 17 Oct 2011 14:02:51 +0000 (16:02 +0200)]
libav: Switch to current git master

12 years agogstffmpegcodecmap: Avoid string operations on NULL
Edward Hervey [Tue, 11 Oct 2011 12:02:53 +0000 (14:02 +0200)]
gstffmpegcodecmap: Avoid string operations on NULL

12 years agodec: remove interlaced update code
Wim Taymans [Mon, 3 Oct 2011 09:34:34 +0000 (11:34 +0200)]
dec: remove interlaced update code

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 3 Oct 2011 09:32:24 +0000 (11:32 +0200)]
Merge branch 'master' into 0.11

12 years agoffdec: ensure buffers have correct interlacedness in caps
Vincent Penquerc'h [Mon, 29 Aug 2011 14:18:39 +0000 (15:18 +0100)]
ffdec: ensure buffers have correct interlacedness in caps

Whether a frame is interlaced or not is unknown at the time of
buffer allocation, so caps on the buffer in opaque will have
a previous frame's interlaced flag set. So if interlacedness
changes, we update the buffer (if any) caps with the correct
interlaced flag once we know.

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

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 28 Sep 2011 11:29:08 +0000 (13:29 +0200)]
Merge branch 'master' into 0.11

Conflicts:
configure.ac
ext/ffmpeg/gstffmpegcodecmap.c
ext/ffmpeg/gstffmpegdeinterlace.c

12 years agoffmpegdec: post QoS messages when dropping a frame
Vincent Penquerc'h [Thu, 1 Sep 2011 15:46:47 +0000 (16:46 +0100)]
ffmpegdec: post QoS messages when dropping a frame

There seems to be a little bit of non obvious logic where
the QoS logic can decide to not drop decoding a frame and
pass it to ffmpeg, telling it to drop.
In this case, the QoS logic does not drop the frame itself,
but since the frame will end up being dropped, we still
mark it as dropped and post a QoS message.

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

12 years agoffmpegdec: disable parser for already-parsed FLAC input
Tim-Philipp Müller [Mon, 26 Sep 2011 18:55:54 +0000 (19:55 +0100)]
ffmpegdec: disable parser for already-parsed FLAC input

Not needed to make anything work, just seems to make sense.

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

12 years agoffmpegcodecmap: don't create dummy codec data for FLAC decoder
Tim-Philipp Müller [Mon, 26 Sep 2011 18:54:52 +0000 (19:54 +0100)]
ffmpegcodecmap: don't create dummy codec data for FLAC decoder

Since then it just errors out because it's too small, as it
wants the flac headers as codec data if there is codec data.

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

12 years agoffdeinterlace: add "mode" property including automatic mode
Tvrtko Ursulin [Fri, 12 Aug 2011 08:06:03 +0000 (09:06 +0100)]
ffdeinterlace: add "mode" property including automatic mode

Just like deinterlace.

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

12 years agodocs: cleanup makefiles
Stefan Sauer [Wed, 7 Sep 2011 14:10:02 +0000 (16:10 +0200)]
docs: cleanup makefiles

Remove commented out parts that we don't need. Remove "the wingo addition" - no
so useful after all. Narrow down file-globs for plugin docs.

12 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 6 Sep 2011 19:52:50 +0000 (21:52 +0200)]
Automatic update of common submodule

From a39eb83 to 11f0cd5

12 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 6 Sep 2011 14:06:23 +0000 (16:06 +0200)]
Automatic update of common submodule

From 605cd9a to a39eb83

12 years agoffmpeg: fix for audio caps change
Wim Taymans [Tue, 6 Sep 2011 13:29:26 +0000 (15:29 +0200)]
ffmpeg: fix for audio caps change

12 years agoffdec: Blacklist non-working subtitle decoders
Nicolas Dufresne [Fri, 2 Sep 2011 20:25:16 +0000 (16:25 -0400)]
ffdec: Blacklist non-working subtitle decoders

This include decoder for ASS, SRT, PGS, DVD and DVB. Those are generated
with bad capabilities and are not usable in GStreamer. Other elements exist
to handle those subtitle formats.

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

12 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

12 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

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

12 years agoffdec: port to new flags
Wim Taymans [Thu, 25 Aug 2011 14:41:36 +0000 (16:41 +0200)]
ffdec: port to new flags

12 years agoffmpeg: convert to new caps
Wim Taymans [Mon, 22 Aug 2011 11:33:31 +0000 (13:33 +0200)]
ffmpeg: convert to new caps

12 years agoffmpeg: port to new audio caps
Wim Taymans [Fri, 19 Aug 2011 16:33:11 +0000 (18:33 +0200)]
ffmpeg: port to new audio caps

12 years agoffmpegdec: react to the reconfigure event
Wim Taymans [Fri, 5 Aug 2011 10:04:13 +0000 (12:04 +0200)]
ffmpegdec: react to the reconfigure event

Also renegotiate the caps and bufferpool when we have a rereconfigure event
pending.

12 years agoffdec: ensure bufferpool size
Wim Taymans [Thu, 4 Aug 2011 09:10:26 +0000 (11:10 +0200)]
ffdec: ensure bufferpool size

Make sure the bufferpool size is at least what we expect.
Add some more debug.

12 years agoffdec: enable direct rendering for all formats
Wim Taymans [Mon, 1 Aug 2011 16:10:53 +0000 (18:10 +0200)]
ffdec: enable direct rendering for all formats

Since we now support padding, we can enable direct rendering for all formats.

12 years agoffdec: add alignment support
Wim Taymans [Mon, 1 Aug 2011 15:57:38 +0000 (17:57 +0200)]
ffdec: add alignment support

Always diable EMU_EDGE. Use the bufferpool options to enable extra padding on
allocated frames. If the downstream bufferpool does not support the padding,
disable direct rendering and do the final copy/cropping into the non-padded
output frame.

12 years agoffdec: refactor picture fill code
Wim Taymans [Fri, 29 Jul 2011 11:40:30 +0000 (13:40 +0200)]
ffdec: refactor picture fill code

Make a method to hold the code to convert a GstVideoFrame to an AVFrame so that
we can reuse it in the non-direct rendering case.

12 years agoffdec: cleanups
Wim Taymans [Fri, 29 Jul 2011 11:08:53 +0000 (13:08 +0200)]
ffdec: cleanups

Make things a little more readable.

12 years agoffdec: use video frame helpers
Wim Taymans [Fri, 29 Jul 2011 10:36:12 +0000 (12:36 +0200)]
ffdec: use video frame helpers

Use the video frame helper functions to map and set up the strides in the
picture for ffmpeg.

12 years agoffmpegdec: fix for query API change
Wim Taymans [Fri, 29 Jul 2011 10:34:04 +0000 (12:34 +0200)]
ffmpegdec: fix for query API change

12 years agoffmpeg: fix for query API changes
Wim Taymans [Fri, 29 Jul 2011 10:32:45 +0000 (12:32 +0200)]
ffmpeg: fix for query API changes

12 years agoffdec: remove unused variable
Wim Taymans [Fri, 29 Jul 2011 08:57:20 +0000 (10:57 +0200)]
ffdec: remove unused variable

12 years agoffmpeg: First set of cleanups
Wim Taymans [Fri, 29 Jul 2011 08:31:03 +0000 (10:31 +0200)]
ffmpeg: First set of cleanups

Store incomming info from the caps, current context and output formats into
separate variables so that we can more easily handle them.
Refactor the negotiation code.
Rework the bufferpool setup code. Take into account that we might want to
negotiate extra borders around the image in direct rendering.
Remove some of the cropping code for now.

12 years agoffmpeg: add GstVideoFormat helper function
Wim Taymans [Fri, 29 Jul 2011 08:25:03 +0000 (10:25 +0200)]
ffmpeg: add GstVideoFormat helper function

Add a function to convert an ffmpeg pixfmt to a GStreamer GstVideoFormat.

12 years agoffdec: cleanups
Wim Taymans [Thu, 28 Jul 2011 09:38:27 +0000 (11:38 +0200)]
ffdec: cleanups

Remove useless switch
Remove old EXTRA_REF define
Move errors out of the main code path

12 years agoffdec: small cleanups
Wim Taymans [Thu, 28 Jul 2011 08:50:01 +0000 (10:50 +0200)]
ffdec: small cleanups

USe gst_pad_peer_query() to forward the query to the peer.

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 22 Jul 2011 15:54:32 +0000 (17:54 +0200)]
Merge branch 'master' into 0.11

Conflicts:
configure.ac
ext/ffmpeg/gstffmpegcodecmap.c

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

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

12 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.

12 years agoMerge branch 'master' into 0.11
Edward Hervey [Fri, 15 Jul 2011 10:34:19 +0000 (12:34 +0200)]
Merge branch 'master' into 0.11

12 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

12 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.

12 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

12 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

12 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

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 7 Jul 2011 11:50:18 +0000 (13:50 +0200)]
Merge branch 'master' into 0.11

Conflicts:
configure.ac
ext/ffmpeg/gstffmpegdec.c

12 years agoffmpegscale: add cast to fix compiler warning
Tim-Philipp Müller [Tue, 5 Jul 2011 09:42:56 +0000 (10:42 +0100)]
ffmpegscale: add cast to fix compiler warning

12 years agoffmpegscale: update for GstVideoInfo API changes
Tim-Philipp Müller [Tue, 5 Jul 2011 09:39:52 +0000 (10:39 +0100)]
ffmpegscale: update for GstVideoInfo API changes

12 years agoAdd -DGST_USE_UNSTABLE_API to the compiler flags to avoid warnings
Tim-Philipp Müller [Tue, 5 Jul 2011 09:34:24 +0000 (10:34 +0100)]
Add -DGST_USE_UNSTABLE_API to the compiler flags to avoid warnings

12 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

12 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.

12 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.

12 years agoffmpegenc: handle filter caps in _getcaps
Mark Nauwelaerts [Thu, 30 Jun 2011 07:21:31 +0000 (09:21 +0200)]
ffmpegenc: handle filter caps in _getcaps

12 years agoffmpegenc: properly handle caps event
Mark Nauwelaerts [Thu, 30 Jun 2011 07:20:11 +0000 (09:20 +0200)]
ffmpegenc: properly handle caps event

... which comes down to unconditionally eating incoming caps event,
since that one could never correctly describe the setup for downstream
elements.

12 years agoffmpegenc: ensure properly negotiated prior to processing
Mark Nauwelaerts [Thu, 30 Jun 2011 07:18:42 +0000 (09:18 +0200)]
ffmpegenc: ensure properly negotiated prior to processing

Doing so is even more pertinent in 0.11, since core assists much less
in setting up negotiation and feedback on handling caps event is more likely
to get lost.

12 years agoffmpegdec: unref eaten caps event
Mark Nauwelaerts [Wed, 29 Jun 2011 09:44:27 +0000 (11:44 +0200)]
ffmpegdec: unref eaten caps event

12 years agoffmpegdec: unref allocation query
Mark Nauwelaerts [Wed, 29 Jun 2011 09:44:11 +0000 (11:44 +0200)]
ffmpegdec: unref allocation query

12 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

12 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

12 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

12 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.

12 years agoffmpeg: port to new caps
Wim Taymans [Mon, 20 Jun 2011 09:57:29 +0000 (11:57 +0200)]
ffmpeg: port to new caps

12 years agoswscale: port to new video API
Wim Taymans [Mon, 20 Jun 2011 09:29:10 +0000 (11:29 +0200)]
swscale: port to new video API

12 years agoffmpeg: fix some caps
Wim Taymans [Mon, 20 Jun 2011 08:42:30 +0000 (10:42 +0200)]
ffmpeg: fix some caps

13 years agoutils: update for buffer API change
Wim Taymans [Mon, 13 Jun 2011 14:34:18 +0000 (16:34 +0200)]
utils: update for buffer API change

13 years agoffdec: update for bufferpool API change
Wim Taymans [Sat, 11 Jun 2011 16:55:05 +0000 (18:55 +0200)]
ffdec: update for bufferpool API change

13 years agoffdec: small cleanups
Wim Taymans [Fri, 10 Jun 2011 16:07:28 +0000 (18:07 +0200)]
ffdec: small cleanups

We can use or to calculate the max alignment

13 years agodec: fix for new alignment values
Wim Taymans [Fri, 10 Jun 2011 15:56:27 +0000 (17:56 +0200)]
dec: fix for new alignment values

13 years agoffdemux: fix for API change of flush_start
Wim Taymans [Fri, 10 Jun 2011 15:56:01 +0000 (17:56 +0200)]
ffdemux: fix for API change of flush_start

13 years agoMerge branch 'master' into 0.11
Edward Hervey [Wed, 8 Jun 2011 16:04:38 +0000 (18:04 +0200)]
Merge branch 'master' into 0.11

13 years agoext: caps are now set via GstEvent and not setcaps
Edward Hervey [Wed, 8 Jun 2011 16:04:07 +0000 (18:04 +0200)]
ext: caps are now set via GstEvent and not setcaps

13 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.

13 years agoffdec: use caps event instead of setcaps
Wim Taymans [Thu, 2 Jun 2011 16:39:07 +0000 (18:39 +0200)]
ffdec: use caps event instead of setcaps

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 2 Jun 2011 15:03:21 +0000 (17:03 +0200)]
Merge branch 'master' into 0.11

13 years agoffmpeg: port to new API
Wim Taymans [Thu, 2 Jun 2011 14:23:19 +0000 (16:23 +0200)]
ffmpeg: port to new API

13 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

13 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.

13 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

13 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

13 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.

13 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

13 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.

13 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

13 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

13 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

13 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.