platform/upstream/gstreamer.git
14 years agortpaudiopayload: Only sent exact multiple of the frame size
Olivier Crête [Wed, 21 Oct 2009 09:38:59 +0000 (12:38 +0300)]
rtpaudiopayload: Only sent exact multiple of the frame size

Also align the maximum size with the frame size, not only the minimum

14 years agoaudiorate: move debug calculation into debug macro
Thiago Santos [Thu, 22 Oct 2009 12:12:03 +0000 (09:12 -0300)]
audiorate: move debug calculation into debug macro

Remove in_duration and move its calculation to
GST_LOG_OBJECT macro. This way it will only be calculated
if we have debug enabled.

14 years agoaudiorate: Removing unused variable
Thiago Santos [Thu, 22 Oct 2009 12:06:02 +0000 (09:06 -0300)]
audiorate: Removing unused variable

The in_stop variable was never read. Removing it.

14 years agoaudiorate: be more accurate on offset math
Thiago Santos [Thu, 22 Oct 2009 11:40:01 +0000 (08:40 -0300)]
audiorate: be more accurate on offset math

Replace gst_util_uint64_scale_int for its rounding version
to improve accuracy and avoid inserting samples where
they aren't needed.

Fixes #499181

14 years agotextoverlay: Optimize a bit more
Sebastian Dröge [Thu, 22 Oct 2009 08:17:31 +0000 (10:17 +0200)]
textoverlay: Optimize a bit more

...and add a FIXME for bug #598695 and explain
what we should do once Pango supports user fonts.

14 years agosubparse: Add support for DKS subtitle format
Iago Toral [Thu, 22 Oct 2009 08:02:11 +0000 (10:02 +0200)]
subparse: Add support for DKS subtitle format

Fixes bug #598936.

14 years agotextoverlay: Do shading as first operation
Sebastian Dröge [Thu, 22 Oct 2009 07:31:34 +0000 (09:31 +0200)]
textoverlay: Do shading as first operation

14 years agotextoverlay: Only use a single cairo surface for drawing
Sebastian Dröge [Thu, 22 Oct 2009 07:08:04 +0000 (09:08 +0200)]
textoverlay: Only use a single cairo surface for drawing

... and comment/optimize what is going on here a bit better.

14 years agoinputselector: set output caps before pushing
Wim Taymans [Wed, 21 Oct 2009 20:24:29 +0000 (16:24 -0400)]
inputselector: set output caps before pushing

Set the output caps on the srcpad before pushing the buffer because else core
will do a rather expensive check to see if we can actually accept those caps on
the srcpad.

14 years agoinputselector: install an acceptcaps function
Wim Taymans [Wed, 21 Oct 2009 19:58:11 +0000 (15:58 -0400)]
inputselector: install an acceptcaps function

Install a custom acceptcaps function instead of using the default expensive
check. We accept whatever downstream accepts so we pass along the acceptcaps
call to the downstream peer.

14 years agotypefind: fix typo in previous mxf typefinder change
Tim-Philipp Müller [Wed, 21 Oct 2009 19:35:17 +0000 (20:35 +0100)]
typefind: fix typo in previous mxf typefinder change

14 years agotypefind: speed up mxf_type_find over 300 times for worst case scenarios
Edward Hervey [Wed, 21 Oct 2009 18:44:33 +0000 (20:44 +0200)]
typefind: speed up mxf_type_find over 300 times for worst case scenarios

* memcmp is expensive and was being abused, reduce calling it by checking
  the first byte.
* iterating one byte at at time over 64 kbites introduces a certain overhead,
  therefore we now do it in chunks of 1024 bytes

And I do mean over 300 times. The average instruction call per mxf_type_find
was previously 785685 and it's now down to 2458 :)

14 years agodecodebin2: avoid type checks
Wim Taymans [Tue, 20 Oct 2009 21:13:39 +0000 (17:13 -0400)]
decodebin2: avoid type checks

14 years agogst/decodebin2: Ensure we get fixed caps for topology message
Edward Hervey [Tue, 20 Oct 2009 07:00:28 +0000 (09:00 +0200)]
gst/decodebin2: Ensure we get fixed caps for topology message

There are some corner cases (like with dvdemux amongst others) where
the caps won't be negotiated, but the pad has fixed caps.

14 years agogst/decodebin2: Don't expose chains if we're shutting down.
Edward Hervey [Tue, 20 Oct 2009 06:52:36 +0000 (08:52 +0200)]
gst/decodebin2: Don't expose chains if we're shutting down.

This avoids adding flushing pads to ourself

14 years agopango: bump pango requirement to stable version and remove ifdefs
Tim-Philipp Müller [Sat, 17 Oct 2009 20:16:57 +0000 (21:16 +0100)]
pango: bump pango requirement to stable version and remove ifdefs

Bump pango requirement from an ancient development version to an
ancient stable version.

14 years ago.gitignore: update after files got renamed
Tim-Philipp Müller [Sat, 17 Oct 2009 20:11:10 +0000 (21:11 +0100)]
.gitignore: update after files got renamed

14 years agobasertppayload: small comment fix
Wim Taymans [Fri, 16 Oct 2009 08:54:31 +0000 (10:54 +0200)]
basertppayload: small comment fix

14 years agortp: Correct timestamping of buffers when buffer_lists are used
Peter Kjellerstedt [Fri, 16 Oct 2009 08:50:35 +0000 (10:50 +0200)]
rtp: Correct timestamping of buffers when buffer_lists are used

The timestamping of buffers when buffer_lists are used failed if
a buffer did not have both a timestamp and an offset.

14 years agobuild: fix previous commit to fully accomodate the glib-gen.mak changes
Stefan Kost [Fri, 16 Oct 2009 07:56:56 +0000 (10:56 +0300)]
build: fix previous commit to fully accomodate the glib-gen.mak changes

I also renamed glib_enum_prefix to glib_gen_prefix as we also use that for the
marshallers. Also rename the rtsp-marshal.list to work with the unified prefix.

14 years agobuild: use gst-glib-gen.mak to fix the glib build rules. Fixes #598114
Stefan Kost [Fri, 16 Oct 2009 07:18:45 +0000 (10:18 +0300)]
build: use gst-glib-gen.mak to fix the glib build rules. Fixes #598114

The build rules in glib-gen.mak were using pattern rules in a non save way.

14 years agoAutomatic update of common submodule
Stefan Kost [Fri, 16 Oct 2009 07:14:36 +0000 (10:14 +0300)]
Automatic update of common submodule

From 85d1530 to 0702fe1

14 years agotheora: Make theoradec use gstvideo for image conversion
Benjamin Otte [Thu, 10 Sep 2009 09:39:18 +0000 (11:39 +0200)]
theora: Make theoradec use gstvideo for image conversion

Vastly simplifies code.

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

14 years agotheora: Don't always round to even width/height
Benjamin Otte [Thu, 10 Sep 2009 07:36:31 +0000 (09:36 +0200)]
theora: Don't always round to even width/height

Previously, the code always rounded to even sizes. Now it only ensures
that pic_x and pic_y are multiples of 2 if the output format requires
it.

Also inlcudes fixes to take pic_x/y into account properly when copying
the buffer.

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

14 years agotheora: Don't check for theora.pc anymore
Benjamin Otte [Wed, 9 Sep 2009 22:00:44 +0000 (00:00 +0200)]
theora: Don't check for theora.pc anymore

THe new APIs from theoradec and theoraenc are used now.

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

14 years agotheora: Convert theoradec to libtheora 1.0 API
David Schleef [Fri, 31 Jul 2009 21:59:03 +0000 (14:59 -0700)]
theora: Convert theoradec to libtheora 1.0 API

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

14 years agotheora: Port encoder to new Theora API
Benjamin Otte [Wed, 9 Sep 2009 21:44:36 +0000 (23:44 +0200)]
theora: Port encoder to new Theora API

Includes ripping out the old buffer copy code to fill up to frame size.
This is not necesary with the new encoder.

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

14 years agotheora: Disable sharpness property
Benjamin Otte [Wed, 9 Sep 2009 19:59:31 +0000 (21:59 +0200)]
theora: Disable sharpness property

It's ignored by libtheora

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

14 years agotheora: Disable noise-sensitivity property
Benjamin Otte [Wed, 9 Sep 2009 19:57:08 +0000 (21:57 +0200)]
theora: Disable noise-sensitivity property

It is ignored by libtheora

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

14 years agotheora: Disable keyframe-mindistance property
Benjamin Otte [Wed, 9 Sep 2009 19:50:57 +0000 (21:50 +0200)]
theora: Disable keyframe-mindistance property

It's ignored by the current Theora library

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

14 years agotheora: Disable keyframe_threshold property
Benjamin Otte [Wed, 9 Sep 2009 19:48:08 +0000 (21:48 +0200)]
theora: Disable keyframe_threshold property

It's ignored by the current theora encoder

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

14 years agotheora: Get rid of "quick" property
Benjamin Otte [Wed, 9 Sep 2009 18:26:47 +0000 (20:26 +0200)]
theora: Get rid of "quick" property

The proeprty is not used by libtheora at all

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

14 years agotheora: remove support for outdated granulepos hack
Benjamin Otte [Tue, 8 Sep 2009 13:12:23 +0000 (15:12 +0200)]
theora: remove support for outdated granulepos hack

This is in preparation to switching to switching to the new Theora API

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

14 years agotheora: Ignore border property
Benjamin Otte [Tue, 8 Sep 2009 11:23:04 +0000 (13:23 +0200)]
theora: Ignore border property

Always make the video use black as padding color.

The output will be identical to previous versions.

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

14 years agotheora: Ignore the center property, always set video to top left
Benjamin Otte [Tue, 8 Sep 2009 11:18:26 +0000 (13:18 +0200)]
theora: Ignore the center property, always set video to top left

This is not a necessary property, the output will be identical no matter
what.

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

14 years agopo: Don't create backup .po files
Jan Schmidt [Thu, 15 Oct 2009 15:34:28 +0000 (16:34 +0100)]
po: Don't create backup .po files

As well as preventing creation of useless backup files, it works
around a bug in gettext 0.17 on OS/X

14 years agodecodebin2: Post a element message on the bus with the stream topology
Sebastian Dröge [Thu, 15 Oct 2009 11:13:43 +0000 (13:13 +0200)]
decodebin2: Post a element message on the bus with the stream topology

Fixes bug #598533.

14 years agodecodebin2: Store the "endcaps" of a chain
Sebastian Dröge [Thu, 15 Oct 2009 11:01:01 +0000 (13:01 +0200)]
decodebin2: Store the "endcaps" of a chain

This are the caps that either resulted in a deadend if
no plugin for them could be found or raw caps.

14 years agodecodebin2: Store for every chain, which pad resulted in its creation
Sebastian Dröge [Thu, 15 Oct 2009 09:38:14 +0000 (11:38 +0200)]
decodebin2: Store for every chain, which pad resulted in its creation

14 years agocheck: Don't fail the basetime test when no audiosrc is available
Jan Schmidt [Thu, 15 Oct 2009 09:28:39 +0000 (10:28 +0100)]
check: Don't fail the basetime test when no audiosrc is available

On OS/X the DEFAULT_AUDIOSRC is not going to be available, because
it isn't in gst-plugins-base. Just defer the test, instead of
failing it.

14 years agoAutomatic update of common submodule
Edward Hervey [Wed, 14 Oct 2009 08:41:03 +0000 (10:41 +0200)]
Automatic update of common submodule

From a3e3ce4 to 85d1530

14 years agoplaybin2: Use gst_object_has_ancestor() instead of our own implementation of it
Sebastian Dröge [Wed, 14 Oct 2009 06:36:54 +0000 (08:36 +0200)]
playbin2: Use gst_object_has_ancestor() instead of our own implementation of it

14 years agobaseaudiosrc: fix timestamp comparission, Fixes #597407
Tommi Myöhänen [Tue, 13 Oct 2009 16:14:41 +0000 (19:14 +0300)]
baseaudiosrc: fix timestamp comparission, Fixes #597407

14 years agotests: new test for baseaudiosrc base_time comparison
Tommi Myöhänen [Tue, 13 Oct 2009 10:52:02 +0000 (13:52 +0300)]
tests: new test for baseaudiosrc base_time comparison

This test reveals a bug in comparison operation between timestamp and
GstElement's base_time in GstBaseAudioSrc.

14 years agoplaybin2: Don't stop completely on initialization errors from subtitle elements
Sebastian Dröge [Thu, 8 Oct 2009 17:55:42 +0000 (19:55 +0200)]
playbin2: Don't stop completely on initialization errors from subtitle elements

Instead disable the subtitles and play the other parts of the stream.

Fixes bug #587704.

14 years agodecodebin2: Ignore no-more-pads from non-demuxer elements
Sebastian Dröge [Tue, 13 Oct 2009 14:50:37 +0000 (16:50 +0200)]
decodebin2: Ignore no-more-pads from non-demuxer elements

instead of printing an error that no corresponding group could
be found. no-more-pads from non-demuxer elements doesn't give
any additional information because there can only be a single srcpad.

Fixes bug #598288.

14 years agoaudioconvert: track active conversion in perf log
Stefan Kost [Mon, 12 Oct 2009 18:30:15 +0000 (21:30 +0300)]
audioconvert: track active conversion in perf log

14 years agortsp: handle socket errors
Patrick Radizi [Mon, 12 Oct 2009 13:48:46 +0000 (15:48 +0200)]
rtsp: handle socket errors

gstrtspconnection.c:gst_rtsp_connection_receive() can hang when an error occured
on a socekt. Fix this problem by checking for error on 'other' socket after poll
return.

Fixes #596159

14 years agoaudioclock: whitespace fixes
Wim Taymans [Tue, 6 Oct 2009 12:08:48 +0000 (14:08 +0200)]
audioclock: whitespace fixes

14 years agotheoradec: avoid confusing error
Wim Taymans [Tue, 6 Oct 2009 12:07:59 +0000 (14:07 +0200)]
theoradec: avoid confusing error

14 years agovorbis: fixes warings in macosx snow leopard
Josep Torra [Fri, 9 Oct 2009 20:00:45 +0000 (22:00 +0200)]
vorbis: fixes warings in macosx snow leopard

14 years agotheora: fixes warnings on macosx snow leopard
Josep Torra [Fri, 9 Oct 2009 16:52:12 +0000 (18:52 +0200)]
theora: fixes warnings on macosx snow leopard

14 years agoogg: fixes warnings on macosx snow leopard
Josep Torra [Fri, 9 Oct 2009 14:56:29 +0000 (16:56 +0200)]
ogg: fixes warnings on macosx snow leopard

14 years agooggdemux: fix a warning in macosx
Josep Torra [Fri, 9 Oct 2009 14:19:17 +0000 (16:19 +0200)]
oggdemux: fix a warning in macosx

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