platform/upstream/gst-plugins-bad.git
12 years agoteletext: #if0 code that never happens
Edward Hervey [Wed, 20 Jun 2012 08:59:08 +0000 (10:59 +0200)]
teletext: #if0 code that never happens

The only place this method is called is with lofp being a guint8 (from
a data block).

12 years agoteletextdec: Use proper variable type
Edward Hervey [Wed, 20 Jun 2012 08:58:32 +0000 (10:58 +0200)]
teletextdec: Use proper variable type

12 years agoupdate for bus api changes
Wim Taymans [Wed, 20 Jun 2012 10:31:19 +0000 (12:31 +0200)]
update for bus api changes

12 years agotests: mpegtsmux: port test to 0.11
Mark Nauwelaerts [Wed, 20 Jun 2012 10:19:55 +0000 (12:19 +0200)]
tests: mpegtsmux: port test to 0.11

12 years agompegtsmux: fix value handling in pad iteration
Mark Nauwelaerts [Wed, 20 Jun 2012 10:17:37 +0000 (12:17 +0200)]
mpegtsmux: fix value handling in pad iteration

12 years agoupdate for task api change
Wim Taymans [Wed, 20 Jun 2012 08:34:48 +0000 (10:34 +0200)]
update for task api change

12 years agompegtsmux: fix memory leak
Matej Knopp [Wed, 20 Jun 2012 02:45:27 +0000 (22:45 -0400)]
mpegtsmux: fix memory leak

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

12 years agodvb: Detect more issues with configuration file
Edward Hervey [Tue, 19 Jun 2012 08:35:48 +0000 (10:35 +0200)]
dvb: Detect more issues with configuration file

Report useful errors when:
* file is present but empty
* requested channel is not present

12 years agodvbbasebin: Emit an error when we fail reading the channels file
Edward Hervey [Tue, 19 Jun 2012 08:22:50 +0000 (10:22 +0200)]
dvbbasebin: Emit an error when we fail reading the channels file

Conflicts:

sys/dvb/dvbbasebin.c

12 years agodvbsrc: spell-check
Fabrizio (Misto) Milo [Tue, 1 Feb 2011 18:23:04 +0000 (10:23 -0800)]
dvbsrc: spell-check

12 years agodvb: better dvsrc polarity info
Fabrizio (Misto) Milo [Sat, 15 Jan 2011 03:30:08 +0000 (19:30 -0800)]
dvb: better dvsrc polarity info

12 years agoteletext: Fix initialization
Edward Hervey [Mon, 18 Jun 2012 09:36:15 +0000 (11:36 +0200)]
teletext: Fix initialization

We always ended up erroring on the first page otherwise

Conflicts:

ext/teletextdec/gstteletextdec.c

12 years agompegtspacketizer: Don't use GByteArray
Edward Hervey [Sun, 10 Jun 2012 09:36:32 +0000 (11:36 +0200)]
mpegtspacketizer: Don't use GByteArray

Using a simple array comes to the same result for a fraction of the cost

12 years agompegtbase: Avoid copying GstStructure
Edward Hervey [Sun, 10 Jun 2012 09:21:41 +0000 (11:21 +0200)]
mpegtbase: Avoid copying GstStructure

12 years agompegdesc: Don't allocate/free GstMPEGDescriptor
Edward Hervey [Fri, 8 Jun 2012 13:12:30 +0000 (15:12 +0200)]
mpegdesc: Don't allocate/free GstMPEGDescriptor

Just use static variables

12 years agompegdemux: rename plugin to mpegpsdemux
Tim-Philipp Müller [Sat, 16 Jun 2012 15:49:10 +0000 (16:49 +0100)]
mpegdemux: rename plugin to mpegpsdemux

12 years agompegdemux: remove unused TS demuxer bits that have moved to tsdemux
Tim-Philipp Müller [Sat, 16 Jun 2012 15:30:17 +0000 (16:30 +0100)]
mpegdemux: remove unused TS demuxer bits that have moved to tsdemux

12 years agompegtsmux: remove obsolete struct field
Mark Nauwelaerts [Sat, 16 Jun 2012 17:20:29 +0000 (19:20 +0200)]
mpegtsmux: remove obsolete struct field

12 years agompegtsmux: add support for DVB subtitle and teletext streams
Mark Nauwelaerts [Sat, 16 Jun 2012 14:50:43 +0000 (16:50 +0200)]
mpegtsmux: add support for DVB subtitle and teletext streams

See bug #673582.

Conflicts:

gst/mpegtsmux/Makefile.am

12 years agompegtsmux: optionally use fixed-size PES header
Mark Nauwelaerts [Sat, 16 Jun 2012 14:50:39 +0000 (16:50 +0200)]
mpegtsmux: optionally use fixed-size PES header

12 years agompegtsmux: only write PTS and DTS if different
Mark Nauwelaerts [Sat, 16 Jun 2012 14:50:36 +0000 (16:50 +0200)]
mpegtsmux: only write PTS and DTS if different

12 years agompegtsmux: optionally set data_alignment flag in PES header
Mark Nauwelaerts [Sat, 16 Jun 2012 14:50:32 +0000 (16:50 +0200)]
mpegtsmux: optionally set data_alignment flag in PES header

12 years agompegtsmux: re-enable inadvertent disabled code
Mark Nauwelaerts [Sat, 16 Jun 2012 14:50:27 +0000 (16:50 +0200)]
mpegtsmux: re-enable inadvertent disabled code

12 years agotests: mpegtsmux: adjust again to modified buffer collect behaviour
Mark Nauwelaerts [Sat, 16 Jun 2012 14:44:32 +0000 (16:44 +0200)]
tests: mpegtsmux: adjust again to modified buffer collect behaviour

... by effectively reverting previous adjustment.

12 years agompegtsmux: use default CollectPads collect heuristic
Mark Nauwelaerts [Sat, 16 Jun 2012 14:49:34 +0000 (16:49 +0200)]
mpegtsmux: use default CollectPads collect heuristic

... with an appropriately custom buffer clip function to arrange for
buffer processing.

Conflicts:

gst/mpegtsmux/mpegtsmux.c
gst/mpegtsmux/mpegtsmux.h

12 years agompegtsmux: Fix compiler warnings
Raimo Järvi [Sat, 16 Jun 2012 12:54:49 +0000 (15:54 +0300)]
mpegtsmux: Fix compiler warnings

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

12 years agompegtsmux: fix ported segment init
Mark Nauwelaerts [Sat, 16 Jun 2012 17:17:49 +0000 (19:17 +0200)]
mpegtsmux: fix ported segment init

12 years agompegtsmux: port to 0.11
Matej Knopp [Thu, 14 Jun 2012 21:49:55 +0000 (14:49 -0700)]
mpegtsmux: port to 0.11

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

12 years agod3dvideosink: don't recreate the d3d device if it already exists
Andoni Morales Alastruey [Fri, 15 Jun 2012 11:00:37 +0000 (13:00 +0200)]
d3dvideosink: don't recreate the d3d device if it already exists

12 years agojasper: Rename from jp2k to jasper
Sebastian Dröge [Fri, 15 Jun 2012 09:41:26 +0000 (11:41 +0200)]
jasper: Rename from jp2k to jasper

Jasper is not the only JPEG2000 library out there and we
might want to add encoders/decoders based on OpenJPEG for example.

12 years agoopusenc: add missing mutex unlock on error path
Vincent Penquerc'h [Fri, 15 Jun 2012 09:32:39 +0000 (10:32 +0100)]
opusenc: add missing mutex unlock on error path

12 years agoopus: set author to myself, and update copyright notices
Vincent Penquerc'h [Fri, 15 Jun 2012 09:24:24 +0000 (10:24 +0100)]
opus: set author to myself, and update copyright notices

because as slomo noted, in fact pretty much all the code in there is mine.

12 years agod3dvideosink: don't create new internal windows if we already have one
Andoni Morales Alastruey [Thu, 14 Jun 2012 22:58:43 +0000 (00:58 +0200)]
d3dvideosink: don't create new internal windows if we already have one

12 years agorfbsrc: Fix compiling in Windows
Raimo Järvi [Fri, 8 Jun 2012 20:01:26 +0000 (23:01 +0300)]
rfbsrc: Fix compiling in Windows

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

12 years agoresindvd: rename the lib from libresindvd to libgstresindvd
Vincent Penquerc'h [Mon, 11 Jun 2012 12:10:43 +0000 (13:10 +0100)]
resindvd: rename the lib from libresindvd to libgstresindvd

For consistency.

12 years agoresindvd: guard against not finding some data on a DVD
Vincent Penquerc'h [Thu, 7 Jun 2012 14:06:34 +0000 (15:06 +0100)]
resindvd: guard against not finding some data on a DVD

May possibly help with a particular DVD.

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

12 years agocurlfilesink: Remove stray debug prints
Sebastian Rasmussen [Thu, 14 Jun 2012 00:47:10 +0000 (02:47 +0200)]
curlfilesink: Remove stray debug prints

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

12 years agolcs: remove old LCS colorspace conversion plugin
Tim-Philipp Müller [Tue, 12 Jun 2012 20:35:10 +0000 (21:35 +0100)]
lcs: remove old LCS colorspace conversion plugin

Wasn't even ported to 0.10, and even back in the day
no one knew where the corresponding lib was from.

12 years agochart: remove old plugin that has never been ported to 0.10
Tim-Philipp Müller [Tue, 12 Jun 2012 20:29:18 +0000 (21:29 +0100)]
chart: remove old plugin that has never been ported to 0.10

12 years agovideodrop: drop videodrop
Tim-Philipp Müller [Tue, 12 Jun 2012 20:20:38 +0000 (21:20 +0100)]
videodrop: drop videodrop

It was never even ported to 0.10, and videorate does its job now.

12 years agoarts: remove aRts-related plugins
Tim-Philipp Müller [Tue, 12 Jun 2012 20:16:52 +0000 (21:16 +0100)]
arts: remove aRts-related plugins

aRts development stopped in 2004, it's unlikely ever is
still using it. Besides, these elements were never even
ported to 0.10.

12 years agoshout: remove old shout plugin that has never been ported to 0.10
Tim-Philipp Müller [Tue, 12 Jun 2012 20:02:23 +0000 (21:02 +0100)]
shout: remove old shout plugin that has never been ported to 0.10

There's shout2 in -good now.

12 years agohermes: remove hermes colorspace converter that was never ported to 0.10
Tim-Philipp Müller [Tue, 12 Jun 2012 19:35:50 +0000 (20:35 +0100)]
hermes: remove hermes colorspace converter that was never ported to 0.10

12 years agolegacyresample: remove legacy plugin
Tim-Philipp Müller [Tue, 12 Jun 2012 18:06:51 +0000 (19:06 +0100)]
legacyresample: remove legacy plugin

12 years agoaudioresample: remove old audioresample plugin that was never even ported to 0.10
Tim-Philipp Müller [Tue, 12 Jun 2012 18:02:57 +0000 (19:02 +0100)]
audioresample: remove old audioresample plugin that was never even ported to 0.10

12 years agochromaprint: update for new tag event API
Tim-Philipp Müller [Tue, 12 Jun 2012 17:53:13 +0000 (18:53 +0100)]
chromaprint: update for new tag event API

12 years agodivx: remove plugin that the world doesn't need any more
Tim-Philipp Müller [Tue, 12 Jun 2012 17:47:21 +0000 (18:47 +0100)]
divx: remove plugin that the world doesn't need any more

2002 called.

12 years agodvdspu: Fix array type
Edward Hervey [Tue, 12 Jun 2012 08:59:39 +0000 (10:59 +0200)]
dvdspu: Fix array type

We wanted an array of guint8 (and not an array of pointers) to store
the data from gst_buffer_extract() and read it.

12 years agofaad: don't access buffer after _finish_frame
Wim Taymans [Tue, 12 Jun 2012 07:10:54 +0000 (09:10 +0200)]
faad: don't access buffer after _finish_frame

Unmap the buffer before calling _finish_frame because we are not allowed to
access it after.

12 years agompegtsmux: sprinkle some more debug catering
Mark Nauwelaerts [Mon, 11 Jun 2012 14:45:53 +0000 (16:45 +0200)]
mpegtsmux: sprinkle some more debug catering

12 years agompegtsmux: add SPN/PTS indexing capabilities
Mark Nauwelaerts [Mon, 11 Jun 2012 14:44:02 +0000 (16:44 +0200)]
mpegtsmux: add SPN/PTS indexing capabilities

Based on patch by Andreas Frisch <fraxinas@opendreambox.org>

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

12 years agompegtsmux: avoid memcpy due to temporary packet buffer
Mark Nauwelaerts [Mon, 11 Jun 2012 12:03:26 +0000 (14:03 +0200)]
mpegtsmux: avoid memcpy due to temporary packet buffer

... by writing directly into the output buffer instead.

12 years agoh264parser: do not assert on data input, just return
Vincent Penquerc'h [Mon, 11 Jun 2012 09:49:15 +0000 (10:49 +0100)]
h264parser: do not assert on data input, just return

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

12 years agodvdspu: allow debugging of render and highlight rectangles via environment variable
Tim-Philipp Müller [Sun, 10 Jun 2012 13:29:58 +0000 (14:29 +0100)]
dvdspu: allow debugging of render and highlight rectangles via environment variable

Enable debugging of rectangles via GST_DVD_SPU_DEBUG.

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

Conflicts:

gst/dvdspu/gstspu-vobsub-render.c

12 years agodvdspu: cleanup debug code
Rob Clark [Sun, 1 Jan 2012 00:35:40 +0000 (18:35 -0600)]
dvdspu: cleanup debug code

Clean up debug code for drawing highlight rects which wasn't even
compiling previously.

TODO: might be nice if this could be controlled by properties or
env variables to make it possible to enable the debug code at
runtime.

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

Conflicts:

gst/dvdspu/gstspu-vobsub-render.c

12 years agompegtsmux: plug leaks when freeing stream
Mark Nauwelaerts [Fri, 8 Jun 2012 15:14:09 +0000 (17:14 +0200)]
mpegtsmux: plug leaks when freeing stream

12 years agotests: mpegtsmux: plug some leaks
Mark Nauwelaerts [Fri, 8 Jun 2012 15:13:39 +0000 (17:13 +0200)]
tests: mpegtsmux: plug some leaks

12 years agoelements: Use gst_pad_set_caps() instead of manual event fiddling
Sebastian Dröge [Fri, 8 Jun 2012 13:58:13 +0000 (15:58 +0200)]
elements: Use gst_pad_set_caps() instead of manual event fiddling

12 years agoAutomatic update of common submodule
Edward Hervey [Fri, 8 Jun 2012 13:05:12 +0000 (15:05 +0200)]
Automatic update of common submodule

From 03a0e57 to 98e386f

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 RELEASE-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).