platform/upstream/gstreamer.git
14 years agorequirements: change liboil to Orc
David Schleef [Tue, 8 Jun 2010 07:32:36 +0000 (00:32 -0700)]
requirements: change liboil to Orc

14 years agoaudioresample: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:50:05 +0000 (23:50 -0700)]
audioresample: convert from liboil to orc

14 years agotests: Add orc tests
David Schleef [Mon, 7 Jun 2010 06:48:35 +0000 (23:48 -0700)]
tests: Add orc tests

14 years agovolume: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:48:15 +0000 (23:48 -0700)]
volume: convert from liboil to orc

14 years agovideotestsrc: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:47:53 +0000 (23:47 -0700)]
videotestsrc: convert from liboil to orc

14 years agovideoscale: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:47:16 +0000 (23:47 -0700)]
videoscale: convert from liboil to orc

14 years agoaudioconvert: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:46:41 +0000 (23:46 -0700)]
audioconvert: convert from liboil to orc

14 years agoadder: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:45:58 +0000 (23:45 -0700)]
adder: convert from liboil to orc

14 years agodocs: Add notes about Orc integration
David Schleef [Mon, 7 Jun 2010 06:45:10 +0000 (23:45 -0700)]
docs: Add notes about Orc integration

14 years agoconfigure: convert liboil check to orc
David Schleef [Mon, 7 Jun 2010 06:34:39 +0000 (23:34 -0700)]
configure: convert liboil check to orc

14 years agooggmux: Start a new page for every CMML buffer
Sebastian Dröge [Tue, 8 Jun 2010 05:34:08 +0000 (07:34 +0200)]
oggmux: Start a new page for every CMML buffer

14 years agoplaybin2: add av-offset property
Wim Taymans [Mon, 7 Jun 2010 12:38:42 +0000 (14:38 +0200)]
playbin2: add av-offset property

Add av-offset property to control the audio and video sync offset. This can be
used to to manually correct badly synced streams.

See #620529

14 years agoffmpegcolorspace: Map "Y8 " and "GREY" to "Y800" and add it to the template caps
Sebastian Dröge [Mon, 7 Jun 2010 06:31:25 +0000 (08:31 +0200)]
ffmpegcolorspace: Map "Y8  " and "GREY" to "Y800" and add it to the template caps

14 years agoffmpegcolorspace: Add support for Y800 and Y16
Martin Bisson [Mon, 7 Jun 2010 06:17:13 +0000 (08:17 +0200)]
ffmpegcolorspace: Add support for Y800 and Y16

Fixes bug #620441.

14 years agovideo: Add support for Y800 and Y16
Martin Bisson [Mon, 7 Jun 2010 06:16:01 +0000 (08:16 +0200)]
video: Add support for Y800 and Y16

Fixes bug #620441.

14 years agotypefinding: fix log function printf format issue
Tim-Philipp Müller [Sun, 6 Jun 2010 15:46:55 +0000 (16:46 +0100)]
typefinding: fix log function printf format issue

14 years agotypefinding: stop jpeg typefinding once we found a SOF marker
Tim-Philipp Müller [Sat, 5 Jun 2010 17:14:38 +0000 (18:14 +0100)]
typefinding: stop jpeg typefinding once we found a SOF marker

14 years agotests: fix memory leak in unit test
Tim-Philipp Müller [Sat, 5 Jun 2010 17:05:40 +0000 (18:05 +0100)]
tests: fix memory leak in unit test

14 years agotypefinding: improve jpeg typefinder
Tim-Philipp Müller [Wed, 19 May 2010 14:40:30 +0000 (15:40 +0100)]
typefinding: improve jpeg typefinder

Make jpeg typefinder check more than just the first two bytes
plus Exif or JFIF marker. This allows us to report MAXIMUM
probability in cases where there's no Exif or JFIF marker,
making typefinding stop early. Also extract width and height,
because we can.

14 years agotests: add small unit test for AC3 vs. JPEG typefinding issue
Tim-Philipp Müller [Sat, 5 Jun 2010 16:22:17 +0000 (17:22 +0100)]
tests: add small unit test for AC3 vs. JPEG typefinding issue

14 years agotypefinding: fix AC-3 typefinding so that it actually checks for a second frame
Tim-Philipp Müller [Sat, 5 Jun 2010 15:58:50 +0000 (16:58 +0100)]
typefinding: fix AC-3 typefinding so that it actually checks for a second frame

Fix typo that made the AC-3 typefinder not actually check for a
second frame, but rather compare the sync point found to itself,
which resulted in the AC-3 typefinder reporting an overly optimistic
MAXIMUM or VERY_LIKELY probability when it found a possible frame
sync.

14 years agoplaybin2: improve screenshot code
Wim Taymans [Sat, 5 Jun 2010 10:27:12 +0000 (12:27 +0200)]
playbin2: improve screenshot code

Use appsrc and appsink in the screenshot code to make things nicer.

14 years agoappsrc: fix documentation string
Wim Taymans [Sat, 5 Jun 2010 09:28:17 +0000 (11:28 +0200)]
appsrc: fix documentation string

14 years agoplaysink: add convert-frame action signal
Wim Taymans [Sat, 5 Jun 2010 09:05:22 +0000 (11:05 +0200)]
playsink: add convert-frame action signal

Add a convert-frame action signal.

Fixes #620279

14 years agoplaybin2: move marshaller to screenshot
Wim Taymans [Sat, 5 Jun 2010 09:02:24 +0000 (11:02 +0200)]
playbin2: move marshaller to screenshot

Move the marshaller for the convert_frame signal to the screenshot file in
preparation for moving it to playsink.

See #620279

14 years agoplaybin2: move convert_frame to playsink
Wim Taymans [Sat, 5 Jun 2010 08:42:56 +0000 (10:42 +0200)]
playbin2: move convert_frame to playsink

Move the convert_frame function to playsink and make it part of the API. This is
in preparation to add the convert_frame signal to playsink.

See #620279

14 years agoplaysink: add property to get the last frame
Wim Taymans [Sat, 5 Jun 2010 08:31:03 +0000 (10:31 +0200)]
playsink: add property to get the last frame

Add a property to get the last video frame.

See #620279

14 years agodecodebin2: Handle raw streams we don't want.
Edward Hervey [Fri, 4 Jun 2010 17:30:14 +0000 (19:30 +0200)]
decodebin2: Handle raw streams we don't want.

If a file contains raw streams (not requiring a decoder) that we do
not want (expose-all-streams == FALSE), we would previously consider
those of unknown-type (missing a decoder) ... whereas in fact it was just
because they don't need decoders.

This only applies if expose-all-streams is FALSE.

14 years agoRevert "baseaudiosink: Allocate and free the clock in NULL->READY and reverse"
Sebastian Dröge [Thu, 3 Jun 2010 11:44:40 +0000 (13:44 +0200)]
Revert "baseaudiosink: Allocate and free the clock in NULL->READY and reverse"

This reverts commit cea2644ed86097aadedc9e8731e78a22ffc6246b.

Many audio sink assume that they can create a clock in
the instance init function and it will be there forever
and not be cleared by the state change functions.

14 years agobaseaudiosink: Allocate and free the clock in NULL->READY and reverse
Sebastian Dröge [Wed, 2 Jun 2010 10:19:00 +0000 (12:19 +0200)]
baseaudiosink: Allocate and free the clock in NULL->READY and reverse

14 years agoAutomatic update of common submodule
David Schleef [Wed, 2 Jun 2010 06:49:07 +0000 (23:49 -0700)]
Automatic update of common submodule

From 17f89e5 to 47683c1

14 years agoAutomatic update of common submodule
David Schleef [Wed, 2 Jun 2010 05:54:33 +0000 (22:54 -0700)]
Automatic update of common submodule

From fd7ca04 to 17f89e5

14 years agoexamples: get the right Qt moc binary to use via pkg-config
Tim-Philipp Müller [Tue, 1 Jun 2010 12:00:22 +0000 (13:00 +0100)]
examples: get the right Qt moc binary to use via pkg-config

Should make us do the right thing in cases where both Qt3 and Qt4
are installed.

Fixes #620211.

14 years agogio: map GIO NO_SPACE error to NO_SPACE_LEFT
Jonathan Matthew [Mon, 31 May 2010 09:28:45 +0000 (19:28 +1000)]
gio: map GIO NO_SPACE error to NO_SPACE_LEFT

Fixes bug #620140.

14 years agoconfigure: Remove (now) useless check for cbrt
Sebastian Dröge [Fri, 28 May 2010 06:27:29 +0000 (08:27 +0200)]
configure: Remove (now) useless check for cbrt

14 years agointerfaces: Use pow() instead of cbrt() for MSVC
David Schleef [Thu, 3 Dec 2009 06:16:22 +0000 (22:16 -0800)]
interfaces: Use pow() instead of cbrt() for MSVC

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 26 May 2010 10:54:51 +0000 (11:54 +0100)]
Automatic update of common submodule

From 357b0db to fd7ca04

14 years agoaudiorate: Fix buffer offset_end when within tolerance.
Edward Hervey [Wed, 26 May 2010 06:51:09 +0000 (08:51 +0200)]
audiorate: Fix buffer offset_end when within tolerance.

This fixes issues if we then have downstream elements that operate
on offset/offset_end.

And add the expected timestamp in the debug logs

14 years agofft: Merge kissfft 1.2.8
Sebastian Dröge [Mon, 24 May 2010 09:27:36 +0000 (11:27 +0200)]
fft: Merge kissfft 1.2.8

This reduces memory footprint for the FFT and adds
OpenMP support (but we don't use it).

14 years agovideotestsrc: Fixate interlaced, chroma-site and color-matrix fields if necessary
Sebastian Dröge [Sat, 22 May 2010 08:05:40 +0000 (10:05 +0200)]
videotestsrc: Fixate interlaced, chroma-site and color-matrix fields if necessary

14 years agovideorate: Use new string fixation function from core
Sebastian Dröge [Sat, 22 May 2010 08:02:46 +0000 (10:02 +0200)]
videorate: Use new string fixation function from core

14 years agovideorate: Fixate color-matrix and chroma-site fields if necessary
Sebastian Dröge [Sat, 22 May 2010 07:48:01 +0000 (09:48 +0200)]
videorate: Fixate color-matrix and chroma-site fields if necessary

14 years agovideorate: Fixate the interlaced field if necessary
Sebastian Dröge [Sat, 22 May 2010 07:39:30 +0000 (09:39 +0200)]
videorate: Fixate the interlaced field if necessary

Fixes bug #619310.

14 years agotypefindfunctions: Add IVF typefinder
Sebastian Dröge [Sat, 22 May 2010 06:55:21 +0000 (08:55 +0200)]
typefindfunctions: Add IVF typefinder

14 years agovideorate: pass object to logging functions, use GST_DEBUG_FUNCPTR
Tim-Philipp Müller [Fri, 21 May 2010 17:16:07 +0000 (18:16 +0100)]
videorate: pass object to logging functions, use GST_DEBUG_FUNCPTR

14 years agopbutils: add basic descriptions for new WebM and VP8 types
Tim-Philipp Müller [Thu, 20 May 2010 14:14:30 +0000 (15:14 +0100)]
pbutils: add basic descriptions for new WebM and VP8 types

14 years agooggdemux: Fix sizes again, this time for real
Sebastian Dröge [Thu, 20 May 2010 12:21:19 +0000 (14:21 +0200)]
oggdemux: Fix sizes again, this time for real

14 years agooggdemux: Fix size checks
Sebastian Dröge [Thu, 20 May 2010 11:58:14 +0000 (13:58 +0200)]
oggdemux: Fix size checks

14 years agooggdemux: Drop all other Ogg VP8 header packets and make VP8 mapping check a bit...
Sebastian Dröge [Thu, 20 May 2010 08:19:29 +0000 (10:19 +0200)]
oggdemux: Drop all other Ogg VP8 header packets and make VP8 mapping check a bit more strict

14 years agoogg: Some more minor adjustments for the VP8 Ogg mapping
Sebastian Dröge [Thu, 20 May 2010 06:52:49 +0000 (08:52 +0200)]
ogg: Some more minor adjustments for the VP8 Ogg mapping

14 years agoogg: Update to the latest VP8 mapping
Sebastian Dröge [Wed, 19 May 2010 19:35:19 +0000 (21:35 +0200)]
ogg: Update to the latest VP8 mapping

14 years agotypefind: Detect WebM as video/webm
Philip Jägenstedt [Mon, 10 May 2010 03:53:22 +0000 (05:53 +0200)]
typefind: Detect WebM as video/webm

Refactor matroska_type_find into ebml_check_header and a new
matroska_type_find and webm_type_find.

14 years agooggdemux: Fix granulepos->key granule calculation for Dirac
Sebastian Dröge [Fri, 14 May 2010 11:31:42 +0000 (13:31 +0200)]
oggdemux: Fix granulepos->key granule calculation for Dirac

14 years agooggdemux: Add support for mapping specific granulepos to key granule mapping
Sebastian Dröge [Fri, 14 May 2010 09:02:38 +0000 (11:02 +0200)]
oggdemux: Add support for mapping specific granulepos to key granule mapping

14 years agoogg: Implement Ogg VP8 mapping
Sebastian Dröge [Wed, 5 May 2010 11:59:57 +0000 (13:59 +0200)]
ogg: Implement Ogg VP8 mapping

14 years agoriff: Add support for On2 VP8
Sebastian Dröge [Tue, 27 Apr 2010 13:24:54 +0000 (15:24 +0200)]
riff: Add support for On2 VP8

14 years agoplaybin2: fix a typo introduced by 9d753824.
Alessandro Decina [Wed, 19 May 2010 14:17:19 +0000 (16:17 +0200)]
playbin2: fix a typo introduced by 9d753824.

video/x-raw-float => audio/x-raw-float. Fixes #619090.

14 years agoplaybin2: Don't put "raw" subtitle types in the raw caps for decodebin2
Sebastian Dröge [Tue, 18 May 2010 06:45:52 +0000 (08:45 +0200)]
playbin2: Don't put "raw" subtitle types in the raw caps for decodebin2

We handle them from the autoplug-continue signal, where the caps supported
by the subtitle sink or overlay are known already.

14 years agoconfigure: Use = instead of == in shell scripts for equality checks
Sebastian Dröge [Sat, 15 May 2010 19:15:02 +0000 (21:15 +0200)]
configure: Use = instead of == in shell scripts for equality checks

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 14 May 2010 17:23:11 +0000 (18:23 +0100)]
Automatic update of common submodule

From 4d67bd6 to 357b0db

14 years agoappsrc: Always take the object lock when accessing the caps
Sebastian Dröge [Fri, 14 May 2010 15:24:14 +0000 (17:24 +0200)]
appsrc: Always take the object lock when accessing the caps

Fixes bug #618625.

14 years agoplaysink: Don't fail if subtitles are used but only audio is available and no visuali...
Sebastian Dröge [Fri, 14 May 2010 15:17:33 +0000 (17:17 +0200)]
playsink: Don't fail if subtitles are used but only audio is available and no visualizations

Instead simply disable displaying of the subtitles for now, as was
intended by that part of code...

Fixes bug #610866.

14 years agoplaysink: Fix deadlock caused from an additional lock instead of unlock
Sebastian Dröge [Fri, 14 May 2010 15:13:17 +0000 (17:13 +0200)]
playsink: Fix deadlock caused from an additional lock instead of unlock

Also improve debug output for the playsink lock.

14 years agovideoscale: Use passthrough mode if width and height are not changed
Sebastian Dröge [Thu, 13 May 2010 10:16:38 +0000 (12:16 +0200)]
videoscale: Use passthrough mode if width and height are not changed

It doesn't matter if the PAR changes or not, processing of every pixel
is only necessary when the width or height changes.

14 years agoriff: relax width and height constraints
Wim Taymans [Thu, 13 May 2010 10:03:07 +0000 (12:03 +0200)]
riff: relax width and height constraints

Increase the acceptable video sizes from [16,4096] to [1, MAX].

See #618392

14 years agovideo: Use simple fraction multiplication functions instead of going through GValues
Sebastian Dröge [Thu, 13 May 2010 06:05:09 +0000 (08:05 +0200)]
video: Use simple fraction multiplication functions instead of going through GValues

14 years agovideoscale: Add a unit test for checking if the negotiation works as expected
Sebastian Dröge [Mon, 10 May 2010 15:09:28 +0000 (17:09 +0200)]
videoscale: Add a unit test for checking if the negotiation works as expected

14 years agovideoscale: Try harder to keep the DAR if possible
Sebastian Dröge [Mon, 10 May 2010 15:09:28 +0000 (17:09 +0200)]
videoscale: Try harder to keep the DAR if possible

Fixes bug #371108.

14 years agovideoscale: Log PAR and DAR of input and output caps when setting caps
Sebastian Dröge [Mon, 10 May 2010 13:13:20 +0000 (15:13 +0200)]
videoscale: Log PAR and DAR of input and output caps when setting caps

14 years agovideoscale: Set input width/height if the output caps don't have any width or height
Sebastian Dröge [Mon, 10 May 2010 12:52:15 +0000 (14:52 +0200)]
videoscale: Set input width/height if the output caps don't have any width or height

14 years agovideoscale: Try to keep DAR when scaling
Andoni Morales [Mon, 10 May 2010 11:01:44 +0000 (13:01 +0200)]
videoscale: Try to keep DAR when scaling

Fixes bug #371108.

14 years agobasertpaudiopayload: Add extra frame for non-complete frame lengths
Olivier Crête [Mon, 10 May 2010 23:09:28 +0000 (19:09 -0400)]
basertpaudiopayload: Add extra frame for non-complete frame lengths

Some payloaders like rtpg729pay can add a shorter frame at the end of a
RTP packet. We need to count it like a full frame for timestamps.

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

14 years agobasertpaudiopayload: Set duration on buffers
Olivier Crête [Mon, 10 May 2010 22:53:29 +0000 (18:53 -0400)]
basertpaudiopayload: Set duration on buffers

Set the duration of the buffers from their size

14 years agovideotestsrc: Fixate PAR to 1/1 if possible
Sebastian Dröge [Tue, 11 May 2010 14:12:49 +0000 (16:12 +0200)]
videotestsrc: Fixate PAR to 1/1 if possible

14 years agoconfigure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0
Sebastian Dröge [Tue, 11 May 2010 08:07:01 +0000 (10:07 +0200)]
configure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0

14 years agoximagesink: Check if the X context is allocated before using it
Sebastian Dröge [Mon, 10 May 2010 10:44:41 +0000 (12:44 +0200)]
ximagesink: Check if the X context is allocated before using it

It should be allocated at these places already or the state changes
would have failed... but better add an additional check here.

14 years agoximagesink: Post an error message on the bus if no supported pixmap formats can be...
Sebastian Dröge [Mon, 10 May 2010 10:28:29 +0000 (12:28 +0200)]
ximagesink: Post an error message on the bus if no supported pixmap formats can be found

Might fix bug #615851.

14 years agoffmpegcolorspace : whooops
Edward Hervey [Fri, 7 May 2010 17:49:57 +0000 (19:49 +0200)]
ffmpegcolorspace : whooops

14 years agoffmpegcolorspace: more minor cleanups
Edward Hervey [Fri, 7 May 2010 17:21:13 +0000 (19:21 +0200)]
ffmpegcolorspace: more minor cleanups

14 years agoffmpegcolorspace: speedup caps transformation
Edward Hervey [Fri, 7 May 2010 15:16:28 +0000 (17:16 +0200)]
ffmpegcolorspace: speedup caps transformation

* don't re-create our possible caps every single time, just use the
  template caps.
* don't intersect the caps against the template, basetransform has already
  done that for us.

62% speedup of _transform_caps() (instruction calls, measured with callgrind)

14 years agouridecodebin: add the 'expose-all-streams' property from decodebin2
Edward Hervey [Fri, 7 May 2010 10:19:25 +0000 (12:19 +0200)]
uridecodebin: add the 'expose-all-streams' property from decodebin2

API: expose-all-streams

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

14 years agodecodebin2: Add a property to not expose/decode all streams
Edward Hervey [Thu, 6 May 2010 16:50:51 +0000 (18:50 +0200)]
decodebin2: Add a property to not expose/decode all streams

API : expose-all-streams

If disabled:
* only the streams that CAN be decoded and match the final caps will have a
  decoder plugged in and be exposed.
* the streams that COULD HAVE BEEN decoded but do not match the finals caps
  will not have a decoder plugged in and will not be exposed.

If no decoder is available to decode a certain stream, then the missing element
message will still be emitted regardless of the value of the property.

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

14 years agodecodebin2: rename are_raw_caps to are_final_caps, correct comment
Edward Hervey [Thu, 6 May 2010 15:47:12 +0000 (17:47 +0200)]
decodebin2: rename are_raw_caps to are_final_caps, correct comment

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

14 years agosdpmessage: add new TIAS bandwidth modifier
Wim Taymans [Fri, 7 May 2010 15:16:37 +0000 (17:16 +0200)]
sdpmessage: add new TIAS bandwidth modifier

Add TIAS modifier as specified in RFC 3890.
Do some whitespace fixes.

14 years agoaudioconvert: disambigue comment due to popular demand
Stefan Kost [Thu, 6 May 2010 21:10:22 +0000 (00:10 +0300)]
audioconvert: disambigue comment due to popular demand

Write "target depth" instead of "our depth" or previous ambigous "out depth".

14 years agoplaysink: disconnect signals in some more cleanup cases
Mark Nauwelaerts [Thu, 6 May 2010 13:40:34 +0000 (15:40 +0200)]
playsink: disconnect signals in some more cleanup cases

14 years agooggdemux: don't seek when no current chain
Wim Taymans [Thu, 6 May 2010 11:10:54 +0000 (13:10 +0200)]
oggdemux: don't seek when no current chain

Avoid a crash when we try to seek when there is no current chain.

14 years agooggdemux: ignore the skeleton start time
Wim Taymans [Thu, 6 May 2010 10:21:38 +0000 (12:21 +0200)]
oggdemux: ignore the skeleton start time

Ignore the skeleton start time as it is usually wrong for live streams
and we have the needed logic to calculate it anyway.

14 years agooggdemux: wait for headers before exposing chains
Wim Taymans [Thu, 6 May 2010 10:06:09 +0000 (12:06 +0200)]
oggdemux: wait for headers before exposing chains

Wait until we have all the stream headers before we start exposing the streams
of a chain.

14 years agooggdemux: use index to estimate bitrate
Wim Taymans [Thu, 6 May 2010 08:56:21 +0000 (10:56 +0200)]
oggdemux: use index to estimate bitrate

When we have an index, use it to much more accurately estimate the total stream
bitrate.

14 years agodocs: be more firendly to gtk-doc limitted parsing capabilities
Stefan Kost [Thu, 6 May 2010 08:34:53 +0000 (11:34 +0300)]
docs: be more firendly to gtk-doc limitted parsing capabilities

14 years agodocs: fix wrong doc markup
Stefan Kost [Thu, 6 May 2010 06:42:02 +0000 (09:42 +0300)]
docs: fix wrong doc markup

14 years agovideoscale: use can_intersect to avoid a caps copy
Stefan Kost [Thu, 6 May 2010 06:17:33 +0000 (09:17 +0300)]
videoscale: use can_intersect to avoid a caps copy

14 years agovideorate: trucate own caps, instead of copying and using the first only
Stefan Kost [Thu, 6 May 2010 06:14:25 +0000 (09:14 +0300)]
videorate: trucate own caps, instead of copying and using the first only

We got the caps from an intersect, it is our own, hence we can truncate it.
Besides gst-indent has chooses to line-up all caps in one line again :/.

14 years agodecodebin: use can_intersect to avoid a caps copy
Stefan Kost [Thu, 6 May 2010 06:12:32 +0000 (09:12 +0300)]
decodebin: use can_intersect to avoid a caps copy

14 years agolibvisual: trucate own caps, instead of copying and using the first only
Stefan Kost [Thu, 6 May 2010 06:11:17 +0000 (09:11 +0300)]
libvisual: trucate own caps, instead of copying and using the first only

We got the caps from an intersect, it is our own, hence we can truncate it.

14 years agovorbis: have a copy_sample func as a func pointer
Stefan Kost [Thu, 6 May 2010 05:20:10 +0000 (08:20 +0300)]
vorbis: have a copy_sample func as a func pointer

Make some more variants for copy_sample funcs and use them via function pointer.

14 years agoaudioconvert: fix typo in comment
Stefan Kost [Thu, 6 May 2010 05:16:45 +0000 (08:16 +0300)]
audioconvert: fix typo in comment

14 years agox(v)imagesink: use gst_caps_can_intersect() more
Stefan Kost [Thu, 6 May 2010 05:15:16 +0000 (08:15 +0300)]
x(v)imagesink: use gst_caps_can_intersect() more

In place where we just need to know whether caps intersect, we can use this
quicker function.

14 years agoexamples: add a test for difference position formats
Stefan Kost [Thu, 15 Apr 2010 10:09:45 +0000 (13:09 +0300)]
examples: add a test for difference position formats

The test runs position and duration queries on the pipeline in all formats.