platform/upstream/gstreamer.git
15 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.

15 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

15 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.

15 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

15 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

15 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.

15 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

15 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.

15 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.

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

15 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

15 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

15 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.

15 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.

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

15 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

15 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

15 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

15 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.

15 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[]

15 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

15 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.

15 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.

15 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.

15 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

15 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

15 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

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

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

15 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

15 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.

15 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.

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

15 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

15 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.

15 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.

15 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

15 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

15 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.

15 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

15 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.

15 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.

15 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.

15 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.

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

15 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.

15 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

15 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

15 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

15 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

15 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.

15 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.

15 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

15 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

15 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

15 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

15 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.

15 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

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

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

15 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.

15 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

15 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.

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

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

15 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.

15 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.

15 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

15 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.

15 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.

15 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/

15 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

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

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

15 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

15 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

15 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

15 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.

15 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

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

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

15 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

15 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.

15 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

15 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.

15 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.

15 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.

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

15 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.

15 years agoBump SLV2 dependency to 0.6.6.
Dave Robillard [Tue, 21 Jul 2009 19:45:06 +0000 (15:45 -0400)]
Bump SLV2 dependency to 0.6.6.

15 years agoAdd swh and calf LV2 port group patches.
Dave Robillard [Sat, 11 Jul 2009 01:52:30 +0000 (21:52 -0400)]
Add swh and calf LV2 port group patches.

15 years agoWorking multi-channel pads for LV2 plugins.
Dave Robillard [Sat, 4 Jul 2009 00:00:11 +0000 (20:00 -0400)]
Working multi-channel pads for LV2 plugins.

15 years agoAllocate a static predicate for pg:inGroup.
Dave Robillard [Sat, 27 Jun 2009 04:25:38 +0000 (00:25 -0400)]
Allocate a static predicate for pg:inGroup.

15 years agoOnly allocate lv2:inPlaceBroken predicate once.
Dave Robillard [Thu, 25 Jun 2009 21:25:52 +0000 (17:25 -0400)]
Only allocate lv2:inPlaceBroken predicate once.

15 years agoEliminate use of static mono pad template.
Dave Robillard [Thu, 25 Jun 2009 19:10:24 +0000 (15:10 -0400)]
Eliminate use of static mono pad template.

15 years agoSeparate port discovery from pad template creation.
Dave Robillard [Thu, 25 Jun 2009 19:07:05 +0000 (15:07 -0400)]
Separate port discovery from pad template creation.

This first counts ports (using the builtin slv2 functions to do so
rather than manually as before), then creates descriptors for each port
and finds all port groups.  Only then are pad templates created (towards
using group information for creating multi-channel pads).

15 years agoUse silly glib types :).
Dave Robillard [Thu, 25 Jun 2009 16:34:03 +0000 (12:34 -0400)]
Use silly glib types :).

15 years agoQuery and store port group information.
Dave Robillard [Sat, 20 Jun 2009 23:52:26 +0000 (19:52 -0400)]
Query and store port group information.

Replace port index arrays with a struct for holding more information
than just indices (e.g. groups).

15 years agoWorking basic LV2 signal processing.
Dave Robillard [Tue, 26 May 2009 02:15:56 +0000 (22:15 -0400)]
Working basic LV2 signal processing.

LV2 plugins, short of any surprises, should work with the same basic
functionality as LADSPA plugins.

15 years agoSet class inPlaceBroken property.
Dave Robillard [Tue, 26 May 2009 00:43:10 +0000 (20:43 -0400)]
Set class inPlaceBroken property.