Mark Nauwelaerts [Tue, 5 Jun 2012 09:52:14 +0000 (11:52 +0200)]
mpegtsmux: refactor init using _reset to cater for proper reuse
Mark Nauwelaerts [Mon, 4 Jun 2012 14:24:05 +0000 (16:24 +0200)]
mpegtsmux: header cleanups and clarifications
Mark Nauwelaerts [Mon, 4 Jun 2012 14:05:03 +0000 (16:05 +0200)]
mpegtsmux: tweak buffer handling
... for clarity and to avoid mixing _peek/_pop
Mark Nauwelaerts [Mon, 4 Jun 2012 14:03:20 +0000 (16:03 +0200)]
mpegtsmux: misc code cleanups and refactoring
Mark Nauwelaerts [Mon, 4 Jun 2012 12:54:55 +0000 (14:54 +0200)]
mpegtsmux: avoid separate allocation for list of programs
Mark Nauwelaerts [Mon, 4 Jun 2012 12:54:08 +0000 (14:54 +0200)]
mpegtsmux: rearrange define's
Mark Nauwelaerts [Mon, 4 Jun 2012 12:48:29 +0000 (14:48 +0200)]
mpegtsmux: removed hacked event handling
Conflicts:
gst/mpegtsmux/mpegtsmux.c
Reverted back to 0.10 state as it wasn't really ported
yet anyway.
Edward Hervey [Tue, 5 Jun 2012 07:54:53 +0000 (09:54 +0200)]
mpegtsdemux: Also parse TOT (Time Offset Section)
It's the same as TDT, except with descriptors at the end
Edward Hervey [Tue, 5 Jun 2012 07:52:42 +0000 (09:52 +0200)]
mpegtsdemux: FIXME/Comment about issues/errors
Edward Hervey [Tue, 5 Jun 2012 07:48:04 +0000 (09:48 +0200)]
mpegtspacketizer: Fix leak
Edward Hervey [Tue, 5 Jun 2012 07:44:45 +0000 (09:44 +0200)]
mpegtspacketizer: Reduce usage of GstAdapter
Peek as much as possible in one go. Ideally we should remove usage of
adapter altogether, but for the time being it provides a big enough
speedup (around 2 times faster per packet processed).
Edward Hervey [Mon, 4 Jun 2012 06:39:11 +0000 (08:39 +0200)]
mpegtspacketizer: Avoid alloc/free where possible
Helps for streams with a lot of sections, like EIT
Edward Hervey [Mon, 4 Jun 2012 06:37:44 +0000 (08:37 +0200)]
mpegtbase: Add more sections that don't have a CRC
Edward Hervey [Mon, 4 Jun 2012 06:32:51 +0000 (08:32 +0200)]
mpegdefs: Add list of known table_id
Along with the specifications from which they come. Avoids having
to search for which spec a table_id belongs to
Edward Hervey [Sun, 3 Jun 2012 08:58:20 +0000 (10:58 +0200)]
mpegtspacketizer: Clarify debug statements
Use hex values in more cases (since that's how PID/table_id/... are
represented in the various specs).
Edward Hervey [Sun, 3 Jun 2012 08:56:28 +0000 (10:56 +0200)]
mpegtsbase/packetizer: Add CAT section handling
Allows reporting the global EMM
Edward Hervey [Sun, 3 Jun 2012 08:53:52 +0000 (10:53 +0200)]
mpegtbase: Add more debug in PSI handling
Allows us to identify which SI we don't handle
Edward Hervey [Sun, 3 Jun 2012 08:53:13 +0000 (10:53 +0200)]
mpegtbase: Add more default known PSI table_id
Edward Hervey [Sat, 2 Jun 2012 06:06:24 +0000 (08:06 +0200)]
mpegtbase: Refactor PSI detection
Sebastian Dröge [Tue, 5 Jun 2012 07:30:35 +0000 (09:30 +0200)]
win32: Update config.h
Sebastian Dröge [Tue, 5 Jun 2012 07:30:00 +0000 (09:30 +0200)]
videoparsers: Fix GstBaseParse::get_sink_caps() implementations
They should take the filter caps into account and always return
the template caps appended to the actual caps. Otherwise the
parsers stop to accept unparsed streams where upstream does not
know about width, height, etc.
Fixes bug #677401.
Edward Hervey [Fri, 1 Jun 2012 14:29:03 +0000 (16:29 +0200)]
mpegtbase: ECM/CA sections don't have a CRC
So don't check for it :)
Also add a bit more info in the warning message to speed up detecting
whether it's a false-positive or not.
Mark Nauwelaerts [Fri, 1 Jun 2012 08:59:22 +0000 (10:59 +0200)]
codecparsers: mpeg: relax entry constraint
... since it is acceptable and properly handled further on.
Edward Hervey [Fri, 1 Jun 2012 08:29:06 +0000 (10:29 +0200)]
Automatic update of common submodule
From
f1b5a96 to
1fab359
Sebastian Dröge [Thu, 31 May 2012 11:08:34 +0000 (13:08 +0200)]
Automatic update of common submodule
From
92b7266 to
f1b5a96
Andoni Morales Alastruey [Tue, 29 May 2012 17:48:54 +0000 (10:48 -0700)]
dshowdecwrapper: add support for VC1 and fix plugins ranks
Andoni Morales Alastruey [Tue, 29 May 2012 17:48:03 +0000 (10:48 -0700)]
dshowdecwrapper: initialize debug properly
Andoni Morales Alastruey [Tue, 29 May 2012 17:43:43 +0000 (10:43 -0700)]
dshowdecwrapper: fix object disposal and finalization
Andoni Morales Alastruey [Wed, 30 May 2012 17:34:44 +0000 (10:34 -0700)]
d3dvideosink: don't flush after a device lost
Sebastian Dröge [Wed, 30 May 2012 11:54:11 +0000 (13:54 +0200)]
applemedia: Put the right flags into the right variable
Sebastian Dröge [Wed, 30 May 2012 10:45:36 +0000 (12:45 +0200)]
Automatic update of common submodule
From
ec1c4a8 to
92b7266
Sebastian Dröge [Wed, 30 May 2012 09:32:01 +0000 (11:32 +0200)]
configure: Revert accidentially committed stuff in last commit
Sebastian Dröge [Wed, 30 May 2012 09:24:06 +0000 (11:24 +0200)]
configure: Add OBJC specific compiler flags
See bug #643939.
Sebastian Dröge [Wed, 30 May 2012 09:23:52 +0000 (11:23 +0200)]
Automatic update of common submodule
From
3429ba6 to
ec1c4a8
Vincent Penquerc'h [Tue, 29 May 2012 16:24:02 +0000 (17:24 +0100)]
opusdec: read gain from the right place in the header
It's at byte offset 16, not 14.
Andre Moreira Magalhaes (andrunko) [Thu, 24 May 2012 14:11:00 +0000 (11:11 -0300)]
assrender: Refactoring and make core more similar to textoverlay
Especially the combining of the text and video buffers is now
almost the same as in textoverlay.
We should really get a base class for this.
Conflicts:
ext/assrender/gstassrender.c
ext/assrender/gstassrender.h
Edward Hervey [Mon, 28 May 2012 13:48:33 +0000 (15:48 +0200)]
dvb: Add more debugging to cam support
Edward Hervey [Tue, 24 Apr 2012 09:09:11 +0000 (11:09 +0200)]
dirac: Port to -base video classes
Conflicts:
ext/dirac/Makefile.am
Sebastian Dröge [Mon, 28 May 2012 14:42:59 +0000 (16:42 +0200)]
basevideo: Remove old video base classes
Sebastian Dröge [Mon, 28 May 2012 14:42:08 +0000 (16:42 +0200)]
schroedinger: Port to 0.11 again
Edward Hervey [Mon, 28 May 2012 05:58:52 +0000 (07:58 +0200)]
schrodec: We don't assume packetized input
Otherwise the parse vmethod nevers gets called
Edward Hervey [Tue, 24 Apr 2012 09:08:58 +0000 (11:08 +0200)]
schroedinger: Port to -base video classes
Conflicts:
ext/schroedinger/Makefile.am
ext/schroedinger/gstschrodec.c
ext/schroedinger/gstschroenc.c
Back to 0.10 state, needs porting again.
Sebastian Dröge [Mon, 28 May 2012 14:05:21 +0000 (16:05 +0200)]
vp8: Port to 0.11 again
Vincent Penquerc'h [Fri, 18 May 2012 11:46:55 +0000 (12:46 +0100)]
vp8enc: fix target bitrate config with libvpx 1.1.0
libvpx 1.1.0 disallows a bitrate of 0, which was used by
vp8enc as a default value.
Instead, we use the default libvpx bitrate, scaled to our
video size, if no bitrate was specified.
This fixes encoding VP8 video with libvpx 1.1.0.
https://bugzilla.gnome.org/show_bug.cgi?id=676245
Sebastian Dröge [Wed, 16 May 2012 12:04:28 +0000 (14:04 +0200)]
vp8enc: Update for GstVideoCodecFrame API changes
Thiago Santos [Fri, 27 Apr 2012 21:22:42 +0000 (18:22 -0300)]
vp8dec: Improve output_state handling
Avoid getting output_state for every buffer as that requires
getting the objectlock and doing reference counting. Store it locally
when it is created and use it.
Thiago Santos [Fri, 27 Apr 2012 12:05:57 +0000 (09:05 -0300)]
vp8dec: Use outputstate when copying output buffer data
Using the input state was causing a crash because the strides/offsets
would be wrong. Fix it by using the output as we are dealing with
the decoded frame.
Edward Hervey [Tue, 24 Apr 2012 09:08:41 +0000 (11:08 +0200)]
vp8: Port to -base video base classes
Conflicts:
ext/vp8/Makefile.am
ext/vp8/gstvp8dec.c
ext/vp8/gstvp8enc.c
Back to 0.10 state for now, need to be ported again.
Vincent Penquerc'h [Sun, 27 May 2012 22:41:24 +0000 (23:41 +0100)]
opusdec: do not assert on bad header, error out instead
Tim-Philipp Müller [Sat, 26 May 2012 23:00:20 +0000 (00:00 +0100)]
tests: don't use GstStructure API on tag lists
Edward Hervey [Sat, 26 May 2012 12:57:50 +0000 (14:57 +0200)]
mpegdesc: Add more comments/info
Namely where they belong to
Edward Hervey [Sat, 26 May 2012 12:57:23 +0000 (14:57 +0200)]
tsdemux: Make sure we have a language code before using it
Edward Hervey [Sat, 26 May 2012 12:11:24 +0000 (14:11 +0200)]
mpegtsbase: Check before getting descriptors from structure
Avoids spurious warnings. Not having those descriptors is nothing
fatal, so check their presence before trying to get them.
Edward Hervey [Sat, 26 May 2012 12:08:41 +0000 (14:08 +0200)]
pesparse: Be a bit more permissive with PTS/DTS parsing
According to the specifications a PTS_DTS_flags value of 0x01 is forbidden.
... but there are some rare files out there that do that.
Instead of erroring out, let's warn, carry on parsing accordingly.
If the packet is really corrupted there are enough checks afterward to
detect that.
Vincent Penquerc'h [Fri, 25 May 2012 21:20:07 +0000 (22:20 +0100)]
opusparse: heed test vector framing to eat any padding
This fixes parsing on one particular test vector where payload
data is smaller than the actual audio payload.
Edward Hervey [Fri, 25 May 2012 12:15:44 +0000 (14:15 +0200)]
mpegtsbase: Fix bit operation
"a % 8" corresponds to "a & 0x7" (and not 0xf).
spotted by Julian Scheel
Edward Hervey [Thu, 24 May 2012 14:22:42 +0000 (16:22 +0200)]
opusparse: Simplify check
Avoids a unset variable warning (for nframes) with gcc 4.7.0
Vincent Penquerc'h [Thu, 24 May 2012 21:12:56 +0000 (22:12 +0100)]
opus: reject major version number above what we grok
Vincent Penquerc'h [Thu, 24 May 2012 20:58:44 +0000 (21:58 +0100)]
opus: bump written version from 0 to 0x01
as per the spec update at https://wiki.xiph.org/OggOpus#ID_Header
Vincent Penquerc'h [Mon, 30 Apr 2012 13:40:02 +0000 (14:40 +0100)]
opusdec: fix lost packet handling for FEC/PLC
The base audio decoder sends zero size packets, not NULL buffers,
to signal dropped packets.
Sebastian Dröge [Thu, 24 May 2012 10:32:03 +0000 (12:32 +0200)]
Automatic update of common submodule
From
dc70203 to
3429ba6
Sebastian Rasmussen [Wed, 23 May 2012 16:19:52 +0000 (18:19 +0200)]
configure: suppress some warnings when debug is disabled
Warnings about unused variables should be suppressed if core has the
debug system disabled.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676672
Руслан Ижбулатов [Wed, 25 Apr 2012 17:21:43 +0000 (21:21 +0400)]
Port d3dvideosink to 0.11
Fixes #674817
Wim Taymans [Wed, 23 May 2012 10:07:14 +0000 (12:07 +0200)]
wayland: port to 0.11
Edward Hervey [Tue, 22 May 2012 16:55:38 +0000 (18:55 +0200)]
dvbbasebin: Emit no-more-pads when pad is added
This avoids an endless hang with playbin2, which sees dvbbasesbin as
having dynamic pads ... but never emitted no-more-pads.
Edward Hervey [Tue, 22 May 2012 16:53:16 +0000 (18:53 +0200)]
camutils: Fix PMT message construction
The size of the message ended up being bigger than its content.
That cause some CA modules to just hang.
Edward Hervey [Tue, 22 May 2012 16:51:34 +0000 (18:51 +0200)]
camtransport: Allow delay when setting up cam device
Some CA devices take a long time to set themselves up,
therefore retry every 250ms (for a maximum of 2.5s)
Edward Hervey [Tue, 22 May 2012 16:49:54 +0000 (18:49 +0200)]
dvbsrc: Fixup/add debug statements
Edward Hervey [Tue, 22 May 2012 16:48:07 +0000 (18:48 +0200)]
dvbsrc: Only open device read/write when needed
Avoid starting up kernel thread when not needed
Edward Hervey [Tue, 22 May 2012 16:46:09 +0000 (18:46 +0200)]
dvb: Add warning when dvb channels file isn't present
Edward Hervey [Wed, 23 May 2012 06:39:21 +0000 (08:39 +0200)]
mpegtsbase: Speed up _is_psi()
By making it inline and simplifying the bit macros
Mark Nauwelaerts [Tue, 22 May 2012 19:00:31 +0000 (21:00 +0200)]
mpegvideoparse: avoid scanning for start codes twice
... since a previous terminating start code serves as subsequent start code.
Edward Hervey [Tue, 22 May 2012 17:11:29 +0000 (19:11 +0200)]
dvb: Fixups for latest API changes
Julian Scheel [Tue, 10 Apr 2012 10:36:15 +0000 (12:36 +0200)]
tsdemux: Add language code to taglist.
Read the language codes for tracks from the mpegts descriptors and add it into
the pads taglist.
https://bugzilla.gnome.org/show_bug.cgi?id=673896
Edward Hervey [Mon, 21 May 2012 15:53:37 +0000 (17:53 +0200)]
tsdemux: Adapt to new packetizer API
We no longer use GstBufferList and instead copy the incoming data
into newly allocated memory.
This makes tsdemux behaviour 3 to 4 times faster.
Edward Hervey [Mon, 21 May 2012 15:53:15 +0000 (17:53 +0200)]
tsparse: Adapt to new packetizer API
Edward Hervey [Mon, 21 May 2012 15:52:46 +0000 (17:52 +0200)]
mpegtsbase: Adapt to new packetizer behaviour
Edward Hervey [Mon, 21 May 2012 15:48:54 +0000 (17:48 +0200)]
mpegtspacketizer: Avoid usage of GstBuffer internally
The overhead of creating/using 188 byte GstBuffer from GstAdapter
is too expensive.
We now peek the next packet, and provide a data/size which is only
valid until the packetizerpacket is cleared.
In addition, cleanup all the internal code to deal with that new
behaviour and remove double-checks which are no longer needed.
The section_length is now the corrected section_length (i.e. with
the additional 3 bytes).
Avoid using gst_adapter_prev_timestamp and instead track
the timestamp ourself.
Edward Hervey [Sun, 20 May 2012 11:27:29 +0000 (13:27 +0200)]
mpegtspacketizer: Detect PCR wraparound in skew code
If the received PCR is going backwards (by a safe margin), include
that wraparound for further calculation.
https://bugzilla.gnome.org/show_bug.cgi?id=674536
Mark Nauwelaerts [Tue, 22 May 2012 12:48:40 +0000 (14:48 +0200)]
videoparsers: avoid repeated caps setting
Mark Nauwelaerts [Tue, 22 May 2012 12:00:36 +0000 (14:00 +0200)]
mpegvideoparse: tweak codec parser API and adjust parser element
... to allow for more efficient parsing and (more) consistent parsing API
among various codec parsers.
Fixes #672701.
Conflicts:
gst/videoparsers/gstmpegvideoparse.c
Mark Nauwelaerts [Tue, 22 May 2012 10:30:07 +0000 (12:30 +0200)]
codecparsers: mpeg4: fixup documentation spelling
Nicolas Dufresne [Tue, 8 May 2012 20:51:11 +0000 (16:51 -0400)]
mpegvideoparser: Optimize scanning for start code
https://bugzilla.gnome.org/show_bug.cgi?id=672701
Vincent Penquerc'h [Fri, 18 May 2012 11:46:55 +0000 (12:46 +0100)]
vp8enc: fix target bitrate config with libvpx 1.1.0
libvpx 1.1.0 disallows a bitrate of 0, which was used by
vp8enc as a default value.
Instead, we use the default libvpx bitrate, scaled to our
video size, if no bitrate was specified.
This fixes encoding VP8 video with libvpx 1.1.0.
https://bugzilla.gnome.org/show_bug.cgi?id=676245
Sebastian Dröge [Tue, 22 May 2012 09:10:24 +0000 (11:10 +0200)]
frei0r: Double properties are supposed in the range [0.0, 1.0]
Fixes bug #676137.
Mark Nauwelaerts [Mon, 21 May 2012 17:22:19 +0000 (19:22 +0200)]
mpegvideoparse: unobfuscate frame parsing
... and add comments and debug statements.
Fixes #674202.
Conflicts:
gst/videoparsers/gstmpegvideoparse.c
Mark Nauwelaerts [Mon, 21 May 2012 14:37:37 +0000 (16:37 +0200)]
mpegvideoparse: Revert "fix crash"
This reverts commit
91210831ee672343a296f31357144359d5c2e768.
Such explicit reset should not be needed as it is arranged for by
the baseclass in unison with monitoring for a new frame by subclass.
As such it might wrongfully hide something else going on ...
See #674073.
Mark Nauwelaerts [Mon, 21 May 2012 13:24:25 +0000 (15:24 +0200)]
codecparsers: mpegvideoparser: fix buffer size check
... to mind unsigned integer wrap
Based on patch by Alban Browaeys <prahal@yahoo.com>
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=673436
Mark Nauwelaerts [Mon, 21 May 2012 13:09:02 +0000 (15:09 +0200)]
tests: mpegvideoparse: fix unit test regression
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676097
Conflicts:
tests/check/elements/mpegvideoparse.c
Tim-Philipp Müller [Sat, 19 May 2012 14:34:25 +0000 (15:34 +0100)]
autoconvert: don't access GstElementFactory structure directly
Mark Nauwelaerts [Fri, 18 May 2012 14:17:13 +0000 (16:17 +0200)]
codecparsers: mpeg4: do not expect a marker bit where not specified
Fixes #672447.
Julian Scheel [Wed, 16 May 2012 14:15:58 +0000 (16:15 +0200)]
tsdemux: flush on pusi only for payload packets
Data should not be flushed out of the tsdemux because a payload unit start
indicator (pusi) is seen in a adaptation only ts packet. If the package contains no
payload a pusi does not indicate a new PES packet, but PSI information, etc.
This fixes playback of several TS files which contain ts packets without
payload but with pusi set to 1.
https://bugzilla.gnome.org/show_bug.cgi?id=676168
Edward Hervey [Fri, 18 May 2012 08:15:15 +0000 (10:15 +0200)]
tsdemux: Don't queue data for streams that don't have a pad
This would result in an error further down, and it also avoids processing
for that data which we wouldn't be using anyway.
Edward Hervey [Fri, 18 May 2012 08:13:19 +0000 (10:13 +0200)]
tsdemux: Detect and handle scrambled packets
Users (tsdemux/mpegtsparse) can decide what to do with that
Edward Hervey [Fri, 18 May 2012 08:07:56 +0000 (10:07 +0200)]
tsdemux: Emit no-more-pads when all pads are activated
Fixes #670921 again
Luis de Bethencourt [Thu, 17 May 2012 10:15:22 +0000 (11:15 +0100)]
gaudieffects: add fallback code for orc
this includes an improved version of the burn filter, with a ~40% speed
improvement.
Luis de Bethencourt [Thu, 17 May 2012 09:49:11 +0000 (10:49 +0100)]
configure: bump the orc version required to 0.4.16
Some opcodes have changed so they would fail to build with 0.4.14
Luis de Bethencourt [Thu, 17 May 2012 08:47:08 +0000 (09:47 +0100)]
gaudieffects: use CLAMP in solarize
No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.
Luis de Bethencourt [Thu, 17 May 2012 08:46:37 +0000 (09:46 +0100)]
gaudieffects: use CLAMP in exclusion
No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.
Luis de Bethencourt [Thu, 17 May 2012 08:45:52 +0000 (09:45 +0100)]
gaudieffects: use CLAMP in dodge
No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.