platform/upstream/gstreamer.git
14 years agozbar: post a message instead of printing the code to stdout
Stefan Kost [Fri, 2 Oct 2009 10:02:31 +0000 (13:02 +0300)]
zbar: post a message instead of printing the code to stdout

Docment the message format that we sent. Add a property to turn message sending off.

14 years agodocs: update plugin doc scan files
Stefan Kost [Fri, 2 Oct 2009 08:23:49 +0000 (11:23 +0300)]
docs: update plugin doc scan files

14 years agozbar: cleanups
Stefan Kost [Fri, 2 Oct 2009 08:22:48 +0000 (11:22 +0300)]
zbar: cleanups

Use start/stop to manage the cache. Few code cleanups and comments.

14 years agodocs: add zbar plugin
Stefan Kost [Fri, 2 Oct 2009 08:09:11 +0000 (11:09 +0300)]
docs: add zbar plugin

14 years agozbar: add new plugin to the build here too
Stefan Kost [Fri, 2 Oct 2009 07:37:43 +0000 (10:37 +0300)]
zbar: add new plugin to the build here too

14 years agodocs: keep list sorted
Stefan Kost [Fri, 2 Oct 2009 07:32:37 +0000 (10:32 +0300)]
docs: keep list sorted

14 years agoconfigure.ac: Fix build system, zbar is no dependency-less plugin
Sebastian Dröge [Fri, 2 Oct 2009 05:46:17 +0000 (07:46 +0200)]
configure.ac: Fix build system, zbar is no dependency-less plugin

14 years agozbar: wrap zbar library as a image analyzer
Stefan Kost [Thu, 1 Oct 2009 20:51:04 +0000 (23:51 +0300)]
zbar: wrap zbar library as a image analyzer

zbar is a bar code scanner library.

14 years agoupdate spec file with latest changes and
Christian F.K. Schaller [Thu, 1 Oct 2009 16:19:54 +0000 (17:19 +0100)]
update spec file with latest changes and
remove file from MANIFEST which isn't there
any longer

14 years agometadata: change XMP location tags to start with capitals
Tommi Myöhänen [Wed, 2 Sep 2009 12:26:15 +0000 (15:26 +0300)]
metadata: change XMP location tags to start with capitals

14 years agocamerabin: fix deadlock when error occurs at video recording startup
Lasse Laukkanen [Tue, 25 Aug 2009 07:10:15 +0000 (10:10 +0300)]
camerabin: fix deadlock when error occurs at video recording startup

14 years agocamerabin: handle preview-caps only in image mode and only when they change
Tommi Myöhänen [Thu, 27 Aug 2009 11:35:26 +0000 (14:35 +0300)]
camerabin: handle preview-caps only in image mode and only when they change

This prevents camerabin to create preview pipeline every time when
application re-sets the same caps again.

14 years agocamerabin: don't send multiple EOS events to video pipeline
Tommi Myöhänen [Tue, 25 Aug 2009 06:35:07 +0000 (09:35 +0300)]
camerabin: don't send multiple EOS events to video pipeline

14 years agocamerabin: fix scene mode setting
Tommi Myöhänen [Sat, 22 Aug 2009 14:09:39 +0000 (17:09 +0300)]
camerabin: fix scene mode setting

Camerabin caches photography settings, but it didn't take into account
that scene mode setting may change other settings as well. So, config
needs to be read back from device after scene mode is set.

14 years agocamerabin: allow mode parameter setting in NULL state
Tommi Myöhänen [Fri, 21 Aug 2009 06:14:31 +0000 (09:14 +0300)]
camerabin: allow mode parameter setting in NULL state

14 years agocamerabin: allow capture resolution to be set in NULL state
Tommi Myöhänen [Thu, 20 Aug 2009 14:55:26 +0000 (17:55 +0300)]
camerabin: allow capture resolution to be set in NULL state

14 years agocamerabin: fix image queue parameter setting
Tommi Myöhänen [Thu, 10 Sep 2009 12:16:23 +0000 (15:16 +0300)]
camerabin: fix image queue parameter setting

Camerabin incorrectly used G_GUINT64_CONSTANT macro for setting
"max-size-buffers" and "max-size-bytes" properties in image queue,
even when they aren't 64bit integers.

14 years agocamerabin: fix warning with g_object_get and join separate g_object_sets into one
Tommi Myöhänen [Wed, 12 Aug 2009 08:10:55 +0000 (11:10 +0300)]
camerabin: fix warning with g_object_get and join separate g_object_sets into one

14 years agocamerabin: reset active-pad in output-selector after READY state
Tommi Myöhänen [Fri, 31 Jul 2009 08:57:12 +0000 (11:57 +0300)]
camerabin: reset active-pad in output-selector after READY state

Camerabin sets itself to READY state during resolution change. This
operation makes output-selector to forget its currently active pad,
so it must be set again after state change.

14 years agocamerabin: don't reset capsfilters or zoom if error occurs
Lasse Laukkanen [Mon, 29 Jun 2009 12:23:25 +0000 (15:23 +0300)]
camerabin: don't reset capsfilters or zoom if error occurs

If an error occurs, application should set pipeline to NULL, and updating
zoom can actually block message handling if video device driver has failed
and video src element supports zooming using photography interface and S_CROP.

14 years agovideomeasure: link with libm
René Stadler [Thu, 1 Oct 2009 14:17:03 +0000 (17:17 +0300)]
videomeasure: link with libm

14 years agoresindvdbin: If no suitable audio decoder is found play the DVD without audio
Sebastian Dröge [Thu, 1 Oct 2009 13:09:27 +0000 (15:09 +0200)]
resindvdbin: If no suitable audio decoder is found play the DVD without audio

14 years agoresindvdbin: Also post missing element messages if any other element is missing
Sebastian Dröge [Thu, 1 Oct 2009 12:54:43 +0000 (14:54 +0200)]
resindvdbin: Also post missing element messages if any other element is missing

14 years agoresindvdbin: Post missing decoder messages if one is missing
Sebastian Dröge [Thu, 1 Oct 2009 12:52:06 +0000 (14:52 +0200)]
resindvdbin: Post missing decoder messages if one is missing

For video this is an error, for audio only a warning.

14 years agoresindvdbin: Use the new video decoder
Sebastian Dröge [Thu, 1 Oct 2009 12:40:56 +0000 (14:40 +0200)]
resindvdbin: Use the new video decoder

This makes resindvdbin work with other MPEG video decoders than
mpeg2dec, for example the FFMPEG or Fluendo MPEG decoders.

14 years agoresindvdbin: Rename files
Sebastian Dröge [Thu, 1 Oct 2009 12:37:43 +0000 (14:37 +0200)]
resindvdbin: Rename files

14 years agoresindvdbin: Refactor audio decoder and add a (MPEG) video decoder
Sebastian Dröge [Thu, 1 Oct 2009 12:36:23 +0000 (14:36 +0200)]
resindvdbin: Refactor audio decoder and add a (MPEG) video decoder

14 years agorsnaudiodec: Get desired sink caps from the pad template
Sebastian Dröge [Thu, 1 Oct 2009 11:29:03 +0000 (13:29 +0200)]
rsnaudiodec: Get desired sink caps from the pad template

14 years agorsvg: Unpremultiply Cairo's ARGB to match GStreamer's
Sebastian Dröge [Thu, 1 Oct 2009 08:54:15 +0000 (10:54 +0200)]
rsvg: Unpremultiply Cairo's ARGB to match GStreamer's

14 years agoTake offset gaps into account.
Руслан Ижбулатов [Fri, 25 Sep 2009 08:20:50 +0000 (12:20 +0400)]
Take offset gaps into account.

Prevents measurecollector from crashing when frame numbers are not consecutive.

Fixes bug #596285.

14 years agoqtmux: fix flags_as_uint to flags[]
Marc-André Lureau [Tue, 29 Sep 2009 13:47:13 +0000 (15:47 +0200)]
qtmux: fix flags_as_uint to flags[]

14 years agoresindvdbin: Create external srcpads from the static pad templates
Sebastian Dröge [Wed, 30 Sep 2009 13:47:17 +0000 (15:47 +0200)]
resindvdbin: Create external srcpads from the static pad templates

14 years agodvdspu: Improve PGS parsing
Jan Schmidt [Tue, 22 Sep 2009 11:16:37 +0000 (12:16 +0100)]
dvdspu: Improve PGS parsing

Improve (slightly) the interpretation of PGS set-window blocks
to avoid printing warnings about unused bytes when there are multiple
window definitions.

14 years agodvdspu: Fix rendering and add guards
Jan Schmidt [Tue, 22 Sep 2009 00:16:47 +0000 (01:16 +0100)]
dvdspu: Fix rendering and add guards

Fix the rendering when we hit the right hand side of the display
area, by resetting to the correct X coordinate, and add some more
guards against bad PGS data.

14 years agovideosignal: change pattern data type to uint64, add property and message field
René Stadler [Mon, 7 Sep 2009 21:01:28 +0000 (00:01 +0300)]
videosignal: change pattern data type to uint64, add property and message field

Keeps the old uint typed value support for compatibility.

14 years agovideosignal: allow pattern-count property to be 0
René Stadler [Sun, 6 Sep 2009 02:36:46 +0000 (05:36 +0300)]
videosignal: allow pattern-count property to be 0

14 years agovideosignal: add support for packed YUV formats
René Stadler [Fri, 4 Sep 2009 19:50:34 +0000 (22:50 +0300)]
videosignal: add support for packed YUV formats

14 years agovideosignal: add support for all planar YUV formats, using gstvideo
René Stadler [Fri, 4 Sep 2009 19:30:27 +0000 (22:30 +0300)]
videosignal: add support for all planar YUV formats, using gstvideo

14 years agovideosignal: add bound checks
René Stadler [Sat, 5 Sep 2009 23:44:05 +0000 (02:44 +0300)]
videosignal: add bound checks

14 years agovideosignal: remove unused macros
René Stadler [Fri, 4 Sep 2009 13:25:05 +0000 (16:25 +0300)]
videosignal: remove unused macros

14 years agoresindvdbin: Use gst_caps_can_intersect() because it's faster
Sebastian Dröge [Sat, 26 Sep 2009 15:23:02 +0000 (17:23 +0200)]
resindvdbin: Use gst_caps_can_intersect() because it's faster

14 years agorsnaudiodec: Use ghost pads and always forward application/x-gst-dvd events immediately
Sebastian Dröge [Sat, 26 Sep 2009 15:21:35 +0000 (17:21 +0200)]
rsnaudiodec: Use ghost pads and always forward application/x-gst-dvd events immediately

Fixes bug #582779.

14 years agoresindvdbin: Use autoconvert in rsnaudiodec and build a list of possible decoders
Jan Schmidt [Sat, 26 Sep 2009 15:19:32 +0000 (17:19 +0200)]
resindvdbin: Use autoconvert in rsnaudiodec and build a list of possible decoders

Partially fixes bug #582779.

14 years agobaseparse: sync baseparse change
Mark Nauwelaerts [Fri, 25 Sep 2009 14:54:10 +0000 (16:54 +0200)]
baseparse: sync baseparse change

14 years agoaacparse: forego (bogus) parsing of already parsed (raw) input
Mark Nauwelaerts [Fri, 25 Sep 2009 15:02:53 +0000 (17:02 +0200)]
aacparse: forego (bogus) parsing of already parsed (raw) input

14 years agoinputselector: Use new single iterator for the internally linked pads
Sebastian Dröge [Fri, 25 Sep 2009 09:07:02 +0000 (11:07 +0200)]
inputselector: Use new single iterator for the internally linked pads

This fixes a deadlock and removes some useless code.

14 years agorsnstreamselector: Use new single object iterator for the internally linked pads
Sebastian Dröge [Fri, 25 Sep 2009 09:04:01 +0000 (11:04 +0200)]
rsnstreamselector: Use new single object iterator for the internally linked pads

This prevents an ugly deadlock.

14 years agoresindvdbin: Don't block the external ghost pads but only their targets
Sebastian Dröge [Fri, 25 Sep 2009 08:50:31 +0000 (10:50 +0200)]
resindvdbin: Don't block the external ghost pads but only their targets

14 years agocog: use BUILT_SOURCES instead of temp library
David Schleef [Thu, 24 Sep 2009 18:26:29 +0000 (11:26 -0700)]
cog: use BUILT_SOURCES instead of temp library

14 years agoFix warnings with gcc 4.0.1.
Alessandro Decina [Wed, 23 Sep 2009 10:32:54 +0000 (12:32 +0200)]
Fix warnings with gcc 4.0.1.

14 years agoconfigure: fix --disable-external again
Tim-Philipp Müller [Tue, 22 Sep 2009 11:25:13 +0000 (12:25 +0100)]
configure: fix --disable-external again

14 years agoRevert "LV2 preset support."
Stefan Kost [Tue, 22 Sep 2009 10:44:14 +0000 (13:44 +0300)]
Revert "LV2 preset support."

This reverts commit c95f59cd2dc129899b37fecaa52c89db3d8a5ef8.

14 years agoRevert "Fix property index when setting preset."
Stefan Kost [Tue, 22 Sep 2009 10:43:57 +0000 (13:43 +0300)]
Revert "Fix property index when setting preset."

This reverts commit 0a6b22b1917af8a89db1981a0f5df3dcee78b1dd.

14 years agocog: fix the build
Stefan Kost [Tue, 22 Sep 2009 10:23:25 +0000 (13:23 +0300)]
cog: fix the build

Add a uninstalled convinience libtool library containing the generated sources.
Add that as a dependency to the plugin.

14 years agoFix property index when setting preset.
Dave Robillard [Mon, 17 Aug 2009 21:21:41 +0000 (17:21 -0400)]
Fix property index when setting preset.

14 years agoLV2 preset support.
Dave Robillard [Mon, 17 Aug 2009 21:06:40 +0000 (17:06 -0400)]
LV2 preset support.

14 years agopnm: Handle ASCII encoded PNM data that is split over multiple buffers
Lutz Mueller [Tue, 22 Sep 2009 06:11:36 +0000 (08:11 +0200)]
pnm: Handle ASCII encoded PNM data that is split over multiple buffers

Also:
- unref buffers after gst_buffer_span
- fix scanning of header if header data is split over several buffers

Fixes bug #595700.

14 years agocog: Add quality setting to cogscale
David Schleef [Mon, 21 Sep 2009 18:33:50 +0000 (11:33 -0700)]
cog: Add quality setting to cogscale

14 years agocog: (re-)implement 1/2/4-tap scaling
David Schleef [Mon, 21 Sep 2009 16:35:30 +0000 (09:35 -0700)]
cog: (re-)implement 1/2/4-tap scaling

14 years agocog: Fix the virtual frame line cache
David Schleef [Mon, 21 Sep 2009 16:30:44 +0000 (09:30 -0700)]
cog: Fix the virtual frame line cache

14 years agoceltenc: VBR requires celt-0.6.0
David Schleef [Mon, 21 Sep 2009 16:49:23 +0000 (09:49 -0700)]
celtenc: VBR requires celt-0.6.0

14 years agompegtsparse: Specify that psi table is static const.
Edward Hervey [Mon, 21 Sep 2009 10:06:55 +0000 (12:06 +0200)]
mpegtsparse: Specify that psi table is static const.

This avoids re-allocating it every single time we go into it.
Roughly 10% performance boost in overall tsparse processing time.

14 years agoRevert "mpegtsparse: use fixed size array rather than dynamically allocating"
Zaheer Abbas Merali [Sun, 20 Sep 2009 16:53:24 +0000 (17:53 +0100)]
Revert "mpegtsparse: use fixed size array rather than dynamically allocating"

This reverts commit ae75b6f3666512887ae526f16a1ad41bbf2517ac.

14 years agompegtsparse: use fixed size array rather than dynamically allocating
Zaheer Abbas Merali [Sun, 20 Sep 2009 14:30:59 +0000 (15:30 +0100)]
mpegtsparse: use fixed size array rather than dynamically allocating

14 years agompegtsparse: replace streams hashtable with an array of streams
Zaheer Abbas Merali [Sun, 20 Sep 2009 14:18:46 +0000 (15:18 +0100)]
mpegtsparse: replace streams hashtable with an array of streams

14 years agompegtsparse: unref caps on dispose, reset packet size on _reset
Zaheer Abbas Merali [Sun, 20 Sep 2009 13:08:50 +0000 (14:08 +0100)]
mpegtsparse: unref caps on dispose, reset packet size on _reset

14 years agompegtsparse: make sure packetsize is set on caps of buffers
Zaheer Abbas Merali [Sun, 20 Sep 2009 12:15:14 +0000 (13:15 +0100)]
mpegtsparse: make sure packetsize is set on caps of buffers

14 years agompegtsparse: detect packetsize and don't just assume 188 bytes.
Zaheer Abbas Merali [Sun, 20 Sep 2009 11:38:00 +0000 (12:38 +0100)]
mpegtsparse: detect packetsize and don't just assume 188 bytes.

14 years agoceltenc: Add complexity, cbr, and max-bitrate properties
David Schleef [Sat, 19 Sep 2009 21:10:28 +0000 (14:10 -0700)]
celtenc: Add complexity, cbr, and max-bitrate properties

14 years agocog: autogenerate code, colorspace improvements
David Schleef [Sat, 19 Sep 2009 20:32:19 +0000 (13:32 -0700)]
cog: autogenerate code, colorspace improvements

14 years agocog: remove // comments
David Schleef [Sat, 19 Sep 2009 03:27:44 +0000 (20:27 -0700)]
cog: remove // comments

14 years agompegtsparse: Don't use GstIterator, do change detection ourselves.
Edward Hervey [Wed, 16 Sep 2009 18:39:52 +0000 (20:39 +0200)]
mpegtsparse: Don't use GstIterator, do change detection ourselves.

Using a GstIterator is slow because we have to create/destroy that
iterator every single time.
We just do the threadsafe cookie check and list iteration ourselves.

14 years agompegtsparse: Avoid type-checking casts in tight loops
Edward Hervey [Tue, 15 Sep 2009 21:18:43 +0000 (23:18 +0200)]
mpegtsparse: Avoid type-checking casts in tight loops

14 years agompegtspacketizer: Make next_packet() return an enum.
Edward Hervey [Tue, 15 Sep 2009 21:12:33 +0000 (23:12 +0200)]
mpegtspacketizer: Make next_packet() return an enum.

This avoids calling an extra gst_adapter_available() in a tight loop.

14 years agompegtsparse: More branch prediction macros
Edward Hervey [Tue, 15 Sep 2009 21:11:01 +0000 (23:11 +0200)]
mpegtsparse: More branch prediction macros

14 years agompegtspacketizer: Spread branch prediction macros
Edward Hervey [Tue, 15 Sep 2009 18:49:39 +0000 (20:49 +0200)]
mpegtspacketizer: Spread branch prediction macros

14 years agompegtsparse/mpegtspacketizer: Register and use GQuark for structures.
Edward Hervey [Tue, 15 Sep 2009 17:16:36 +0000 (19:16 +0200)]
mpegtsparse/mpegtspacketizer: Register and use GQuark for structures.

14 years agompegtspacketizer: Initialize debugging in _get_type
Edward Hervey [Tue, 15 Sep 2009 16:57:25 +0000 (18:57 +0200)]
mpegtspacketizer: Initialize debugging in _get_type

There's no need for an extra function since all debuggin will require
a MpegTSPacketizer which means that the GType will be created, therefore
move the debug category initialization there.

14 years agompegtspacketizer: memset structure instead of individually setting fields to 0
Edward Hervey [Tue, 15 Sep 2009 21:09:21 +0000 (23:09 +0200)]
mpegtspacketizer: memset structure instead of individually setting fields to 0

14 years agompegtspacketizer: Remove g_return_if_fail
Edward Hervey [Tue, 15 Sep 2009 21:08:13 +0000 (23:08 +0200)]
mpegtspacketizer: Remove g_return_if_fail

It's overkill for code only used by one element.

14 years agompegtspacketizer/parse: Don't use gst_structure_to_string() for debugging.
Edward Hervey [Tue, 15 Sep 2009 17:44:46 +0000 (19:44 +0200)]
mpegtspacketizer/parse: Don't use gst_structure_to_string() for debugging.

There's GST_PTR_FORMAT for that, and too bad for the systems that don't have
support for that. It just costs too much cpu.

14 years agogst: Remove dead mpegtsparse directory.
Edward Hervey [Tue, 15 Sep 2009 17:00:30 +0000 (19:00 +0200)]
gst: Remove dead mpegtsparse directory.

This was seriously confusing. Also, the code is in gst/mpegdemux/

14 years agocog: fixes to make cog work inside -bad
David Schleef [Fri, 18 Sep 2009 21:25:49 +0000 (14:25 -0700)]
cog: fixes to make cog work inside -bad

14 years agovideomeasure: fix line endings
David Schleef [Fri, 18 Sep 2009 22:06:57 +0000 (15:06 -0700)]
videomeasure: fix line endings

14 years agovideomeasure: fix distcheck
David Schleef [Fri, 18 Sep 2009 22:06:36 +0000 (15:06 -0700)]
videomeasure: fix distcheck

14 years agoschroenc: quiet debugging message in last commit
David Schleef [Fri, 18 Sep 2009 01:16:35 +0000 (18:16 -0700)]
schroenc: quiet debugging message in last commit

14 years agoschroenc: Keep track of granule offset
David Schleef [Fri, 18 Sep 2009 01:15:28 +0000 (18:15 -0700)]
schroenc: Keep track of granule offset

14 years agoCopy cog plugin and video library from cog project
David Schleef [Mon, 31 Aug 2009 17:36:46 +0000 (10:36 -0700)]
Copy cog plugin and video library from cog project

14 years agoschrodec: Fix resync bug due to adapter API change
David Schleef [Thu, 17 Sep 2009 23:54:57 +0000 (16:54 -0700)]
schrodec: Fix resync bug due to adapter API change

gst_adapter_masked_scan_uint32() changed slightly from when
this element was in Schroedinger.  Oops.

14 years agobasevideo: debug at new segment events
David Schleef [Thu, 17 Sep 2009 23:57:16 +0000 (16:57 -0700)]
basevideo: debug at new segment events

14 years agompegtsdemux: Set DISCONT on buffers
David Schleef [Thu, 17 Sep 2009 23:54:14 +0000 (16:54 -0700)]
mpegtsdemux: Set DISCONT on buffers

14 years agobasevideo: Add a warning
David Schleef [Thu, 17 Sep 2009 17:50:40 +0000 (10:50 -0700)]
basevideo: Add a warning

14 years agoceltenc: don't limit bit rate
David Schleef [Thu, 17 Sep 2009 17:49:13 +0000 (10:49 -0700)]
celtenc: don't limit bit rate

14 years agopnm: Add ASCII decoding support
Lutz Mueller [Thu, 17 Sep 2009 07:38:02 +0000 (09:38 +0200)]
pnm: Add ASCII decoding support

...and make the ASCII output of the encoder a bit more pretty.

Fixes bug #595409.

14 years agopnm: Remove the experimental status from the pnm plugin
Sebastian Dröge [Thu, 17 Sep 2009 07:35:00 +0000 (09:35 +0200)]
pnm: Remove the experimental status from the pnm plugin

14 years agoMore tolerate port group support, plugin cleanup.
Dave Robillard [Fri, 14 Aug 2009 22:08:56 +0000 (18:08 -0400)]
More tolerate port group support, plugin cleanup.

Gracefully handle plugins with illegal groups that contain no symbol by
treating ports in that group normally (i.e. as if they weren't part of a
group).  The port groups spec mandates that groups have a valid unique
symbol, but plugins aren't perfect...

Make (conceptually) static plugin variables actually (C) static,
and clean up SLV2 related things with a GCC shared library destructor,
if GCC is in use.

14 years agoMake mono warning visible in public documentation.
Dave Robillard [Wed, 12 Aug 2009 05:07:57 +0000 (01:07 -0400)]
Make mono warning visible in public documentation.

14 years agoMulti-channel support with channel positions.
Dave Robillard [Wed, 12 Aug 2009 05:03:32 +0000 (01:03 -0400)]
Multi-channel support with channel positions.

This queries port roles from the LV2 data and converts it into GStreamer
channel positions.  This should allow any type of multi-channel plugin
(including beyond stereo, e.g. surround) to work fine in GStreamer,
and with elements that require channel positions to be explicitly stated.

14 years agoAdd documentation for LV2 element.
Dave Robillard [Tue, 11 Aug 2009 03:12:24 +0000 (23:12 -0400)]
Add documentation for LV2 element.

14 years agoFix typo in LADSPA element documentation.
Dave Robillard [Tue, 11 Aug 2009 03:04:47 +0000 (23:04 -0400)]
Fix typo in LADSPA element documentation.