platform/upstream/gstreamer.git
12 years agotests: mpegtsmux: adjust to modified buffer collect behaviour
Mark Nauwelaerts [Fri, 8 Jun 2012 09:55:35 +0000 (11:55 +0200)]
tests: mpegtsmux: adjust to modified buffer collect behaviour

12 years agotests: mpegvideoparser: adjust to modified API
Mark Nauwelaerts [Fri, 8 Jun 2012 09:12:06 +0000 (11:12 +0200)]
tests: mpegvideoparser: adjust to modified API

12 years agompegtsmux: drain cached data upon EOS
Mark Nauwelaerts [Thu, 7 Jun 2012 15:43:06 +0000 (17:43 +0200)]
mpegtsmux: drain cached data upon EOS

12 years agompegtsmux: allow for aligned output
Mark Nauwelaerts [Thu, 7 Jun 2012 15:38:51 +0000 (17:38 +0200)]
mpegtsmux: allow for aligned output

... and refactor packet handling some more in the process.

Fixes #651805.

12 years agompegtsmux: improve m2ts timestamp interpolation
Mark Nauwelaerts [Thu, 7 Jun 2012 12:38:10 +0000 (14:38 +0200)]
mpegtsmux: improve m2ts timestamp interpolation

* a known PCR should really belong to a packet holding that PCR
* interpolation can be extended backward for initial packets (PAT, PMT)

12 years agompegtsmux: tweak output buffer timestamping
Mark Nauwelaerts [Thu, 7 Jun 2012 10:17:24 +0000 (12:17 +0200)]
mpegtsmux: tweak output buffer timestamping

12 years agoBack to development
Sebastian Dröge [Thu, 7 Jun 2012 14:23:25 +0000 (16:23 +0200)]
Back to development

12 years agoRelease 0.11.92
Sebastian Dröge [Thu, 7 Jun 2012 14:23:09 +0000 (16:23 +0200)]
Release 0.11.92

12 years agoUpdate .po files
Sebastian Dröge [Thu, 7 Jun 2012 14:22:49 +0000 (16:22 +0200)]
Update .po files

12 years agovp8: fix codec state leaks
Vincent Penquerc'h [Thu, 7 Jun 2012 11:33:31 +0000 (12:33 +0100)]
vp8: fix codec state leaks

I only tested that vp8enc ! vp8dec does not crash, as valgrind does not grok
at least one of the instructions used by vp8enc, preventing me from checking
a leak, and the lack of one after the patch.

12 years agodiracenc: fix buffer leak
Vincent Penquerc'h [Thu, 7 Jun 2012 11:25:03 +0000 (12:25 +0100)]
diracenc: fix buffer leak

12 years agodiracenc: fix frame leaks
Vincent Penquerc'h [Thu, 7 Jun 2012 11:16:21 +0000 (12:16 +0100)]
diracenc: fix frame leaks

12 years agodiracenc: fix codec state leak
Vincent Penquerc'h [Thu, 7 Jun 2012 11:01:31 +0000 (12:01 +0100)]
diracenc: fix codec state leak

12 years agodiracenc: fix stray unref causing access to freed memory
Vincent Penquerc'h [Thu, 7 Jun 2012 10:58:53 +0000 (11:58 +0100)]
diracenc: fix stray unref causing access to freed memory

12 years agoschroedinger: fix video codec state leaks
Vincent Penquerc'h [Thu, 7 Jun 2012 10:52:12 +0000 (11:52 +0100)]
schroedinger: fix video codec state leaks

12 years agoAutomatic update of common submodule
Edward Hervey [Wed, 6 Jun 2012 16:18:54 +0000 (18:18 +0200)]
Automatic update of common submodule

From 1fab359 to 03a0e57

12 years agogme: update for tag event change
Wim Taymans [Wed, 6 Jun 2012 14:00:45 +0000 (16:00 +0200)]
gme: update for tag event change

12 years agoconfigure: Fix the wayland version
Sreerenj Balachandran [Sat, 2 Jun 2012 22:58:12 +0000 (01:58 +0300)]
configure: Fix the wayland version

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

12 years agoupdate for tag event change
Wim Taymans [Wed, 6 Jun 2012 11:02:40 +0000 (13:02 +0200)]
update for tag event change

12 years agobayer: fix output frame map
Wim Taymans [Wed, 6 Jun 2012 09:14:14 +0000 (11:14 +0200)]
bayer: fix output frame map

12 years agoh264parser: Remove un-needed checks and inline some functions
Edward Hervey [Tue, 5 Jun 2012 15:57:41 +0000 (17:57 +0200)]
h264parser: Remove un-needed checks and inline some functions

val and nr always exist (&nr, &value)
bits is always called smaller than the width

Makes parsing 30% faster

12 years agompegtsmux: more header clarifications and remove some redundant fields
Mark Nauwelaerts [Tue, 5 Jun 2012 16:03:10 +0000 (18:03 +0200)]
mpegtsmux: more header clarifications and remove some redundant fields

12 years agompegtsmux: avoid PID collision for auto-generated PID
Mark Nauwelaerts [Tue, 5 Jun 2012 12:18:34 +0000 (14:18 +0200)]
mpegtsmux: avoid PID collision for auto-generated PID

12 years agotsmux: inline more code
Edward Hervey [Tue, 5 Jun 2012 14:59:44 +0000 (16:59 +0200)]
tsmux: inline more code

With the previous commit, makes mpegtsmux 10 to 15% faster

12 years agompegtsmux: Don't use g_list_first ()
Edward Hervey [Tue, 5 Jun 2012 14:58:43 +0000 (16:58 +0200)]
mpegtsmux: Don't use g_list_first ()

Seriously ...

12 years agompegtsmux: also properly reset and free pad data
Mark Nauwelaerts [Tue, 5 Jun 2012 10:17:26 +0000 (12:17 +0200)]
mpegtsmux: also properly reset and free pad data

12 years agompegtsmux: refactor init using _reset to cater for proper reuse
Mark Nauwelaerts [Tue, 5 Jun 2012 09:52:14 +0000 (11:52 +0200)]
mpegtsmux: refactor init using _reset to cater for proper reuse

12 years agompegtsmux: header cleanups and clarifications
Mark Nauwelaerts [Mon, 4 Jun 2012 14:24:05 +0000 (16:24 +0200)]
mpegtsmux: header cleanups and clarifications

12 years agompegtsmux: tweak buffer handling
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

12 years agompegtsmux: misc code cleanups and refactoring
Mark Nauwelaerts [Mon, 4 Jun 2012 14:03:20 +0000 (16:03 +0200)]
mpegtsmux: misc code cleanups and refactoring

12 years agompegtsmux: avoid separate allocation for list of programs
Mark Nauwelaerts [Mon, 4 Jun 2012 12:54:55 +0000 (14:54 +0200)]
mpegtsmux: avoid separate allocation for list of programs

12 years agompegtsmux: rearrange define's
Mark Nauwelaerts [Mon, 4 Jun 2012 12:54:08 +0000 (14:54 +0200)]
mpegtsmux: rearrange define's

12 years agompegtsmux: removed hacked event handling
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.

12 years agompegtsdemux: Also parse TOT (Time Offset Section)
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

12 years agompegtsdemux: FIXME/Comment about issues/errors
Edward Hervey [Tue, 5 Jun 2012 07:52:42 +0000 (09:52 +0200)]
mpegtsdemux: FIXME/Comment about issues/errors

12 years agompegtspacketizer: Fix leak
Edward Hervey [Tue, 5 Jun 2012 07:48:04 +0000 (09:48 +0200)]
mpegtspacketizer: Fix leak

12 years agompegtspacketizer: Reduce usage of GstAdapter
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).

12 years agompegtspacketizer: Avoid alloc/free where possible
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

12 years agompegtbase: Add more sections that don't have a CRC
Edward Hervey [Mon, 4 Jun 2012 06:37:44 +0000 (08:37 +0200)]
mpegtbase: Add more sections that don't have a CRC

12 years agompegdefs: Add list of known table_id
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

12 years agompegtspacketizer: Clarify debug statements
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).

12 years agompegtsbase/packetizer: Add CAT section handling
Edward Hervey [Sun, 3 Jun 2012 08:56:28 +0000 (10:56 +0200)]
mpegtsbase/packetizer: Add CAT section handling

Allows reporting the global EMM

12 years agompegtbase: Add more debug in PSI handling
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

12 years agompegtbase: Add more default known PSI table_id
Edward Hervey [Sun, 3 Jun 2012 08:53:13 +0000 (10:53 +0200)]
mpegtbase: Add more default known PSI table_id

12 years agompegtbase: Refactor PSI detection
Edward Hervey [Sat, 2 Jun 2012 06:06:24 +0000 (08:06 +0200)]
mpegtbase: Refactor PSI detection

12 years agowin32: Update config.h
Sebastian Dröge [Tue, 5 Jun 2012 07:30:35 +0000 (09:30 +0200)]
win32: Update config.h

12 years agovideoparsers: Fix GstBaseParse::get_sink_caps() implementations
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.

12 years agompegtbase: ECM/CA sections don't have a CRC
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.

12 years agocodecparsers: mpeg: relax entry constraint
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.

12 years agoAutomatic update of common submodule
Edward Hervey [Fri, 1 Jun 2012 08:29:06 +0000 (10:29 +0200)]
Automatic update of common submodule

From f1b5a96 to 1fab359

12 years agoAutomatic update of common submodule
Sebastian Dröge [Thu, 31 May 2012 11:08:34 +0000 (13:08 +0200)]
Automatic update of common submodule

From 92b7266 to f1b5a96

12 years agodshowdecwrapper: add support for VC1 and fix plugins ranks
Andoni Morales Alastruey [Tue, 29 May 2012 17:48:54 +0000 (10:48 -0700)]
dshowdecwrapper: add support for VC1 and fix plugins ranks

12 years agodshowdecwrapper: initialize debug properly
Andoni Morales Alastruey [Tue, 29 May 2012 17:48:03 +0000 (10:48 -0700)]
dshowdecwrapper: initialize debug properly

12 years agodshowdecwrapper: fix object disposal and finalization
Andoni Morales Alastruey [Tue, 29 May 2012 17:43:43 +0000 (10:43 -0700)]
dshowdecwrapper: fix object disposal and finalization

12 years agod3dvideosink: don't flush after a device lost
Andoni Morales Alastruey [Wed, 30 May 2012 17:34:44 +0000 (10:34 -0700)]
d3dvideosink: don't flush after a device lost

12 years agoapplemedia: Put the right flags into the right variable
Sebastian Dröge [Wed, 30 May 2012 11:54:11 +0000 (13:54 +0200)]
applemedia: Put the right flags into the right variable

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 30 May 2012 10:45:36 +0000 (12:45 +0200)]
Automatic update of common submodule

From ec1c4a8 to 92b7266

12 years agoconfigure: Revert accidentially committed stuff in last commit
Sebastian Dröge [Wed, 30 May 2012 09:32:01 +0000 (11:32 +0200)]
configure: Revert accidentially committed stuff in last commit

12 years agoconfigure: Add OBJC specific compiler flags
Sebastian Dröge [Wed, 30 May 2012 09:24:06 +0000 (11:24 +0200)]
configure: Add OBJC specific compiler flags

See bug #643939.

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 30 May 2012 09:23:52 +0000 (11:23 +0200)]
Automatic update of common submodule

From 3429ba6 to ec1c4a8

12 years agoopusdec: read gain from the right place in the header
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.

12 years agoassrender: Refactoring and make core more similar to textoverlay
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

12 years agodvb: Add more debugging to cam support
Edward Hervey [Mon, 28 May 2012 13:48:33 +0000 (15:48 +0200)]
dvb: Add more debugging to cam support

12 years agodirac: Port to -base video classes
Edward Hervey [Tue, 24 Apr 2012 09:09:11 +0000 (11:09 +0200)]
dirac: Port to -base video classes

Conflicts:

ext/dirac/Makefile.am

12 years agobasevideo: Remove old video base classes
Sebastian Dröge [Mon, 28 May 2012 14:42:59 +0000 (16:42 +0200)]
basevideo: Remove old video base classes

12 years agoschroedinger: Port to 0.11 again
Sebastian Dröge [Mon, 28 May 2012 14:42:08 +0000 (16:42 +0200)]
schroedinger: Port to 0.11 again

12 years agoschrodec: We don't assume packetized input
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

12 years agoschroedinger: Port to -base video classes
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.

12 years agovp8: Port to 0.11 again
Sebastian Dröge [Mon, 28 May 2012 14:05:21 +0000 (16:05 +0200)]
vp8: Port to 0.11 again

12 years agovp8enc: fix target bitrate config with libvpx 1.1.0
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

12 years agovp8enc: Update for GstVideoCodecFrame API changes
Sebastian Dröge [Wed, 16 May 2012 12:04:28 +0000 (14:04 +0200)]
vp8enc: Update for GstVideoCodecFrame API changes

12 years agovp8dec: Improve output_state handling
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.

12 years agovp8dec: Use outputstate when copying output buffer data
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.

12 years agovp8: Port to -base video base classes
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.

12 years agoopusdec: do not assert on bad header, error out instead
Vincent Penquerc'h [Sun, 27 May 2012 22:41:24 +0000 (23:41 +0100)]
opusdec: do not assert on bad header, error out instead

12 years agotests: don't use GstStructure API on tag lists
Tim-Philipp Müller [Sat, 26 May 2012 23:00:20 +0000 (00:00 +0100)]
tests: don't use GstStructure API on tag lists

12 years agompegdesc: Add more comments/info
Edward Hervey [Sat, 26 May 2012 12:57:50 +0000 (14:57 +0200)]
mpegdesc: Add more comments/info

Namely where they belong to

12 years agotsdemux: Make sure we have a language code before using it
Edward Hervey [Sat, 26 May 2012 12:57:23 +0000 (14:57 +0200)]
tsdemux: Make sure we have a language code before using it

12 years agompegtsbase: Check before getting descriptors from structure
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.

12 years agopesparse: Be a bit more permissive with PTS/DTS parsing
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.

12 years agoopusparse: heed test vector framing to eat any padding
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.

12 years agompegtsbase: Fix bit operation
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

12 years agoopusparse: Simplify check
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

12 years agoopus: reject major version number above what we grok
Vincent Penquerc'h [Thu, 24 May 2012 21:12:56 +0000 (22:12 +0100)]
opus: reject major version number above what we grok

12 years agoopus: bump written version from 0 to 0x01
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

12 years agoopusdec: fix lost packet handling for FEC/PLC
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.

12 years agoAutomatic update of common submodule
Sebastian Dröge [Thu, 24 May 2012 10:32:03 +0000 (12:32 +0200)]
Automatic update of common submodule

From dc70203 to 3429ba6

12 years agoconfigure: suppress some warnings when debug is disabled
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

12 years agoPort d3dvideosink to 0.11
Руслан Ижбулатов [Wed, 25 Apr 2012 17:21:43 +0000 (21:21 +0400)]
Port d3dvideosink to 0.11

Fixes #674817

12 years agowayland: port to 0.11
Wim Taymans [Wed, 23 May 2012 10:07:14 +0000 (12:07 +0200)]
wayland: port to 0.11

12 years agodvbbasebin: Emit no-more-pads when pad is added
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.

12 years agocamutils: Fix PMT message construction
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.

12 years agocamtransport: Allow delay when setting up cam device
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)

12 years agodvbsrc: Fixup/add debug statements
Edward Hervey [Tue, 22 May 2012 16:49:54 +0000 (18:49 +0200)]
dvbsrc: Fixup/add debug statements

12 years agodvbsrc: Only open device read/write when needed
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

12 years agodvb: Add warning when dvb channels file isn't present
Edward Hervey [Tue, 22 May 2012 16:46:09 +0000 (18:46 +0200)]
dvb: Add warning when dvb channels file isn't present

12 years agompegtsbase: Speed up _is_psi()
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

12 years agompegvideoparse: avoid scanning for start codes twice
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.

12 years agodvb: Fixups for latest API changes
Edward Hervey [Tue, 22 May 2012 17:11:29 +0000 (19:11 +0200)]
dvb: Fixups for latest API changes

12 years agotsdemux: Add language code to taglist.
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