platform/upstream/gstreamer.git
14 years agox264enc: Only set i_weighted_pred on versions where it exists
Olivier Crête [Mon, 31 May 2010 20:57:42 +0000 (16:57 -0400)]
x264enc: Only set i_weighted_pred on versions where it exists

14 years agolamemp3enc: implement latency query
Tristan Matthews [Thu, 20 May 2010 15:28:47 +0000 (11:28 -0400)]
lamemp3enc: implement latency query

    The encoder's latency is deduced from the framesize. Fixes #618896.

14 years agoBack to development
Tim-Philipp Müller [Tue, 1 Jun 2010 08:30:33 +0000 (09:30 +0100)]
Back to development

14 years agoRelease 0.10.15
Tim-Philipp Müller [Sun, 30 May 2010 13:21:02 +0000 (14:21 +0100)]
Release 0.10.15

14 years agoUpdate .po files
Tim-Philipp Müller [Sun, 30 May 2010 13:20:02 +0000 (14:20 +0100)]
Update .po files

14 years agoconfigure: make implicit GLib and liboil requirements explicit
Tim-Philipp Müller [Sun, 30 May 2010 11:10:29 +0000 (12:10 +0100)]
configure: make implicit GLib and liboil requirements explicit

core/base 0.10.26 require GLib >= 2.18 and liboil >= 0.3.14

14 years agox264enc: disable I weighted pred
Olivier Crête [Thu, 27 May 2010 03:16:46 +0000 (23:16 -0400)]
x264enc: disable I weighted pred

If it is enabled, then it will be main profile instead of baseline.
This ensures maximum compatibility of the output stream until the
encoder configuration interface gets an overhaul with explicit
output profile selection.

Fixes #619776.

14 years ago0.10.14.3 pre-release
Tim-Philipp Müller [Wed, 26 May 2010 11:16:16 +0000 (12:16 +0100)]
0.10.14.3 pre-release

14 years agopo: update translations
Tim-Philipp Müller [Wed, 26 May 2010 10:52:53 +0000 (11:52 +0100)]
po: update translations

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 26 May 2010 10:55:58 +0000 (11:55 +0100)]
Automatic update of common submodule

From 357b0db to fd7ca04

14 years ago0.10.14.2 pre-release
Tim-Philipp Müller [Fri, 14 May 2010 19:06:46 +0000 (20:06 +0100)]
0.10.14.2 pre-release

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 14 May 2010 17:25:38 +0000 (18:25 +0100)]
Automatic update of common submodule

From 4d67bd6 to 357b0db

14 years agormdemux: add better sipr nibble swap routine
Wim Taymans [Fri, 14 May 2010 14:02:47 +0000 (16:02 +0200)]
rmdemux: add better sipr nibble swap routine

14 years agormdemux: descramble SIPR before pushing out
Wim Taymans [Thu, 13 May 2010 15:57:57 +0000 (17:57 +0200)]
rmdemux: descramble SIPR before pushing out

Collect and descramble the SIPR packets before pushing.
Descramble ATRAC audio.

Fixes #618098

14 years agorm: add function to descramble sipr
Wim Taymans [Thu, 13 May 2010 15:57:02 +0000 (17:57 +0200)]
rm: add function to descramble sipr

14 years agox264enc: Re-send the received upstream event as-is downstream
Olivier Crête [Sat, 9 Jan 2010 01:51:56 +0000 (20:51 -0500)]
x264enc: Re-send the received upstream event as-is downstream

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

14 years agoamrnbenc: Set rank to GST_RANK_SECONDARY
Edward Hervey [Fri, 7 May 2010 13:33:28 +0000 (15:33 +0200)]
amrnbenc: Set rank to GST_RANK_SECONDARY

14 years agortspreal: use GLib's base64 functions if available
Tim-Philipp Müller [Fri, 30 Apr 2010 18:53:15 +0000 (19:53 +0100)]
rtspreal: use GLib's base64 functions if available

Since gst_rtsp_base64_decode_ip() just got deprecated in -base git.

14 years agoamr: Use correct includes (as pkg-config suggests)
Руслан Ижбулатов [Wed, 28 Apr 2010 13:10:36 +0000 (17:10 +0400)]
amr: Use correct includes (as pkg-config suggests)

Fixes #617078

14 years agoac3parse: remove unported 0.8 plugin
Stefan Kost [Tue, 27 Apr 2010 10:15:47 +0000 (13:15 +0300)]
ac3parse: remove unported 0.8 plugin

New ac3parse lives in gst-plugin-bad. Remove this to avoid confusion.

14 years agodocs: adding a mp3decoder as well is useful
Stefan Kost [Tue, 27 Apr 2010 09:25:37 +0000 (12:25 +0300)]
docs: adding a mp3decoder as well is useful

14 years agodocs: massage section index
Stefan Kost [Tue, 27 Apr 2010 08:39:51 +0000 (11:39 +0300)]
docs: massage section index

14 years agoamrwbdec: move define to source to avoid hiding it from the docs
Stefan Kost [Tue, 27 Apr 2010 08:39:11 +0000 (11:39 +0300)]
amrwbdec: move define to source to avoid hiding it from the docs

14 years agodocs: remove short_desc, it is taken from element details
Stefan Kost [Tue, 27 Apr 2010 08:38:28 +0000 (11:38 +0300)]
docs: remove short_desc, it is taken from element details

14 years agodocs: fix sections docs for synaesthesia
Stefan Kost [Tue, 27 Apr 2010 08:37:52 +0000 (11:37 +0300)]
docs: fix sections docs for synaesthesia

14 years agodocs: add docs for mp3parse
Stefan Kost [Tue, 27 Apr 2010 08:02:15 +0000 (11:02 +0300)]
docs: add docs for mp3parse

14 years agodoap: update repository info from cvs->git and maintainers
Tim-Philipp Müller [Tue, 20 Apr 2010 16:23:04 +0000 (17:23 +0100)]
doap: update repository info from cvs->git and maintainers

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 23 Apr 2010 13:41:42 +0000 (14:41 +0100)]
Automatic update of common submodule

From fc85867 to 4d67bd6

14 years agox264enc: adaptive NALU type checking
Mark Nauwelaerts [Tue, 13 Apr 2010 14:59:03 +0000 (16:59 +0200)]
x264enc: adaptive NALU type checking

In particular, be less picky about SEI NALU order, which makes test more
robust with respect to changes in libx264.

See also #615410.

14 years agox264enc: adaptive x264 header NAL layout handling
Mark Nauwelaerts [Fri, 16 Apr 2010 19:10:58 +0000 (21:10 +0200)]
x264enc: adaptive x264 header NAL layout handling

Fixes #615410.

14 years agoasfdepay: we require a dynamic payload type
Wim Taymans [Thu, 15 Apr 2010 14:31:23 +0000 (16:31 +0200)]
asfdepay: we require a dynamic payload type

Add an extra caps property that restricts the depayloader to only accept dynamic
payload types.

14 years agoconfigure: Drop -Wcast-align
Thiago Santos [Thu, 15 Apr 2010 10:20:20 +0000 (07:20 -0300)]
configure: Drop -Wcast-align

Commit message copied from core's commit from Benjamin Otte:
246f5dba96a5b50bb74621af67b30942cca72af5
Apparently gcc warns that GstMiniObject is not castable to
GstEvent/Message/Buffer due to them containing 64bit variables, even
though ARM hackers claim that those only need 4byte alignment. And as
long as gcc behaves that way, this warning is not very useful.

So we'll remove the warning until this problem is fixed.

Fixes #615698

14 years agompeg2dec: copy over all buffer flags when copying buffers.
Edward Hervey [Wed, 14 Apr 2010 07:27:14 +0000 (09:27 +0200)]
mpeg2dec: copy over all buffer flags when copying buffers.

Avoids losing the tff/rff video buffer flags

14 years agoasfdemux: Make a table static to avoid having to always allocate it.
Edward Hervey [Sun, 14 Mar 2010 11:16:21 +0000 (12:16 +0100)]
asfdemux: Make a table static to avoid having to always allocate it.

14 years agox264enc: fix up avcC header construction
Mark Nauwelaerts [Tue, 13 Apr 2010 14:31:25 +0000 (16:31 +0200)]
x264enc: fix up avcC header construction

Fix off-by-one introduced by commit 35dd89951d8bb1c094da65480e4197efdfb4e93c
for BUILD_X264 < 76.

Also fixes #610089.

14 years agox264enc: parameterize libx264 provided NAL layout in codec-data creation
Mark Nauwelaerts [Tue, 13 Apr 2010 11:16:41 +0000 (13:16 +0200)]
x264enc: parameterize libx264 provided NAL layout in codec-data creation

14 years agoconfigure: Remove -Wundef flag
Edward Hervey [Mon, 12 Apr 2010 10:43:05 +0000 (12:43 +0200)]
configure: Remove -Wundef flag

Same fix as for #615161

14 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 9 Apr 2010 09:23:22 +0000 (11:23 +0200)]
Automatic update of common submodule

From fdf023d to fc85867

14 years agoi18n: #if ENABLE_NLS -> #ifdef ENABLE_NLS to fix compiler warning
Tim-Philipp Müller [Fri, 9 Apr 2010 08:55:14 +0000 (09:55 +0100)]
i18n: #if ENABLE_NLS -> #ifdef ENABLE_NLS to fix compiler warning

14 years agobuild: build plugins in parallel where possible, if make -jN is used
Tim-Philipp Müller [Mon, 29 Mar 2010 23:36:38 +0000 (00:36 +0100)]
build: build plugins in parallel where possible, if make -jN is used

14 years ago build: add cruft alert for common/shave*
Tim-Philipp Müller [Fri, 26 Mar 2010 17:08:23 +0000 (17:08 +0000)]
 build: add cruft alert for common/shave*

14 years agoFix make distcheck
Tim-Philipp Müller [Thu, 25 Mar 2010 19:40:33 +0000 (19:40 +0000)]
Fix make distcheck

Remove removed file win32/common/config.h.in from MANIFEST.

14 years agosynaestesia: Fix old-style prototype
Edward Hervey [Wed, 24 Mar 2010 18:35:03 +0000 (19:35 +0100)]
synaestesia: Fix old-style prototype

14 years agoFix pointer type.
Руслан Ижбулатов [Wed, 24 Mar 2010 16:07:11 +0000 (19:07 +0300)]
Fix pointer type.

Fixes #613815

14 years agoAutomatic update of common submodule
Edward Hervey [Wed, 24 Mar 2010 17:55:32 +0000 (18:55 +0100)]
Automatic update of common submodule

From 55cd514 to c1d07dd

14 years agobuild: Add all kinds of compiler warning flags and fix the resulting warnings
Sebastian Dröge [Wed, 24 Mar 2010 10:27:40 +0000 (11:27 +0100)]
build: Add all kinds of compiler warning flags and fix the resulting warnings

14 years agobuild: fix up Makefile.am
Tim-Philipp Müller [Fri, 19 Mar 2010 00:03:53 +0000 (00:03 +0000)]
build: fix up Makefile.am

Mostly just add $(GST_BASE_CFLAGS) where they're missing and fix
the order a bit here and there (see docs/random/moving-plugins).

14 years agowin32: remove win32-specific config.h.in copy that's not used any longer
Tim-Philipp Müller [Fri, 19 Mar 2010 00:02:40 +0000 (00:02 +0000)]
win32: remove win32-specific config.h.in copy that's not used any longer

The win32 config.h is now generated from the top-level config.h.in.

14 years agogst_element_class_set_details => gst_element_class_set_details_simple
Benjamin Otte [Thu, 18 Mar 2010 14:53:14 +0000 (15:53 +0100)]
gst_element_class_set_details => gst_element_class_set_details_simple

14 years agox264enc: Put pixel-aspect-ratio from input into the src pad caps
Sebastian Dröge [Tue, 16 Mar 2010 14:05:06 +0000 (15:05 +0100)]
x264enc: Put pixel-aspect-ratio from input into the src pad caps

Fixes bug #612995.

14 years agoAutomatic update of common submodule
Edward Hervey [Fri, 12 Mar 2010 12:59:53 +0000 (13:59 +0100)]
Automatic update of common submodule

From e272f71 to 55cd514

14 years agoAutomatic update of common submodule
Benjamin Otte [Thu, 11 Mar 2010 10:21:19 +0000 (11:21 +0100)]
Automatic update of common submodule

From df8a7c8 to e272f71

14 years agoUpdate CXXFLAGS, too
Benjamin Otte [Wed, 10 Mar 2010 21:13:45 +0000 (22:13 +0100)]
Update CXXFLAGS, too

14 years agoUpdate for recent changes to common submodule
Benjamin Otte [Wed, 10 Mar 2010 20:01:20 +0000 (21:01 +0100)]
Update for recent changes to common submodule

This just replaces every "$ERROR_CFLAGS" usage with a usage of
"$WARNING_CFLAGS $ERROR_CFLAGS" to get the same functionality as
previously.

Actually using that separation will happen later.

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 20:52:30 +0000 (21:52 +0100)]
Automatic update of common submodule

From 9720a7d to df8a7c8

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 19:44:18 +0000 (20:44 +0100)]
Automatic update of common submodule

From 0b6e072 to 9720a7d

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 15:10:17 +0000 (16:10 +0100)]
Automatic update of common submodule

From 7cc5eb4 to 0b6e072

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 10 Mar 2010 01:10:52 +0000 (01:10 +0000)]
Automatic update of common submodule

From 7aa65b5 to 7cc5eb4

14 years agoAutomatic update of common submodule
Sebastian Dröge [Tue, 9 Mar 2010 21:40:26 +0000 (21:40 +0000)]
Automatic update of common submodule

From 44ecce7 to 7aa65b5

14 years agoconfigure: Use automake 1.11 silent rules instead of shave if available
Sebastian Dröge [Fri, 26 Feb 2010 14:43:58 +0000 (15:43 +0100)]
configure: Use automake 1.11 silent rules instead of shave if available

This makes sure that we use something that is still maintained and
also brings back libtool 1.5 support.

14 years agoBack to development
Tim-Philipp Müller [Tue, 9 Mar 2010 17:42:11 +0000 (17:42 +0000)]
Back to development

14 years agoRelease 0.10.14
Tim-Philipp Müller [Sat, 6 Mar 2010 01:13:25 +0000 (01:13 +0000)]
Release 0.10.14

14 years agoUpdate .po files
Tim-Philipp Müller [Sat, 6 Mar 2010 01:10:09 +0000 (01:10 +0000)]
Update .po files

14 years ago0.10.13.4 pre-release
Tim-Philipp Müller [Wed, 3 Mar 2010 22:52:12 +0000 (22:52 +0000)]
0.10.13.4 pre-release

14 years agox264enc: Replace 'avc-sample' with 'avc' in caps
Thiago Santos [Mon, 22 Feb 2010 22:13:11 +0000 (19:13 -0300)]
x264enc: Replace 'avc-sample' with 'avc' in caps

In the element and in its tests

Fixes #606662

14 years agoasfdemux: Don't set durations of 0 on outgoing buffers.
Edward Hervey [Mon, 1 Mar 2010 13:07:20 +0000 (14:07 +0100)]
asfdemux: Don't set durations of 0 on outgoing buffers.

Some (broken) streams don't have the extended stream properties in
the header, resulting in applying a duration of zero on outgoing
buffers.

Fixes #611473

14 years agoasfdemux: Make sure we always set proper payload duration.
Edward Hervey [Mon, 1 Mar 2010 13:05:58 +0000 (14:05 +0100)]
asfdemux: Make sure we always set proper payload duration.

Some (broken) streams will have a delta of 0, resulting in outgoing
buffers having durations of 0.

Fixes #611473

14 years ago0.10.13.3 pre-release
Tim-Philipp Müller [Wed, 24 Feb 2010 01:40:34 +0000 (01:40 +0000)]
0.10.13.3 pre-release

14 years agoasfdemux: Make sure we don't end up with negative timestamps.
Edward Hervey [Fri, 19 Feb 2010 09:13:34 +0000 (10:13 +0100)]
asfdemux: Make sure we don't end up with negative timestamps.

Some files have payload with timestamps smaller than the preroll duration.
Instead of blindly substracting the preroll value (and ending up with
insanely high timestamps on the outgoing buffers), we make sure we
never go below 0.

Fixes #610432

14 years ago0.10.13.2 pre-release
Tim-Philipp Müller [Fri, 19 Feb 2010 01:07:08 +0000 (01:07 +0000)]
0.10.13.2 pre-release

Update core/base requirement to 0.10.26, since that's more likely
to be the actual requirement.

14 years agopo: update translations
Tim-Philipp Müller [Fri, 19 Feb 2010 01:06:44 +0000 (01:06 +0000)]
po: update translations

14 years agox264enc: add caps check to x264enc unit test
Tim-Philipp Müller [Tue, 16 Feb 2010 14:08:12 +0000 (14:08 +0000)]
x264enc: add caps check to x264enc unit test

Add some minimal caps checking to x264enc unit test.

See #610089.

14 years agox264enc: fix up avcC header construction and playback by flash players
Vittorio Palmisano [Tue, 16 Feb 2010 13:25:11 +0000 (13:25 +0000)]
x264enc: fix up avcC header construction and playback by flash players

Fix off-by-one bug when constructing the avcC header chunk: we
wrote wrong profile info into the header. The first byte in the
SPS NAL we get from x264 is the nal type, not the profile_idc.

Also add some debug logging.

Fixes #610089.

14 years agoasfdemux: Improve seek behaviour for audio-only with no index
Robert Swain [Tue, 16 Feb 2010 11:59:54 +0000 (12:59 +0100)]
asfdemux: Improve seek behaviour for audio-only with no index

Instead of seeking to seek_time - 5s in the hope of hitting a keyframe
for video, we can just seek to seek_time instead.

14 years agoconfigure: fix up GST_CXXFLAGS properly
Tim-Philipp Müller [Tue, 16 Feb 2010 00:24:32 +0000 (00:24 +0000)]
configure: fix up GST_CXXFLAGS properly

We don't want C specific flags in GST_CXXFLAGS, so base it on the
GST_CFLAGS that only contains the pkg-config CFLAGS but none of
the GST_OPTION_CFLAGS. Also, we only need the local includes once.

14 years agoUpdate MAINTAINERS, add myself
Tim-Philipp Müller [Thu, 11 Feb 2010 01:12:43 +0000 (01:12 +0000)]
Update MAINTAINERS, add myself

14 years agoconfigure: base GST_CXXFLAGS on --cflags from pkg-config
Stefan Kost [Mon, 15 Feb 2010 21:16:32 +0000 (23:16 +0200)]
configure: base GST_CXXFLAGS on --cflags from pkg-config

pkg-config sets GST_CFLAGS and GST_LIBS. We need to use CFLAGS as a starting
point for for both C and CXX settings.

14 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 14 Feb 2010 22:18:44 +0000 (23:18 +0100)]
Automatic update of common submodule

From 96dc793 to 44ecce7

14 years agowin32: change how win32/common/config.h is updated
Tim-Philipp Müller [Mon, 1 Feb 2010 01:33:22 +0000 (01:33 +0000)]
win32: change how win32/common/config.h is updated

Generate win32/common/config.h-new directly from config.h.in,
using shell variables in configure and some hard-coded information.
Change top-level makefile so that 'make win32-update' copies the
generated file to win32/common/config.h, which we keep in source
control. It's kept in source control so that the git tree is
buildable from VS.

This change is similar to the ones applied a while ago to GStreamer
core, gst-plugins-base and gst-plugins-good and prevents configure
from changing files in source control. The generated config.h
should be ok, but needs testing.

14 years agortspreal: don't construct config header with uninitialised bytes
Tim-Philipp Müller [Sun, 31 Jan 2010 13:03:33 +0000 (13:03 +0000)]
rtspreal: don't construct config header with uninitialised bytes

Turns out 4 + 4 + 2 + (4 * 2) is actually 18 and not 22. This avoids
a presumably unintentional padding of uninitialised bytes at the end
of the CONT tags chunk, which should be harmless but causes warnings
in valgrind (see #608533 for a test URL).

14 years agortspreal: add finalize function so we can free streams and rulebook
Tim-Philipp Müller [Sat, 30 Jan 2010 19:12:24 +0000 (19:12 +0000)]
rtspreal: add finalize function so we can free streams and rulebook

Fix memory leak in Real RTSP component (#608533).

14 years agortspreal: fix minor memory leak
Tim-Philipp Müller [Sat, 30 Jan 2010 19:10:45 +0000 (19:10 +0000)]
rtspreal: fix minor memory leak

Caps take their own reference when a buffer is added to them, so
unref buffer after adding it to caps (#608533).

14 years agordtdepay: unref input buffer when done
Tim-Philipp Müller [Sat, 30 Jan 2010 19:06:34 +0000 (19:06 +0000)]
rdtdepay: unref input buffer when done

Fixes memory leak, see #608533.

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sat, 30 Jan 2010 15:19:56 +0000 (15:19 +0000)]
Automatic update of common submodule

From 15d47a6 to 96dc793

14 years agox264enc: make use of Access Unit delimiters configurable
Mark Nauwelaerts [Fri, 29 Jan 2010 18:47:03 +0000 (19:47 +0100)]
x264enc: make use of Access Unit delimiters configurable

API: GstX264Enc:aud

14 years agoasfdemux: Do not subtract padding twice
Thiago Santos [Fri, 22 Jan 2010 18:40:28 +0000 (15:40 -0300)]
asfdemux: Do not subtract padding twice

Only subtract implicit padding if an explicit one isn't
provided. Avoids subtracting it twice and causing
parsing errors.

Fixes #607698

14 years agoassert: g_assert_not_reached() cannot replace return statement
Stefan Kost [Fri, 22 Jan 2010 14:55:14 +0000 (16:55 +0200)]
assert: g_assert_not_reached() cannot replace return statement

Fix build with assert being turned off.

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 20 Jan 2010 00:55:12 +0000 (00:55 +0000)]
Automatic update of common submodule

From 14cec89 to 15d47a6

14 years agoasfdemux: Don't forget to update flow variable
Edward Hervey [Mon, 18 Jan 2010 17:01:55 +0000 (18:01 +0100)]
asfdemux: Don't forget to update flow variable

Forgot to update the return value in the loop.

14 years agoasfdemux: Check flow return on every push
Edward Hervey [Mon, 18 Jan 2010 16:49:06 +0000 (17:49 +0100)]
asfdemux: Check flow return on every push

We previously only aggregated flow returns after the while(push) loop,
which meant that in some cases we would end-up not properly aggregating
the flow returns.

This is based on the same flow aggregation algorithm as oggdemux.

14 years agox264enc: Add stream-format to output caps
Thiago Santos [Mon, 11 Jan 2010 19:14:44 +0000 (16:14 -0300)]
x264enc: Add stream-format to output caps

Adds stream-format to output caps of x264enc that
informs if the stream is in bytestream of avc format.

Fixes #606662

14 years agoxingmux: Fix unaligned memory access
Arnaud Patard [Mon, 11 Jan 2010 11:23:35 +0000 (12:23 +0100)]
xingmux: Fix unaligned memory access

ARM/SPARC need 32bit alignment but xingmux accesses possibly
unaligned memory, which leads to SIGBUS.

Fixes bug #586464.

14 years agoasfdemux: Use GST_STR_NULL in a couple of places.
Michael Smith [Thu, 7 Jan 2010 22:36:47 +0000 (14:36 -0800)]
asfdemux: Use GST_STR_NULL in a couple of places.

Fixes crashing on some of the log statements on win32.

14 years agormdemux: Parse and post bitrate for streams
Thiago Santos [Thu, 7 Jan 2010 19:36:08 +0000 (16:36 -0300)]
rmdemux: Parse and post bitrate for streams

Parse the bitrate of the streams and post their tags.

Fixes #599299

14 years agoasfdemux: Post bitrate tag
Thiago Santos [Thu, 7 Jan 2010 16:54:21 +0000 (13:54 -0300)]
asfdemux: Post bitrate tag

If stream bitrate object is available, post the bitrate
tags.

Fixes #599297

14 years agomp3parse: minor validation check of (Xing, VBRI) metadata
Mark Nauwelaerts [Mon, 4 Jan 2010 14:19:25 +0000 (15:19 +0100)]
mp3parse: minor validation check of (Xing, VBRI) metadata

... to detect e.g. a truncated file, rendering some of the metadata invalid.

14 years agomp3parse: use proper total_time and total_bytes in various cases
Mark Nauwelaerts [Mon, 4 Jan 2010 13:59:06 +0000 (14:59 +0100)]
mp3parse: use proper total_time and total_bytes in various cases

The correct basis for (Xing, VBRI) seek table calculations is the
byte size and duration provided by that metadata, rather than some
other (possibly even estimated) one.  This also prevents an infinite
conversion loop in (unlikely) case where a TOC is provided without
such corresponding (duration) metdata.

14 years agomp3parse: conserve stop time for non-accurate seek
Thiago Santos [Tue, 8 Dec 2009 22:55:04 +0000 (19:55 -0300)]
mp3parse: conserve stop time for non-accurate seek

Use the same strategy as accurate seeks to store
pending non-accurate seeks to avoid overwriting non-definite
stop times. When doing non-accurate seeks our position
reporting might drift off by some secs and the stream can
end up before it should.

Fixes #603695

14 years agoAutomatic update of common submodule
Mark Nauwelaerts [Mon, 21 Dec 2009 18:12:59 +0000 (19:12 +0100)]
Automatic update of common submodule

From 47cb23a to 14cec89

14 years agoamrwbdec: give decoder a rank so decodebin/playbin will use it
Tim-Philipp Müller [Fri, 18 Dec 2009 16:04:12 +0000 (16:04 +0000)]
amrwbdec: give decoder a rank so decodebin/playbin will use it