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
Mark Nauwelaerts [Mon, 21 Dec 2009 18:12:59 +0000 (19:12 +0100)]
Automatic update of common submodule
From
47cb23a to
14cec89
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
Thiago Santos [Tue, 8 Dec 2009 22:01:50 +0000 (19:01 -0300)]
mp3parse: return false when we can't seek
When upstream can't seek, we return false as well
Thiago Santos [Wed, 2 Dec 2009 14:21:22 +0000 (11:21 -0300)]
lame: Avoid crash when seeking before negotiating
lame's 'lgv' variable is only initialized when the caps
is negotiated, whenever a seek happens before that, it would
attempt to call a function on an empty pointer, causing the crash.
Fixes #603515
Tim-Philipp Müller [Tue, 1 Dec 2009 15:08:07 +0000 (15:08 +0000)]
Automatic update of common submodule
From
87bf428 to
47cb23a
Sebastian Dröge [Tue, 1 Dec 2009 13:17:50 +0000 (14:17 +0100)]
Automatic update of common submodule
From
da4c75c to
87bf428
Edward Hervey [Fri, 27 Nov 2009 17:56:13 +0000 (18:56 +0100)]
Automatic update of common submodule
From
53a2485 to
da4c75c
Mark Nauwelaerts [Thu, 26 Nov 2009 14:54:45 +0000 (15:54 +0100)]
mp3parse: fix non-flushing seek
Specifically, in addition to clearing lots of variables/offsets
when receiving newsegment, also clear leftover data to match.
Olivier Crête [Sat, 21 Nov 2009 02:32:31 +0000 (21:32 -0500)]
x264enc: Make upstream GstForceKeyUnit thread-safe
Also send the GstForceKeyUnit event downstream when an upstream on is received,
allowing muxers or payloaders to take appropriate actions.
https://bugzilla.gnome.org/show_bug.cgi?id=602556
Tim-Philipp Müller [Thu, 19 Nov 2009 10:31:25 +0000 (10:31 +0000)]
Automatic update of common submodule
From
a3e3ce4 to
53a2485
Benjamin Gaignard [Wed, 18 Nov 2009 08:58:39 +0000 (09:58 +0100)]
asfdemux: Don't call strlen() on NULL pointers
Fixes bug #602280.
Thiago Santos [Mon, 9 Nov 2009 18:02:05 +0000 (15:02 -0300)]
asfdemux: Remove old pads when new ones are added
The old pads were being removed before adding the new ones,
we should add the new ones first.
Fixes #599718
Thiago Santos [Mon, 9 Nov 2009 16:30:45 +0000 (13:30 -0300)]
asfdemux: Handle chained asfs on pull mode
Adds chained asfs handling to pull mode. It now checks if
there is a new asf header after the last packet (when it
is possible to know how many packets are) or it tries
checking if a processed packet that fails is an header
object.
Fixes #599718
Thiago Santos [Mon, 9 Nov 2009 13:24:46 +0000 (10:24 -0300)]
asfdemux: properly do chained asfs on push mode
To properly do chained asfs work with playbin2, we need to
push eos on the old pads before removing them.
Fixes #599718
Thiago Santos [Tue, 27 Oct 2009 20:48:03 +0000 (17:48 -0300)]
asfdemux: add support for chained asfs (push mode)
Adds support for detecting and playing chained asfs
in push mode. asfdemux tries to detect a new asf start
by identifying the header object guid in a input buffer.
When it finds it, it resets its state, removing its pads
and creates new ones for the new file.
Tim-Philipp Müller [Thu, 5 Nov 2009 18:33:09 +0000 (18:33 +0000)]
asfdemux: fix two small leaks
Tim-Philipp Müller [Thu, 5 Nov 2009 18:19:58 +0000 (18:19 +0000)]
asfdemux: prefer WM/TrackNumber over WM/Track, it's more reliable
WM/Track has a 0 base but is often wrongly written as starting from 1,
so not as reliable as WM/TrackNumber which always starts from 1.
Tim-Philipp Müller [Thu, 5 Nov 2009 18:11:55 +0000 (18:11 +0000)]
asfdemux: WM/Track starts counting from 0, adjust to start from 1
Tim-Philipp Müller [Thu, 5 Nov 2009 18:11:14 +0000 (18:11 +0000)]
asfdemux: map WM/TrackNumber to GST_TAG_TRACK_NUMBER as well
There's both WM/Track and WM/TrackNumber.
Jan Schmidt [Wed, 4 Nov 2009 15:52:09 +0000 (15:52 +0000)]
a52dec: Fix debug statement: Pass pos variable instead of time() function
Jan Schmidt [Wed, 4 Nov 2009 15:50:17 +0000 (15:50 +0000)]
dvdsubdec: Fix printf format string warning
Jan Schmidt [Wed, 4 Nov 2009 15:46:04 +0000 (15:46 +0000)]
asfdemux: Fix bogus variable used uninitialised warnings
Jan Schmidt [Wed, 4 Nov 2009 13:55:39 +0000 (13:55 +0000)]
po: Don't create backup .po files
As well as preventing creation of useless backup files, it works
around a bug in gettext 0.17 on OS/X
Michael Smith [Thu, 29 Oct 2009 18:39:13 +0000 (11:39 -0700)]
asfdemux: fix c99-style comments.
Michael Smith [Thu, 29 Oct 2009 17:34:17 +0000 (10:34 -0700)]
asfdemux: accept fragments in a continued packet where the subsequent fragments
declare a size of 0. Fixes bug 600037.
Wim Taymans [Tue, 27 Oct 2009 11:33:24 +0000 (12:33 +0100)]
rmutils: fix byteswapping
fix the byteswapping code that was wrong because of the side effects of the
READ/WRITE macros.
Fixes #599676
Robert Swain [Tue, 20 Oct 2009 19:00:44 +0000 (20:00 +0100)]
x264enc: Adapt to slightly modified x264 API
Fixes #599095.
Thiago Santos [Mon, 26 Oct 2009 20:31:19 +0000 (17:31 -0300)]
asfdemux: careful to avoid crash on bogus data
When receiving bogus data, we have to avoid subtracting a value
larger than 'size' from 'size' variable, resulting in a wrap
that would make 'size' a really large bogus value.
Fixes #599333
Jan Schmidt [Mon, 26 Oct 2009 00:56:37 +0000 (00:56 +0000)]
win32: Commit bumped version number
Edward Hervey [Sat, 17 Oct 2009 11:46:13 +0000 (13:46 +0200)]
mpegaudioparse: Don't use expensive glib ways to get an enum nick.
Fixes #598761
This removes a good 50% of processing time for parsing a buffer.
We do this by simply... getting the nicks that we already have handy
instead of going through the expensive glib system.
Edward Hervey [Sat, 24 Oct 2009 18:36:41 +0000 (20:36 +0200)]
configure.ac: And back to development we go...
Jan Schmidt [Wed, 21 Oct 2009 16:16:00 +0000 (17:16 +0100)]
Release 0.10.13
Jan Schmidt [Wed, 21 Oct 2009 16:02:42 +0000 (17:02 +0100)]
Update .po files
Stefan Kost [Fri, 16 Oct 2009 07:16:55 +0000 (10:16 +0300)]
Automatic update of common submodule
From
85d1530 to
0702fe1
Jan Schmidt [Thu, 15 Oct 2009 22:56:55 +0000 (23:56 +0100)]
0.10.12.3 pre-release
Edward Hervey [Wed, 14 Oct 2009 08:41:48 +0000 (10:41 +0200)]
Automatic update of common submodule
From
a3e3ce4 to
85d1530
Jan Schmidt [Tue, 13 Oct 2009 12:05:32 +0000 (13:05 +0100)]
a52dec: Fix reference leak on all input buffers in 'dvd mode'
https://bugzilla.gnome.org/show_bug.cgi?id=598272
Jan Schmidt [Mon, 12 Oct 2009 12:54:27 +0000 (13:54 +0100)]
0.10.12.2 pre-release
Jan Schmidt [Mon, 12 Oct 2009 10:31:22 +0000 (11:31 +0100)]
docs: Remove files accidentally added
Remove the gst-plugins-ugly-plugins.args.new and
gst-plugins-ugly-plugins.signals.new files, that appear
to have been accidentally added in commit
f5d046a0b034f9bd7274291f7131ee5db1a30052
Jan Schmidt [Tue, 15 Sep 2009 23:00:28 +0000 (00:00 +0100)]
a52dec: Add some debugging for new segment events
Josep Torra [Sun, 11 Oct 2009 14:18:37 +0000 (16:18 +0200)]
mpeg2dec: fix warning in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 14:16:09 +0000 (16:16 +0200)]
mpegstream: fix warning in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 14:14:08 +0000 (16:14 +0200)]
mpegaudioparse: fix warning in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 14:09:11 +0000 (16:09 +0200)]
dvdsubdec: fix warning on macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 14:06:25 +0000 (16:06 +0200)]
asfdemux: fix warning in macosx snow leopard
René Stadler [Thu, 8 Oct 2009 16:58:25 +0000 (19:58 +0300)]
mp3parse: don't fail SEEKING query when upstream query fails for TIME format
Jan Schmidt [Thu, 8 Oct 2009 10:01:03 +0000 (11:01 +0100)]
Automatic update of common submodule
From
19fa4f3 to
a3e3ce4
Stefan Kost [Wed, 7 Oct 2009 11:22:09 +0000 (14:22 +0300)]
build: fprintf, sprintf, sscanf need stdio.h
Stefan Kost [Fri, 2 Oct 2009 15:27:11 +0000 (18:27 +0300)]
mad: add missing include to fix the build
Wim Taymans [Mon, 5 Oct 2009 10:13:51 +0000 (12:13 +0200)]
dvdlpcm: whitespace fixes
Christian F.K. Schaller [Sun, 4 Oct 2009 21:51:41 +0000 (22:51 +0100)]
update spec file
Mark Nauwelaerts [Fri, 2 Oct 2009 13:22:38 +0000 (15:22 +0200)]
x264enc: adjust configure checking to changed upstream
Mark Nauwelaerts [Thu, 1 Oct 2009 16:58:42 +0000 (18:58 +0200)]
x264enc: conditionally adjust to new upstream API
Fixes #596517.
Mark Nauwelaerts [Thu, 24 Sep 2009 15:49:52 +0000 (17:49 +0200)]
mpegaudioparse: prevent infinite (re)syncing
Conflicts:
gst/mpegaudioparse/gstmpegaudioparse.c
Michael Smith [Tue, 22 Sep 2009 19:13:38 +0000 (12:13 -0700)]
mp3parse: Refactor checking for sync. Make resyncing more reliable.
Previously, we could get false sync relatively easily - it sometimes happened
on real files. This cleans the code up a fair bit, and makes it require more
confirmation that we've found valid sync before continuing.
Mark Nauwelaerts [Thu, 17 Sep 2009 14:12:29 +0000 (16:12 +0200)]
mpegaudioparse: ensure 2 valid headers in a row when resyncing
Tim-Philipp Müller [Fri, 11 Sep 2009 09:05:02 +0000 (10:05 +0100)]
dvddemux: remove bogus ifndef
Sebastian Dröge [Sat, 5 Sep 2009 08:23:49 +0000 (10:23 +0200)]
Automatic update of common submodule
From
94f95e3 to
19fa4f3
Sebastian Dröge [Tue, 1 Sep 2009 10:22:39 +0000 (12:22 +0200)]
mpeg2dec: Fix GstIndex handling, incl. refcounting and NULL indizes
Tim-Philipp Müller [Mon, 31 Aug 2009 12:42:27 +0000 (13:42 +0100)]
dvdsubparse: GstAdapter is not a GstObject and should be freed with g_object_unref
David Schleef [Mon, 24 Aug 2009 20:59:05 +0000 (13:59 -0700)]
Remove Ronald Bultje from Authors field
Replaced with "GStreamer maintainers
<gstreamer-devel@lists.sourceforge.net>" or just removed,
depending on the number of other authors.
David Schleef [Mon, 24 Aug 2009 20:57:14 +0000 (13:57 -0700)]
asfdemux: Remove old non-built asfmux code
Remove so people don't confuse it with the new asfmux code
in -bad.
Sebastian Dröge [Sun, 23 Aug 2009 11:35:46 +0000 (13:35 +0200)]
a52dec: Only add the MM_ACCEL_DJBFFT flag if it's defined
It's not defined for older liba52 versions.
Mart Raudsepp [Sun, 23 Aug 2009 11:34:32 +0000 (13:34 +0200)]
a52dec: Allow liba52 to use djbfft based IMDCT transform
liba52 in a52dec-0.7.4 does not have any MMX, MMXEXT or 3DNOW based
IMDCT transform acceleration. It does however have a software based
acceleration using the djbfft library (D.J. Bernstein's library for
fourier transforms - Extremely fast library for floating-point
convolution). So allow liba52 to use it through the MM_ACCEL_DJBFFT
flag.
The liba52 copy in MPlayer sources does have SSE, 3dnowext, 3dnow
and AltiVec implementations, but those are checked for first, and
djbfft is chosen only if none of those is available - good in the
case of some distributions including a port of the MPlayer changes
in their system a52dec library.
The down and upmix code in liba52 doesn't seem to be disturbed by
this additional MM_ACCEL flag and will still use MMX, SSE or 3DNOW
versions if passed from oil_cpu_get_flags (SSE currently is not).
Fixes bug #592787.
Sebastian Dröge [Mon, 17 Aug 2009 15:31:10 +0000 (17:31 +0200)]
amr: Use opencore-amr pkg-config files if possible
This makes it possible to build the plugins when the libraries
are installed at non-standard locations.
Fixes bug #591348.
Mark Nauwelaerts [Fri, 14 Aug 2009 10:07:40 +0000 (12:07 +0200)]
mpegaudioparse: use metadata (xing, vbri) provided bytesize for conversions
Metadata provided seek tables are consistent with metadata's view of
total size, which typically matches real size, but need not do so
(e.g. a truncated file). Fixes seeking and position reporting
in such truncated files (although duration based on metadata may then
still be incorrect).
Tim-Philipp Müller [Mon, 10 Aug 2009 21:22:39 +0000 (22:22 +0100)]
configure: bump core/base requirements to released versions
to avoid confusion.
Sebastian Dröge [Tue, 4 Aug 2009 08:44:43 +0000 (10:44 +0200)]
configure: Remove all mentions to the id3tag plugin which was removed
Marvin Schmidt [Sat, 1 Aug 2009 06:43:21 +0000 (08:43 +0200)]
mad: make check for mad independent of the check for id3tag
Fixes bug #590432.
Thiago Santos [Fri, 31 Jul 2009 03:25:43 +0000 (00:25 -0300)]
rtpasfdepay: set padding size to the correct value
asf packets in rtp packets should come with their padding fields
set to 0 and the depayload must update them to the correct
value before pushing downstream
Iago Toral [Mon, 27 Jul 2009 18:12:20 +0000 (20:12 +0200)]
amr: Add AMR-WB decoder and AMR-NB encoder and decoder
These are based on the OpenCore codecs.
Fixes bug #584890.
Stefan Kost [Thu, 23 Jul 2009 21:43:07 +0000 (00:43 +0300)]
Automatic update of common submodule
From
fedaaee to
94f95e3
Tim-Philipp Müller [Wed, 22 Jul 2009 10:10:38 +0000 (11:10 +0100)]
dvdnav: remove dvdnav plugin
Remove dvdnav plugin, it has no future. resindvd is the plugin to
use for dvd playback. Note that dvdnav was never really enabled
in -ugly, you had to edit configure.ac to get it built.
Sebastian Dröge [Sat, 20 Jun 2009 12:31:06 +0000 (14:31 +0200)]
mpeg2dec: Fix unused variables compiler warnings in unit test
Jan Schmidt [Fri, 26 Jun 2009 14:21:12 +0000 (15:21 +0100)]
autogen.sh: Use printf instead of 'echo -n'. Check for automake-1.1[01]
Check for more automake command variants. Use printf instead of 'echo -n'
for portability
Olivier Crête [Mon, 13 Jul 2009 16:24:14 +0000 (12:24 -0400)]
Automatic update of common submodule
From
5845b63 to
fedaaee
Tim-Philipp Muller [Tue, 10 Feb 2009 13:25:54 +0000 (13:25 +0000)]
Make git ignore more files
Edward Hervey [Mon, 29 Jun 2009 09:10:42 +0000 (11:10 +0200)]
asfdemux: Refactor multiple packet pull.
This also fixes a bug by which the first buffer (in a multi-packet mode)
passed to asf_demux_parse_packet() would have a GST_BUFFER_SIZE of the
full incoming buffer and not just of the single asf packet.
Fixes corrupted frames introduced by latest commit.
Wim Taymans [Mon, 29 Jun 2009 08:58:49 +0000 (10:58 +0200)]
asfdemux: use the right accurate field
Remove accurate variable and its faulty use because the real variable is an
instance variable.
Edward Hervey [Sun, 28 Jun 2009 15:48:11 +0000 (17:48 +0200)]
asfdemux: Sprinkle branch prediction macros accross the code
Edward Hervey [Sun, 28 Jun 2009 15:43:12 +0000 (17:43 +0200)]
asfdemux: Delay newsegment handling until we have a keyframe.
We now have a chance for packets to be collected before we send out the
newsegment. If we're not in accurate seeking (keyunit) it will set
the segment start/time to the keyframe's timestamp.
Edward Hervey [Sun, 28 Jun 2009 15:39:23 +0000 (17:39 +0200)]
asfdemux: Remove useless check. We already have checked for it above.
Edward Hervey [Sun, 28 Jun 2009 15:31:11 +0000 (17:31 +0200)]
asfdemux: No longer queue GOPs now that seeking is fixed.
We now *always* seek to the keyframe just before our requested position.
When we encounter the first keyframe and we were not accurate (therefore doing
keyframe seeking), we update the segment start position to the keyframe timestamp.
Edward Hervey [Sun, 28 Jun 2009 15:42:44 +0000 (17:42 +0200)]
asfdemux: Store the accurate seeking flag
Edward Hervey [Sun, 28 Jun 2009 15:04:00 +0000 (17:04 +0200)]
asfdemux: Use the average frame duration for buffers without a duration.
This will still cause some timestamp jitter, but giving a hint as to the duration
rather than nothing seems to be a better idea.
Also, this allows some scenarios (like remuxing with asfmux) to estimate the total
duration using the accumulated packet duration (which will be correct).
Edward Hervey [Sun, 28 Jun 2009 15:02:17 +0000 (17:02 +0200)]
asfdemux: Use index entry packet count to optimize seeking.
The simple index entries also contain the number of packets one needs
to retrieve at a given position to get a full keyframe. We therefore
use that information to retrieve all those packets in one buffer when
working in pull-mode.
Thiago Santos [Fri, 26 Jun 2009 23:52:29 +0000 (20:52 -0300)]
asfdemux: Do not try to free const pointer
In gst_asf_demux_chain_headers, when 'goto wrong_type' was called
asfdemux tried to free a const pointer that had been cast to a
normal pointer variable.
Edward Hervey [Fri, 26 Jun 2009 18:44:09 +0000 (20:44 +0200)]
asfdemux: Use presentation timestamp when searching in the index.
We need to take the preroll into account... else we end up too early.
Jan Schmidt [Fri, 26 Jun 2009 12:43:16 +0000 (13:43 +0100)]
Automatic update of common submodule
From
f3bb51b to
5845b63
Edward Hervey [Fri, 26 Jun 2009 11:35:38 +0000 (13:35 +0200)]
asfdemux: Convert index entry from presentation time to timestamps.
We weren't taking the preroll into account previously, meaning that we
were always seeking preroll nanoseconds too early... resulting in a lot
of dropped packets (which are before the start time).
This brings quit a bit closer to as-fast-as-possible seeking in asf files.
Edward Hervey [Fri, 26 Jun 2009 08:58:56 +0000 (10:58 +0200)]
asfdemux: Fix byte array metadata handling.
We basically discard byte array metadata. Should be trivial to adapt
to storing the pointers if we need it later on.
Edward Hervey [Fri, 26 Jun 2009 08:41:28 +0000 (10:41 +0200)]
asfdemux: Handle PAR/interlaced information stored in packet payload.
This is the 'other' way to store non 1/1 PAR in asf streams (by storing it
in the ASF Packet payload extensions).
Edward Hervey [Fri, 26 Jun 2009 08:40:39 +0000 (10:40 +0200)]
asfdemux: Store/Handle global metadata (not specific to one stream).
This allows us to store (and handle) PAR information which might be stored there.
Mark Nauwelaerts [Thu, 25 Jun 2009 16:24:56 +0000 (18:24 +0200)]
mpegaudioparse: fix Xing inverse seek table building
Jan Schmidt [Wed, 24 Jun 2009 14:15:37 +0000 (15:15 +0100)]
Automatic update of common submodule
From
f3bb51b to
f810030
Tim-Philipp Müller [Tue, 23 Jun 2009 15:45:00 +0000 (16:45 +0100)]
asfdemux: don't try to free a NULL taglist
Tim-Philipp Müller [Tue, 23 Jun 2009 01:14:00 +0000 (02:14 +0100)]
asfdemux: post tags only after we've created our source pads
Post global tags only after we've added our source pads, so that
tag events get sent downstream in addition to tag messages posted
on the bus. This makes sure tags can be picked up automatically
when transcoding, but also by tagreadbin/playbin2. Fixes #519721.
While we're at it, also add a container-format tag.
Tim-Philipp Müller [Tue, 23 Jun 2009 00:37:01 +0000 (01:37 +0100)]
asfdemux: use new bytereader functions for image tag parsing
Mark Nauwelaerts [Mon, 22 Jun 2009 16:53:56 +0000 (18:53 +0200)]
asfdemux: remove some more unused variables