platform/upstream/gst-plugins-base.git
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.

14 years agoexample: update status (adder is fixed now)
Stefan Kost [Thu, 15 Apr 2010 10:08:39 +0000 (13:08 +0300)]
example: update status (adder is fixed now)

14 years agoexample: make app static
Stefan Kost [Thu, 15 Apr 2010 10:08:01 +0000 (13:08 +0300)]
example: make app static

14 years agooggdemux: printf format fixes
Tim-Philipp Müller [Wed, 5 May 2010 12:25:02 +0000 (13:25 +0100)]
oggdemux: printf format fixes

14 years agortsp: weekday and month names in RTSP date string should be in C locale
Tim-Philipp Müller [Tue, 4 May 2010 14:32:59 +0000 (15:32 +0100)]
rtsp: weekday and month names in RTSP date string should be in C locale

Create date string using C locale weekday and month names.

Fixes #617636.

14 years agouridecodebin: add all qtdemux types to downloadable types
Wim Taymans [Tue, 4 May 2010 15:54:01 +0000 (17:54 +0200)]
uridecodebin: add all qtdemux types to downloadable types

Add all the media types that qtdemux can handle to the list of downloadable
types.

14 years agooggdemux: handle corrupt indexes
Wim Taymans [Tue, 4 May 2010 15:38:50 +0000 (17:38 +0200)]
oggdemux: handle corrupt indexes

Make sure we handle and receover from corrupt indexes.

14 years agooggdemux: fix EOS check
Wim Taymans [Tue, 4 May 2010 13:47:29 +0000 (15:47 +0200)]
oggdemux: fix EOS check

14 years agooggstream: avoild division by 0
Wim Taymans [Tue, 4 May 2010 11:51:07 +0000 (13:51 +0200)]
oggstream: avoild division by 0

14 years agooggdemux: cleanup unused defines
Wim Taymans [Tue, 4 May 2010 11:50:46 +0000 (13:50 +0200)]
oggdemux: cleanup unused defines

14 years agooggdemux: use the index in push mode when we can
Wim Taymans [Tue, 4 May 2010 11:36:58 +0000 (13:36 +0200)]
oggdemux: use the index in push mode when we can

When seeking in push mode, try to use the index first before we use the bitrate
estimation.

14 years agooggdemux: use skeleton duration when possible
Wim Taymans [Tue, 4 May 2010 11:05:51 +0000 (13:05 +0200)]
oggdemux: use skeleton duration when possible

14 years agooggstream: parse duration from 3.3 skeleton
Wim Taymans [Tue, 4 May 2010 11:02:19 +0000 (13:02 +0200)]
oggstream: parse duration from 3.3 skeleton

14 years agooggdemux: more index parsing work
Wim Taymans [Tue, 2 Mar 2010 10:16:39 +0000 (11:16 +0100)]
oggdemux: more index parsing work

14 years agooggdemux: clean up fishead/fisbone parsing
Wim Taymans [Mon, 1 Mar 2010 12:50:32 +0000 (13:50 +0100)]
oggdemux: clean up fishead/fisbone parsing

Remove some redundant code for parsing fishead streams. Actually use the data we
parsed (mostly start_time).

14 years agooggdemux: implement seek in push mode
Wim Taymans [Tue, 4 May 2010 09:19:39 +0000 (11:19 +0200)]
oggdemux: implement seek in push mode

Refactor start time collection code.
When we receive a flush_stop, resync to the new start time and push out a new
segment event.

14 years agooggdemux: make event handling better
Wim Taymans [Mon, 3 May 2010 14:52:59 +0000 (16:52 +0200)]
oggdemux: make event handling better

Explicitly handle FLUSH events and resync on FLUSH_STOP.
Make send_event return a boolean.
Use more performant send_event function to forward events.

14 years agooggdemux: implement seeking in pushmode
Wim Taymans [Fri, 30 Apr 2010 16:37:17 +0000 (18:37 +0200)]
oggdemux: implement seeking in pushmode

Convert seek requests to bytes using the bitrate and forward them upstream. Does
not quite work because the flushing and resyncing is not implemented yet.

14 years agooggdemux: refactor for seeking in pushmode
Wim Taymans [Fri, 30 Apr 2010 16:03:37 +0000 (18:03 +0200)]
oggdemux: refactor for seeking in pushmode

refactor the code a little to prepare for seeking in push mode

14 years agotag: xmp: Adds new geo-location mappings
Thiago Santos [Mon, 3 May 2010 15:46:34 +0000 (12:46 -0300)]
tag: xmp: Adds new geo-location mappings

Adds GST_TAG_GEO_LOCATION_MOVEMENT_SPEED,
GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION and
GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION to xmp
mappings.

Tests included.

14 years agotag: xmp: Adds xmp mappings for device tags
Thiago Santos [Tue, 27 Apr 2010 01:08:41 +0000 (22:08 -0300)]
tag: xmp: Adds xmp mappings for device tags

Adds xmp mappings for GST_TAG_DEVICE_MANUFACTURER and
GST_TAG_DEVICE_MODEL. Also adds tests for it.

14 years agortsp: deprecate remaining base64 function now that we depend on GLib 2.20
Tim-Philipp Müller [Fri, 30 Apr 2010 18:56:14 +0000 (19:56 +0100)]
rtsp: deprecate remaining base64 function now that we depend on GLib 2.20

API: deprecate gst_rtsp_base64_decode_ip(), use g_base64_decode_inplace() instead

14 years agobasertpdepayload: ensure writable metadata
Mark Nauwelaerts [Fri, 30 Apr 2010 17:37:33 +0000 (19:37 +0200)]
basertpdepayload: ensure writable metadata

14 years agooggdemux: use bitrate to estimate length in pushmode
Wim Taymans [Fri, 30 Apr 2010 15:41:05 +0000 (17:41 +0200)]
oggdemux: use bitrate to estimate length in pushmode

Parse the bitrate from the various streams.
Use the bitrate and the upstream length in bytes to estimate the total stream
duration in push mode.

14 years agoBump GLib requirement to 2.20
Tim-Philipp Müller [Fri, 30 Apr 2010 13:07:59 +0000 (14:07 +0100)]
Bump GLib requirement to 2.20

See http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement

14 years agoplaybin2: forward duration query duration during group switch if no cached duration
Mark Nauwelaerts [Fri, 30 Apr 2010 11:36:59 +0000 (13:36 +0200)]
playbin2: forward duration query duration during group switch if no cached duration

... such as during first group setup.

Fixes #616396.

14 years agooggdemux: only EOS when all streams are EOS
Mark Nauwelaerts [Fri, 2 Apr 2010 14:37:21 +0000 (16:37 +0200)]
oggdemux: only EOS when all streams are EOS

14 years agooggdemux: fix debug message
Mark Nauwelaerts [Fri, 2 Apr 2010 14:36:53 +0000 (16:36 +0200)]
oggdemux: fix debug message

14 years agotest: fix copy and paste error of variable name
Stefan Kost [Fri, 30 Apr 2010 05:45:43 +0000 (08:45 +0300)]
test: fix copy and paste error of variable name

14 years agoadder: only accept seek-types none and set
Stefan Kost [Sun, 18 Apr 2010 17:46:37 +0000 (20:46 +0300)]
adder: only accept seek-types none and set

Previously we were also acting on cur and end, but treating them like none.

14 years agoadder: rework timestamping
Stefan Kost [Wed, 14 Apr 2010 20:31:20 +0000 (23:31 +0300)]
adder: rework timestamping

Adder was using always incrementing timestamps. Seeking was done by setting the
position in the newsegment event. This was failing when doing segmented seeks
with rate<0.0, as offset (and thus timestamp) would go below 0.

Now we take both cur and end from the seek event. We construct newsegment events
depending including cur and end from the seek event. We set position to the
start of the segment. Timestamp is set to start or end of segment depending on
rate. Offset is recalculated.

14 years agoplaysink: Add support for deinterlacing
Sebastian Dröge [Mon, 26 Apr 2010 15:30:44 +0000 (17:30 +0200)]
playsink: Add support for deinterlacing

This is disabled by default and can be enabled with the
deinterlace flag.

Fixes bug #547603.

14 years agoplaybin2: Add flag for enabling/disabling automatic deinterlacing
Sebastian Dröge [Mon, 26 Apr 2010 09:12:43 +0000 (11:12 +0200)]
playbin2: Add flag for enabling/disabling automatic deinterlacing

14 years agoplaybin: Use g_once_init_{enter,leave} instead of GOnce for enum/flag registration
Sebastian Dröge [Mon, 26 Apr 2010 09:11:37 +0000 (11:11 +0200)]
playbin: Use g_once_init_{enter,leave} instead of GOnce for enum/flag registration