platform/upstream/gstreamer.git
14 years agotag: use BOM to recognize UTF-16/32 encoding and convert accordingly
Mark Nauwelaerts [Thu, 8 Oct 2009 12:16:44 +0000 (14:16 +0200)]
tag: use BOM to recognize UTF-16/32 encoding and convert accordingly

14 years agocheck: Add valgrind suppressions for ALSA and fontconfig bits on Jaunty.
Jan Schmidt [Fri, 9 Oct 2009 14:11:16 +0000 (15:11 +0100)]
check: Add valgrind suppressions for ALSA and fontconfig bits on Jaunty.

14 years agoaudioconvert: change the format instead of cast as ensonic asked
Josep Torra [Fri, 9 Oct 2009 13:32:45 +0000 (15:32 +0200)]
audioconvert: change the format instead of cast as ensonic asked

14 years agoaudioconvert: fixes warning: format not a string literal and no format arguments
Josep Torra [Fri, 9 Oct 2009 13:29:15 +0000 (15:29 +0200)]
audioconvert: fixes warning: format not a string literal and no format arguments

redo of valid part of my previous revert.

14 years agoRevert "audioconvert: fixes warning: format not a string literal and no format arguments"
Josep Torra [Fri, 9 Oct 2009 13:19:42 +0000 (15:19 +0200)]
Revert "audioconvert: fixes warning: format not a string literal and no format arguments"

Revert this commit as unintentionally I've changed common.

This reverts commit 49ea0138223ec5f9e53780635cbcc70f33778667.

14 years agognomevfssrc: fixes warnings in macosx
Josep Torra [Fri, 9 Oct 2009 12:28:42 +0000 (14:28 +0200)]
gnomevfssrc: fixes warnings in macosx

warning: format '%llu' expects type 'long long unsigned int', but argument 8 has type 'GnomeVFSFileOffset'
warning: format '%lld' expects type 'long long int', but argument 9 has type 'guint64'

14 years agovideorate: fix warning in macosx
Josep Torra [Fri, 9 Oct 2009 12:23:36 +0000 (14:23 +0200)]
videorate: fix warning in macosx

14 years agoaudiorate: fix warning in macosx
Josep Torra [Fri, 9 Oct 2009 12:20:47 +0000 (14:20 +0200)]
audiorate: fix warning in macosx

14 years agoaudioconvert: fixes warning: format not a string literal and no format arguments
Josep Torra [Fri, 9 Oct 2009 12:14:15 +0000 (14:14 +0200)]
audioconvert: fixes warning: format not a string literal and no format arguments

14 years agoaudio: fix warnings building on macosx
Josep Torra [Fri, 9 Oct 2009 12:07:24 +0000 (14:07 +0200)]
audio: fix warnings building on macosx

14 years agoffmpegcolorspace: chwck formats just once per _chain()
Stefan Kost [Thu, 8 Oct 2009 15:08:22 +0000 (18:08 +0300)]
ffmpegcolorspace: chwck formats just once per _chain()

14 years agoffmpegcolorspace: add perf-log-category and log suboptimal operation
Stefan Kost [Thu, 8 Oct 2009 14:49:39 +0000 (17:49 +0300)]
ffmpegcolorspace: add perf-log-category and log suboptimal operation

Log if we use an intermediate colorspace for conversion.

14 years agoAutomatic update of common submodule
Jan Schmidt [Thu, 8 Oct 2009 09:59:36 +0000 (10:59 +0100)]
Automatic update of common submodule

From 19fa4f3 to a3e3ce4

14 years agodecodebin2: Fix type-punning warning
Jan Schmidt [Wed, 7 Oct 2009 23:17:21 +0000 (00:17 +0100)]
decodebin2: Fix type-punning warning

14 years agodecodebin2: Chains with an exposed endpad are complete too
Sebastian Dröge [Sat, 26 Sep 2009 10:56:36 +0000 (12:56 +0200)]
decodebin2: Chains with an exposed endpad are complete too

This allows partial group changes, i.e. demuxer2 in the example below
goes EOS but has a next group and audio2 stays the same.

          /-- >demuxer2---->video
demuxer---             \--->audio1
          \--->audio2

14 years agodecodebin2: Use the iterate internal links function instead of string magic to get...
Sebastian Dröge [Sat, 26 Sep 2009 10:47:53 +0000 (12:47 +0200)]
decodebin2: Use the iterate internal links function instead of string magic to get multiqueue srcpads

14 years agouridecodebin: Don't post missing plugin messages twice
Sebastian Dröge [Thu, 24 Sep 2009 12:56:48 +0000 (14:56 +0200)]
uridecodebin: Don't post missing plugin messages twice

decodebin2 already posts them after emitting the unknown-type signal,
there's no need to post another one.

14 years agodecodebin2: Rewrite autoplugging and how groups of pads are exposed
Sebastian Dröge [Sat, 26 Sep 2009 10:17:49 +0000 (12:17 +0200)]
decodebin2: Rewrite autoplugging and how groups of pads are exposed

This now keeps track of everything that is going on, creates
a tree of chains and groups to allow "demuxer after demuxer" scenarios
and allows chained Oggs with multiple streams (needs oggdemux or playbin2 fixes).

Also document everything in detail and give a general overview of what
decodebin2 is doing at the top of the sources.

Fixes bug #596183, #563828 and #591677.

14 years agoximagesink: only start event thread if needed
Stefan Kost [Wed, 7 Oct 2009 14:45:33 +0000 (17:45 +0300)]
ximagesink: only start event thread if needed

The event thread is doing 20 wakeups per second to poll the events. If one
runs ximagesink with handle-events=false and handle-expose=false then we can
avoid the extra thread.

14 years agotheoraenc: Make the default quality property 48.
Edward Hervey [Wed, 7 Oct 2009 14:56:28 +0000 (16:56 +0200)]
theoraenc: Make the default quality property 48.

This guarantees that people who use theoraenc without modifying any
properties will end up with a reasonably good quality output.

48 is also the default of the encoder_example application shipped with
libtheora.

14 years agotests/check/libs/video.c: Update strides for Y41B
Benjamin Otte [Wed, 7 Oct 2009 09:48:37 +0000 (11:48 +0200)]
tests/check/libs/video.c: Update strides for Y41B

14 years agortspconnection: we can use GLib 2.18 API unconditionally now
Tim-Philipp Müller [Wed, 7 Oct 2009 09:32:17 +0000 (10:32 +0100)]
rtspconnection: we can use GLib 2.18 API unconditionally now

14 years agoconfigure: bump GLib requirement to 2.18
Tim-Philipp Müller [Wed, 7 Oct 2009 09:13:59 +0000 (10:13 +0100)]
configure: bump GLib requirement to 2.18

Bump required GLib version as per the release planning docs.

14 years agodocs: clarify GstTuner docs in two places
Tim-Philipp Müller [Sun, 4 Oct 2009 23:33:32 +0000 (00:33 +0100)]
docs: clarify GstTuner docs in two places

14 years agov4l: fix compiler warning
Tim-Philipp Müller [Fri, 25 Sep 2009 14:32:18 +0000 (15:32 +0100)]
v4l: fix compiler warning

Fix 'variable may be used uninitialized' compiler warning (which is
true in theory, but can't actually ever happen, since we always
call the function with check=FALSE).

Fixes #596313.

14 years agobuild: sprintf, sscanf need stdio.h
Stefan Kost [Wed, 7 Oct 2009 08:56:35 +0000 (11:56 +0300)]
build: sprintf, sscanf need stdio.h

14 years agoxvimagesink: only start event thread if needed
Stefan Kost [Tue, 15 Sep 2009 12:26:06 +0000 (15:26 +0300)]
xvimagesink: only start event thread if needed

The event thread is doing 20 wakeups per second to poll the events. If one runs
xvimagesink with handle-events=false and handle-expose=false then we can avoid
the extra thread.

14 years agoUpdate Since tags for NV12/NV21
Benjamin Otte [Wed, 7 Oct 2009 07:58:27 +0000 (09:58 +0200)]
Update Since tags for NV12/NV21

They are added in 0.10.26 now, not 0.10.25

14 years ago[videotestsrc] Make checkers-8 pattern create 8x8 instead of 16x16 tiles
Benjamin Otte [Wed, 23 Sep 2009 13:31:50 +0000 (15:31 +0200)]
[videotestsrc] Make checkers-8 pattern create 8x8 instead of 16x16 tiles

14 years ago[ffmpegcolorspace] Fix NV12 and NV21 with odd width and height
Benjamin Otte [Wed, 23 Sep 2009 09:03:57 +0000 (11:03 +0200)]
[ffmpegcolorspace] Fix NV12 and NV21 with odd width and height

14 years agoAdd NV12 and NV21 formats
Benjamin Otte [Wed, 23 Sep 2009 08:25:02 +0000 (10:25 +0200)]
Add NV12 and NV21 formats

14 years ago[video] Fix Y41B
Benjamin Otte [Mon, 21 Sep 2009 16:49:42 +0000 (18:49 +0200)]
[video] Fix Y41B

Chroma components should be aligned on 4byte boundaries.

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

14 years ago[videotestsrc] Fix Y41B
Benjamin Otte [Mon, 21 Sep 2009 16:49:06 +0000 (18:49 +0200)]
[videotestsrc] Fix Y41B

Chroma components should be aligned on 4byte boundaries.

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

14 years agostreamvolume: Define cbrt() if it's not available
Sebastian Dröge [Wed, 7 Oct 2009 05:28:15 +0000 (07:28 +0200)]
streamvolume: Define cbrt() if it's not available

Fixes build on Win32, bug #597537.

14 years agofactorylist: Use gst_caps_can_intersect() instead of _intersect()
Sebastian Dröge [Thu, 24 Sep 2009 14:05:58 +0000 (16:05 +0200)]
factorylist: Use gst_caps_can_intersect() instead of _intersect()

This is faster and results in less allocations.

14 years agodecodebin2: Don't set the external ghostpads blocked but only their targets
Sebastian Dröge [Sat, 26 Sep 2009 10:10:21 +0000 (12:10 +0200)]
decodebin2: Don't set the external ghostpads blocked but only their targets

Pad blocks should never be done on external pads as outside elements
might want to use their own pad blocks on them and this will lead to
conflicts and deadlocks.

14 years agodecodebin2: Only use the object lock for protecting the subtitle elements
Sebastian Dröge [Sat, 26 Sep 2009 10:04:55 +0000 (12:04 +0200)]
decodebin2: Only use the object lock for protecting the subtitle elements

Using the decodebin lock will result in deadlocks if the subtitle encoding
is accessed from a pad-added handler.

14 years agoplaybin2: Improve debugging of pad blocks
Sebastian Dröge [Sat, 26 Sep 2009 16:11:32 +0000 (18:11 +0200)]
playbin2: Improve debugging of pad blocks

14 years agoplaybin2/playsink: Use gst_object_ref_sink() instead of calling both separately
Sebastian Dröge [Wed, 23 Sep 2009 14:07:36 +0000 (16:07 +0200)]
playbin2/playsink: Use gst_object_ref_sink() instead of calling both separately

14 years agoconfigure: Add an 'else' to pangocairo check
David Schleef [Wed, 7 Oct 2009 02:59:11 +0000 (19:59 -0700)]
configure: Add an 'else' to pangocairo check

Otherwise it exits if it fails.

14 years agovideotestsrc: add pattern with out-of-gamut colors
David Schleef [Wed, 7 Oct 2009 02:35:50 +0000 (19:35 -0700)]
videotestsrc: add pattern with out-of-gamut colors

Adds a pattern with out-of-gamut colors in a checkerboard
pattern with in-gamut neighbors.  Useful for checking YCbCr->RGB
color matrixing.  Correct matrixing and clamping will cause the
checkerboard pattern to be invisible.

14 years agortsp: use CLOSE_SOCKET() instead of close()
Wim Taymans [Tue, 6 Oct 2009 17:17:49 +0000 (19:17 +0200)]
rtsp: use CLOSE_SOCKET() instead of close()

Use CLOSE_SOCKET instead of directly calling close() because it does the right
thing for windows.

Fixes #597539

14 years agoaudioresample: fix printf variable type
Robert Swain [Thu, 1 Oct 2009 12:19:41 +0000 (14:19 +0200)]
audioresample: fix printf variable type

Change printf variable type from %lu to %" G_GUINT64_FORMAT " as it
should be for guint64.

Fixes #596981

14 years agoffmpegcolorspace: Use the ffmpegcolorspace debug category
Jan Schmidt [Wed, 30 Sep 2009 22:22:35 +0000 (23:22 +0100)]
ffmpegcolorspace: Use the ffmpegcolorspace debug category

Move gstffmpegcodecmap debug to the ffmpegcolorspace category

14 years agogdppay: Don't repeat tags buffers for every new segment
Jan Schmidt [Tue, 22 Sep 2009 10:58:26 +0000 (11:58 +0100)]
gdppay: Don't repeat tags buffers for every new segment

Only send a tag buffer when one is received, not after every new segment
event/update.

14 years agotypefind: detect 'ftypqt ' as video/quicktime
David Schleef [Tue, 29 Sep 2009 03:25:35 +0000 (20:25 -0700)]
typefind: detect 'ftypqt  ' as video/quicktime

14 years agoback to development -> 0.10.25.1
Jan Schmidt [Tue, 6 Oct 2009 18:47:00 +0000 (19:47 +0100)]
back to development -> 0.10.25.1

14 years agoRelease 0.10.25
Jan Schmidt [Mon, 5 Oct 2009 12:56:15 +0000 (13:56 +0100)]
Release 0.10.25

14 years agoUpdate .po files
Jan Schmidt [Mon, 5 Oct 2009 12:49:10 +0000 (13:49 +0100)]
Update .po files

14 years ago0.10.24.4 pre-release
Jan Schmidt [Thu, 1 Oct 2009 16:17:55 +0000 (17:17 +0100)]
0.10.24.4 pre-release

14 years agopango: Unpremultiply Cairo's ARGB to match GStreamers ARGB
Sebastian Dröge [Thu, 1 Oct 2009 08:37:38 +0000 (10:37 +0200)]
pango: Unpremultiply Cairo's ARGB to match GStreamers ARGB

14 years agoplaysink: make the lock recursive for now
Wim Taymans [Mon, 28 Sep 2009 20:06:11 +0000 (22:06 +0200)]
playsink: make the lock recursive for now

Fixes #583255

14 years agoplaysink: fix the vis property getter
Wim Taymans [Mon, 28 Sep 2009 19:54:03 +0000 (21:54 +0200)]
playsink: fix the vis property getter

14 years agoAdd missing file to spec file
Christian F.K. Schaller [Wed, 30 Sep 2009 17:06:56 +0000 (18:06 +0100)]
Add missing file to spec file

14 years agocddabasesrc: Fix string leaks in the unit test and a leak in cddabasesrc
Sebastian Dröge [Thu, 17 Sep 2009 14:57:48 +0000 (16:57 +0200)]
cddabasesrc: Fix string leaks in the unit test and a leak in cddabasesrc

14 years agocddabasesrc: ignore URI fragments that look like device paths
Jonathan Matthew [Thu, 17 Sep 2009 13:42:52 +0000 (23:42 +1000)]
cddabasesrc: ignore URI fragments that look like device paths

Rhythmbox uses cdda:// URIs of the form cdda://track#device, which
worked before the fix for bug #321532.

Also adds a check for negative track numbers and some unit tests for URI
parsing.

Fixes bug #595454.

14 years ago0.10.24.3 pre-release
Jan Schmidt [Thu, 17 Sep 2009 00:20:45 +0000 (01:20 +0100)]
0.10.24.3 pre-release

14 years agovorbistag: don't ever return NULL in list of strings.
Michael Smith [Tue, 15 Sep 2009 22:23:49 +0000 (15:23 -0700)]
vorbistag: don't ever return NULL in list of strings.

14 years agoplaysink: Expose mute,volume,vis-plugin and font-desc properties
Edward Hervey [Mon, 14 Sep 2009 10:18:33 +0000 (12:18 +0200)]
playsink: Expose mute,volume,vis-plugin and font-desc properties

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

14 years agoGstPlaySink: Expose 'reconfigure' as an action signal.
Edward Hervey [Wed, 9 Sep 2009 10:42:04 +0000 (12:42 +0200)]
GstPlaySink: Expose 'reconfigure' as an action signal.

14 years agoGstPlaySink: Expose flags as a gobject property.
Edward Hervey [Wed, 9 Sep 2009 09:17:28 +0000 (11:17 +0200)]
GstPlaySink: Expose flags as a gobject property.

14 years agoplayback: Register playsink as an element.
Edward Hervey [Tue, 8 Sep 2009 09:35:20 +0000 (11:35 +0200)]
playback: Register playsink as an element.

This allows using playsink from outside the playback plugin.

Add code to be able to request the sink pads using standard GStreamer API.

TODO : expose GObject properties/signals.

14 years agodocs: add new gst_stream_volume_get_type to types file
Stefan Kost [Sat, 12 Sep 2009 11:55:06 +0000 (14:55 +0300)]
docs: add new gst_stream_volume_get_type to types file

This is needs to get Gobject features to show up in the docs.

14 years agooggdemux: Fix duration calculation for truncated files
David Schleef [Sat, 12 Sep 2009 22:48:11 +0000 (15:48 -0700)]
oggdemux: Fix duration calculation for truncated files

If the last page of a stream has a granulepos of -1, that is,
it doesn't complete a packet, we need to continue to search
for the last granulepos.

14 years agointrospection: Build pkgconfig before all libraries and set PKG_CONFIG_PATH
Sebastian Dröge [Sat, 12 Sep 2009 12:01:20 +0000 (14:01 +0200)]
introspection: Build pkgconfig before all libraries and set PKG_CONFIG_PATH

This way g-ir-scanner can find the gstreamer-*-0.10 pkg-config files.

14 years agotheoraenc: Fix a string leak in _getcaps()
Jan Schmidt [Sat, 12 Sep 2009 01:23:07 +0000 (02:23 +0100)]
theoraenc: Fix a string leak in _getcaps()

14 years ago0.10.24.2 pre-release
Jan Schmidt [Fri, 11 Sep 2009 22:49:11 +0000 (23:49 +0100)]
0.10.24.2 pre-release

14 years agocheck: Improve audioresample test
Jan Schmidt [Fri, 11 Sep 2009 20:44:18 +0000 (21:44 +0100)]
check: Improve audioresample test

Make the audioresample test work with CK_FORK=no, and
turn a g_print into a GST_INFO.

14 years agovideotestsrc: Fix crashes with even widths
Benjamin Otte [Fri, 11 Sep 2009 20:09:06 +0000 (22:09 +0200)]
videotestsrc: Fix crashes with even widths

The fix for green lines introduced by commit
35fdfcc6258c66ba462a4330a35deffb0f2b501d caused invalid memory accesses
for even widths. This patch fixes it.

14 years agoplaybin2: Implement GstStreamVolume interface
Sebastian Dröge [Fri, 11 Sep 2009 13:11:41 +0000 (15:11 +0200)]
playbin2: Implement GstStreamVolume interface

14 years agovolume: Implement GstStreamVolume interface
Sebastian Dröge [Fri, 11 Sep 2009 13:04:42 +0000 (15:04 +0200)]
volume: Implement GstStreamVolume interface

14 years agointerfaces: API: Add GstStreamVolume interface
Sebastian Dröge [Fri, 11 Sep 2009 12:54:17 +0000 (14:54 +0200)]
interfaces: API: Add GstStreamVolume interface

Fixes bug #567660.

14 years agortsp: properly fix the HTTP manual mode
Wim Taymans [Fri, 11 Sep 2009 10:20:10 +0000 (12:20 +0200)]
rtsp: properly fix the HTTP manual mode

When we're not parsing HTTP, return EPARSE when we get an HTTP
message.

14 years agomixertrack: add READONLY and WRITEONLY flags
Tim-Philipp Müller [Fri, 11 Sep 2009 09:16:15 +0000 (10:16 +0100)]
mixertrack: add READONLY and WRITEONLY flags

Should really have been READABLE and WRITABLE, but those are hard to
add whilst maintaining backwards compatibility. See #343615.

API: GST_MIXER_TRACK_READONLY
API: GST_MIXER_TRACK_WRITEONLY

14 years agoringbuffer: fix build against core that has debugging disabled
Tim-Philipp Müller [Fri, 11 Sep 2009 09:02:54 +0000 (10:02 +0100)]
ringbuffer: fix build against core that has debugging disabled

The macro is called GST_DISABLE_GST_DEBUG, not GST_DISABLE_DEBUG.

14 years agovideorate: Add Since marker for the new skip-to-first property
Sebastian Dröge [Fri, 11 Sep 2009 05:38:28 +0000 (07:38 +0200)]
videorate: Add Since marker for the new skip-to-first property

14 years agovideorate: Make videorate work with a live source
Olivier Crête [Fri, 11 Sep 2009 05:36:10 +0000 (07:36 +0200)]
videorate: Make videorate work with a live source

Add a property that makes videorate skip to the first buffer it
receives instead of padding the stream from segment start to the
first real buffer.

Fixes bug #567928.

14 years agofft: Mark one function as const and add notes that the structs should be private...
Sebastian Dröge [Fri, 11 Sep 2009 05:20:49 +0000 (07:20 +0200)]
fft: Mark one function as const and add notes that the structs should be private in 0.11

14 years agoringbuffer: add human readable format names when logging
Stefan Kost [Thu, 10 Sep 2009 19:28:19 +0000 (22:28 +0300)]
ringbuffer: add human readable format names when logging

Add string array with human readable names for format and type to be used in log
statements.

14 years agobasertppay: don't print RTP timestamps as clocktime
Wim Taymans [Thu, 10 Sep 2009 16:19:36 +0000 (18:19 +0200)]
basertppay: don't print RTP timestamps as clocktime

Don't try to print the RTP timestamp as a GstClockTime, it's just a guint32.

Fixes #594757

14 years agoplaybin(2): Document that the volume property uses a linear scale
Sebastian Dröge [Thu, 10 Sep 2009 14:55:31 +0000 (16:55 +0200)]
playbin(2): Document that the volume property uses a linear scale

Fixes bug #571610.

14 years agortsp: don't return EPARSE
Wim Taymans [Thu, 10 Sep 2009 12:04:53 +0000 (14:04 +0200)]
rtsp: don't return EPARSE

Don't blindly return EPARSE when http mode is disabled.
Restore old http mode after temporarily setting it to TRUE.

14 years agobaseaudiosink: add ugly backward compat hack
Wim Taymans [Thu, 10 Sep 2009 10:38:16 +0000 (12:38 +0200)]
baseaudiosink: add ugly backward compat hack

Check for pulsesink < 0.10.17 because it includes code that is now included in
baseaudiosink. Disable that code in baseaudiosink to be compatible with the
older version.

14 years agoffmpegcolorspace: Handle YVU9/YUV9 conversion with odd widths
Benjamin Otte [Thu, 10 Sep 2009 08:56:29 +0000 (10:56 +0200)]
ffmpegcolorspace: Handle YVU9/YUV9 conversion with odd widths

A green border could be visible when converting to Y444 or RGB, because
the last chroma samples weren't copied correctly

14 years agovideotestsrc: Fix YVU9 and YUV9
Benjamin Otte [Thu, 10 Sep 2009 08:43:37 +0000 (10:43 +0200)]
videotestsrc: Fix YVU9 and YUV9

- Buffer sizes were computed different from ffmpegcolorspace
- Green bar on right size for widths not divisable by 4

14 years agovideotestsrc: Fix image for odd widths in some formats
Benjamin Otte [Thu, 10 Sep 2009 08:08:28 +0000 (10:08 +0200)]
videotestsrc: Fix image for odd widths in some formats

videotestsrc rounds chroma down. This causes it to omit the last chroma
value completely for odd widths when the chroma is downsampled.
This patch special cases the last pixel to not be rounded down.

14 years agooggdemux: Handle kate and cmml as sparse streams too
Sebastian Dröge [Thu, 10 Sep 2009 08:02:58 +0000 (10:02 +0200)]
oggdemux: Handle kate and cmml as sparse streams too

14 years agooggdemux: Better handling of sparse streams by sending segment updates
Tim-Philipp Müller [Thu, 10 Sep 2009 08:00:16 +0000 (10:00 +0200)]
oggdemux: Better handling of sparse streams by sending segment updates

Fixes bug #397419.

14 years agodocs: tell a biit more about uri-decodebin and buffering
Stefan Kost [Thu, 10 Sep 2009 06:43:28 +0000 (09:43 +0300)]
docs: tell a biit more about uri-decodebin and buffering

14 years agobaseaudiosink: take clock time in setcaps
Wim Taymans [Wed, 9 Sep 2009 16:24:44 +0000 (18:24 +0200)]
baseaudiosink: take clock time in setcaps

Take the time of the clock so that the last_time field is set. This is important
for sinks that restart their internal ringbuffer after a caps change and need to
know the last know position.

14 years agoaudioclock: add some more debug
Wim Taymans [Wed, 9 Sep 2009 16:24:15 +0000 (18:24 +0200)]
audioclock: add some more debug

14 years agotheoraenc: Print a debug message with supported formats
Sebastian Dröge [Wed, 9 Sep 2009 14:44:24 +0000 (16:44 +0200)]
theoraenc: Print a debug message with supported formats

14 years agotheora: Check supported input formats in getcaps function
Benjamin Otte [Mon, 7 Sep 2009 15:29:38 +0000 (17:29 +0200)]
theora: Check supported input formats in getcaps function

We want to fail early when an older libtheora release is used that does
not support Y444 or Y42B formats, so use a getcaps function that does
this.

14 years agotheora: Implement support in theoraenc for Y444 and Y42B
Benjamin Otte [Fri, 4 Sep 2009 19:37:04 +0000 (21:37 +0200)]
theora: Implement support in theoraenc for Y444 and Y42B

Fixes bug #594165.

14 years agotheora: Refactor the buffer copy code
Benjamin Otte [Fri, 4 Sep 2009 18:23:52 +0000 (20:23 +0200)]
theora: Refactor the buffer copy code

14 years agotheora: Split yuv_buffer creation into its own function
Benjamin Otte [Fri, 4 Sep 2009 14:59:49 +0000 (16:59 +0200)]
theora: Split yuv_buffer creation into its own function

14 years agotheora: Split out buffer resize in its own function
Benjamin Otte [Fri, 4 Sep 2009 14:49:08 +0000 (16:49 +0200)]
theora: Split out buffer resize in its own function

14 years agotheora: Add assertions that functions don't fail
Benjamin Otte [Fri, 4 Sep 2009 12:06:09 +0000 (14:06 +0200)]
theora: Add assertions that functions don't fail

Some functions in libtheora can return an error, but that error cannot
ever happen inside theoraenc. In those cases assert that it doesn't.

14 years agoseek: make stop state configurable
Wim Taymans [Wed, 9 Sep 2009 14:21:57 +0000 (16:21 +0200)]
seek: make stop state configurable

Make it easy to experiment with different stop states (NULL and READY)

14 years agobaseaudiosink: correct for clock reset
Wim Taymans [Wed, 9 Sep 2009 14:19:32 +0000 (16:19 +0200)]
baseaudiosink: correct for clock reset

When going to NULL, we reset the ringbuffer so that it starts beck from 0. We
also make sure that the clock is updated with the elapsed time so that it
alsways increments even when the ringbuffer goes back to 0. When this happened
we need to adjust the sample position for the reset ringbuffer.

Fixes #594136