platform/upstream/gstreamer.git
13 years agotextoverlay: keep untimestamped textbuffer until next one
Stefan Sauer [Wed, 20 Jul 2011 11:46:31 +0000 (13:46 +0200)]
textoverlay: keep untimestamped textbuffer until next one

Instead of discarding untimestamped text-buffers immeditely after rendering,
keep them until we receive the next text buffer.
Fixes #654959

13 years agotests: add decodebin2 test for parser autoplugging
Tim-Philipp Müller [Fri, 15 Jul 2011 15:46:54 +0000 (16:46 +0100)]
tests: add decodebin2 test for parser autoplugging

Make sure decodebin2 doesn't try to plug the same parser twice
in a row.

13 years agotests: add decodebin1 test for parser autoplugging
Tim-Philipp Müller [Wed, 6 Jul 2011 18:40:48 +0000 (19:40 +0100)]
tests: add decodebin1 test for parser autoplugging

Make sure decodebin1 doesn't try to plug the same parser twice
in a row (so we can change all parsers to accept parsed input as
well without breaking applications still using the old decodebin1
element).

13 years agodecodebin: don't plug the same parser multiple times in a row
Tim-Philipp Müller [Thu, 7 Jul 2011 14:02:19 +0000 (15:02 +0100)]
decodebin: don't plug the same parser multiple times in a row

This allows us to make parsers accept both parsed and unparsed input
without decodebin plugging them in a loop until things blow up, ie.
without affecting applications that still use the old playbin or the
old decodebin.

(Making parsers accept parsed input is useful for later when we want
to use parsers to convert the stream-format into something the decoder
can handle. It's also much more convenient for application authors
who can plug parsers unconditionally in transcoding pipelines, for
example).

13 years agodocs: add Since marker to gtk-doc chunk for new codec utils API
Tim-Philipp Müller [Thu, 14 Jul 2011 12:56:02 +0000 (13:56 +0100)]
docs: add Since marker to gtk-doc chunk for new codec utils API

And add new API to .def file.

API: gst_codec_utils_h264_get_level_idc()

13 years agocodec-utils: Add method to convert H.264 text level in a level_idc
Olivier Crête [Mon, 7 Mar 2011 22:55:48 +0000 (17:55 -0500)]
codec-utils: Add method to convert H.264 text level in a level_idc

13 years agooggmux: check for EOS on both current and best pad
David Schleef [Sun, 10 Jul 2011 01:33:38 +0000 (18:33 -0700)]
oggmux: check for EOS on both current and best pad

Oops, need both.  Fixes #654270.

13 years agooggmux: check for EOS on current pad, not best
David Schleef [Sun, 10 Jul 2011 01:24:26 +0000 (18:24 -0700)]
oggmux: check for EOS on current pad, not best

Fixes #654270.

13 years agotypefind: fixed detection of audio/x-sap
Piotr Fusik [Sat, 9 Jul 2011 09:59:42 +0000 (11:59 +0200)]
typefind: fixed detection of audio/x-sap

Fixes: #654295.

Signed-off-by: David Schleef <ds@schleef.org>
13 years agoencodebin: fix compiler warning
Luis de Bethencourt [Thu, 30 Jun 2011 18:33:36 +0000 (20:33 +0200)]
encodebin: fix compiler warning

cspace and cspace2 may run uninitialized.

13 years agoencodebin: Add flags to disable conversion elements
Robert Swain [Wed, 29 Jun 2011 11:12:49 +0000 (13:12 +0200)]
encodebin: Add flags to disable conversion elements

Add a flags property and two flags to allow one to disable the
conversion elements within encodebin. Doing so insists that the
uncompressed input to encodebin for the appropriate stream type is
sufficient to meet the caps requirements of the encoders, muxers and
encodebin target.

This is mostly beneficial to bypass slow caps negotiations in the
conversion elements.

13 years agotag: xmp: Remove extra chars from end of xmp packet
Thiago Santos [Wed, 29 Jun 2011 12:59:05 +0000 (09:59 -0300)]
tag: xmp: Remove extra chars from end of xmp packet

Windows picture viewer is unhappy with extra trailing chars at the
end of the xmppacket footer. So remove them as they aren't needed.

13 years agostreamsplitter: Fix getcaps src pad caps merge
Robert Swain [Wed, 29 Jun 2011 09:30:51 +0000 (11:30 +0200)]
streamsplitter: Fix getcaps src pad caps merge

Caps returned from gst_pad_peer_get_caps_reffed () may not be writable.
If they are not is should cause an assertion in gst_caps_merge (),
however, sometimes assertions are disabled in binary builds of -base and
it's safer to just be sure the caps are writable. Also, check that the
reffed caps pointer is not NULL.

13 years agotypefind: NULL check in degas_type_find
Philip Jägenstedt [Wed, 15 Jun 2011 11:51:31 +0000 (13:51 +0200)]
typefind: NULL check in degas_type_find

The length check isn't sufficient, an source might
report the correct length, but then still fail to
read the requested number of bytes for some reason.

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

13 years agodocs: minor addition to decodebin2 design doc
Tim-Philipp Müller [Sun, 26 Jun 2011 00:06:58 +0000 (01:06 +0100)]
docs: minor addition to decodebin2 design doc

13 years agotests: the navigation interface isn't GstImplementsInterface-wrapped
Tim-Philipp Müller [Sun, 26 Jun 2011 00:06:19 +0000 (01:06 +0100)]
tests: the navigation interface isn't GstImplementsInterface-wrapped

13 years agointerfaces: GstStreamVolume isn't wrapped by GstImplementsInterface
Tim-Philipp Müller [Sat, 25 Jun 2011 23:49:46 +0000 (00:49 +0100)]
interfaces: GstStreamVolume isn't wrapped by GstImplementsInterface

This interface depends on properties and isn't per-instance.

13 years agortsp: GstRTSPExtension isn't wrapped by GstImplementsInterface
Tim-Philipp Müller [Sat, 25 Jun 2011 23:40:20 +0000 (00:40 +0100)]
rtsp: GstRTSPExtension isn't wrapped by GstImplementsInterface

Fix copy'n'paste error in headers, GstRTSPExtension isn't
something that's per-instance.

13 years agotag: GstXmpWriter doesn't use the GstImplementsInterface
Tim-Philipp Müller [Sat, 25 Jun 2011 23:36:36 +0000 (00:36 +0100)]
tag: GstXmpWriter doesn't use the GstImplementsInterface

No need for per-instance checking of interface implementation here,
presumably just a copy'n'paste issue.

13 years agoencoding-target: set names on audio and video profiles
Jonathan Matthew [Sat, 11 Jun 2011 09:03:57 +0000 (19:03 +1000)]
encoding-target: set names on audio and video profiles

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

13 years agoAutomatic update of common submodule
David Schleef [Thu, 23 Jun 2011 18:28:04 +0000 (11:28 -0700)]
Automatic update of common submodule

From 69b981f to 605cd9a

13 years agoBump git version after unplanned 0.10.35 release
Tim-Philipp Müller [Sat, 18 Jun 2011 12:32:17 +0000 (13:32 +0100)]
Bump git version after unplanned 0.10.35 release

Merge branch '0.10.35'

Conflicts:
configure.ac
docs/plugins/inspect/plugin-adder.xml
docs/plugins/inspect/plugin-alsa.xml
docs/plugins/inspect/plugin-app.xml
docs/plugins/inspect/plugin-audioconvert.xml
docs/plugins/inspect/plugin-audiorate.xml
docs/plugins/inspect/plugin-audioresample.xml
docs/plugins/inspect/plugin-audiotestsrc.xml
docs/plugins/inspect/plugin-cdparanoia.xml
docs/plugins/inspect/plugin-decodebin.xml
docs/plugins/inspect/plugin-encoding.xml
docs/plugins/inspect/plugin-ffmpegcolorspace.xml
docs/plugins/inspect/plugin-gdp.xml
docs/plugins/inspect/plugin-gio.xml
docs/plugins/inspect/plugin-gnomevfs.xml
docs/plugins/inspect/plugin-libvisual.xml
docs/plugins/inspect/plugin-ogg.xml
docs/plugins/inspect/plugin-pango.xml
docs/plugins/inspect/plugin-playback.xml
docs/plugins/inspect/plugin-subparse.xml
docs/plugins/inspect/plugin-tcp.xml
docs/plugins/inspect/plugin-theora.xml
docs/plugins/inspect/plugin-typefindfunctions.xml
docs/plugins/inspect/plugin-uridecodebin.xml
docs/plugins/inspect/plugin-videorate.xml
docs/plugins/inspect/plugin-videoscale.xml
docs/plugins/inspect/plugin-videotestsrc.xml
docs/plugins/inspect/plugin-volume.xml
docs/plugins/inspect/plugin-vorbis.xml
docs/plugins/inspect/plugin-ximagesink.xml
docs/plugins/inspect/plugin-xvimagesink.xml
gst-libs/gst/audio/Makefile.am
gst/subparse/gstsubparse.c
win32/common/_stdint.h
win32/common/config.h

13 years agodiscoverer: Allow GError* argument to be NULL
Edward Hervey [Sat, 18 Jun 2011 09:16:19 +0000 (11:16 +0200)]
discoverer: Allow GError* argument to be NULL

This is how other methods taking GError* arguments behave.

Fixes #652838

13 years agoRelease 0.10.35
Tim-Philipp Müller [Wed, 15 Jun 2011 18:29:48 +0000 (19:29 +0100)]
Release 0.10.35

This is an ad-hoc release that is almost identical to 0.10.34:

 * work around GLib atomic ops API change
 * don't use G_CONST_RETURN in public headers
 * subparse: typefinding fixes for subtitles in non-UTF8 charsets

13 years agoAdd gobject introspection files to spec
Christian Fredrik Kalager Schaller [Wed, 15 Jun 2011 14:08:32 +0000 (15:08 +0100)]
Add gobject introspection files to spec

13 years agoremove old v4l plugin from spec file
Christian Fredrik Kalager Schaller [Wed, 15 Jun 2011 13:53:56 +0000 (14:53 +0100)]
remove old v4l plugin from spec file

13 years agoAdd missing dist subdir
Christian Fredrik Kalager Schaller [Wed, 15 Jun 2011 13:49:41 +0000 (14:49 +0100)]
Add missing dist subdir

13 years agoaudio: link test program against libgstaudio
Tim-Philipp Müller [Wed, 15 Jun 2011 13:21:30 +0000 (14:21 +0100)]
audio: link test program against libgstaudio

13 years agocodec-utils: restore 7350 as a valid sampling frequency for AAC
Debarshi Ray [Tue, 14 Jun 2011 05:01:18 +0000 (10:31 +0530)]
codec-utils: restore 7350 as a valid sampling frequency for AAC

This was lost during c77f88cac675a1dbb89e40da8e3c28320523bfca.

13 years agolibs: replace G_CONST_RETURN with 'const'
Tim-Philipp Müller [Thu, 9 Jun 2011 17:30:33 +0000 (18:30 +0100)]
libs: replace G_CONST_RETURN with 'const'

G_CONST_RETURN will be deprecated soon.

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

13 years agoconvert M_PI to G_PI, for msvc
David Schleef [Wed, 1 Jun 2011 05:14:09 +0000 (22:14 -0700)]
convert M_PI to G_PI, for msvc

13 years agotagdemux: no input data implies no type can be found
Mark Nauwelaerts [Mon, 6 Jun 2011 12:41:41 +0000 (14:41 +0200)]
tagdemux: no input data implies no type can be found

... and posting a proper error message to this effect is appropriately
informative and prevents auto-plugging otherwise stalling.

13 years agoadder: Work around changes in g_atomic API
David Schleef [Sat, 4 Jun 2011 20:36:55 +0000 (13:36 -0700)]
adder: Work around changes in g_atomic API

See #651514 for details.

13 years agodiscoverer: fix c99-ism
David Schleef [Wed, 1 Jun 2011 03:38:56 +0000 (20:38 -0700)]
discoverer: fix c99-ism

13 years agosubparse: Try to typefind even if conversion to UTF8 failed
Sebastian Dröge [Mon, 23 May 2011 14:02:34 +0000 (16:02 +0200)]
subparse: Try to typefind even if conversion to UTF8 failed

Fixes bug #600043.

13 years agosubparse: Interprete typefind strings passed to GRegex as raw bytes instead of valid...
Sebastian Dröge [Mon, 23 May 2011 13:51:14 +0000 (15:51 +0200)]
subparse: Interprete typefind strings passed to GRegex as raw bytes instead of valid UTF8

13 years agolang: fix possible array overrun
Stefan Kost [Fri, 20 May 2011 07:48:39 +0000 (10:48 +0300)]
lang: fix possible array overrun

We where checking for i<G_N_ELEMENTS, but where accessing i+1.

13 years agocodec-utils: restore 7350 as a valid sampling frequency for AAC
Debarshi Ray [Tue, 14 Jun 2011 05:01:18 +0000 (10:31 +0530)]
codec-utils: restore 7350 as a valid sampling frequency for AAC

This was lost during c77f88cac675a1dbb89e40da8e3c28320523bfca.

13 years agoconvert M_PI to G_PI, for msvc
David Schleef [Wed, 1 Jun 2011 05:14:09 +0000 (22:14 -0700)]
convert M_PI to G_PI, for msvc

13 years agooggmux: refactor how EOS is determined
David Schleef [Wed, 8 Jun 2011 04:30:18 +0000 (21:30 -0700)]
oggmux: refactor how EOS is determined

This decreases the number of buffers held on each pad by one,
eliminating next_buffer.  Simplifies the logic by relying solely
on CollectPads to let us know when a pad is in EOS.  As a side
benefit, the collect pads related code is structured more like
other CollectPad users.

The previous code would occasionally mark the wrong pad as EOS,
causing the code to get in a state where all the streams were
finished, but EOS hadn't been sent to the source pad.

13 years agolibs: replace G_CONST_RETURN with 'const'
Tim-Philipp Müller [Thu, 9 Jun 2011 17:30:33 +0000 (18:30 +0100)]
libs: replace G_CONST_RETURN with 'const'

G_CONST_RETURN will be deprecated soon.

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

13 years agotag: xmp: Fix LocationShown syntax
Thiago Santos [Thu, 9 Jun 2011 03:02:07 +0000 (00:02 -0300)]
tag: xmp: Fix LocationShown syntax

According to the specification, the LocationShown requires its
struct fields to be inside a Bag type.

13 years agotag: xmp: Add room for extra namespace definitions
Thiago Santos [Wed, 8 Jun 2011 17:21:40 +0000 (14:21 -0300)]
tag: xmp: Add room for extra namespace definitions

Adds an extra field to the namespace definitions of the schemas
so they can add the namespace of any array/struct fields they
might use internally.

13 years agoGST_PLUGINS_BASE_LIBS is not defined in -base.
Tim-Philipp Müller [Wed, 8 Jun 2011 11:21:43 +0000 (12:21 +0100)]
GST_PLUGINS_BASE_LIBS is not defined in -base.

13 years agoexamples: don't link testchannels example with system libgstaudio
Christophe Fergeau [Wed, 8 Jun 2011 09:33:07 +0000 (11:33 +0200)]
examples: don't link testchannels example with system libgstaudio

The testchannels audio test program is using -lgstaudio-0.10 to link
with libgstaudio which won't use the gstaudio library that was just
built but the one from the system. This is an issue since it means
we won't be testing the code from the current source tree, and it
also breaks the build when building on a system which don't have
a libgstaudio yet.

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

13 years agodocs: add some text about parser/decoder autoplugging issues
Tim-Philipp Müller [Wed, 8 Jun 2011 10:11:05 +0000 (11:11 +0100)]
docs: add some text about parser/decoder autoplugging issues

13 years agotagdemux: no input data implies no type can be found
Mark Nauwelaerts [Mon, 6 Jun 2011 12:41:41 +0000 (14:41 +0200)]
tagdemux: no input data implies no type can be found

... and posting a proper error message to this effect is appropriately
informative and prevents auto-plugging otherwise stalling.

13 years agooggmux: determine granulepos metadata using stream mapper whenever possible
Mark Nauwelaerts [Mon, 6 Jun 2011 10:48:23 +0000 (12:48 +0200)]
oggmux: determine granulepos metadata using stream mapper whenever possible

... which unfortunately is not the case for all types, but at least so for
most common ones.

13 years agooggmux: convert incoming buffer timestamp to running time
Mark Nauwelaerts [Mon, 6 Jun 2011 10:46:05 +0000 (12:46 +0200)]
oggmux: convert incoming buffer timestamp to running time

... so all subsequent manipulation can take place in the proper timeline
without further ado.

13 years agooggmux: remove superfluous code
Mark Nauwelaerts [Wed, 1 Jun 2011 18:48:44 +0000 (20:48 +0200)]
oggmux: remove superfluous code

... since there is nothing in oggstream that cares (or even should)
about granulepos for what is being asked from it.

13 years agoadder: Work around changes in g_atomic API
David Schleef [Sat, 4 Jun 2011 20:36:55 +0000 (13:36 -0700)]
adder: Work around changes in g_atomic API

See #651514 for details.

13 years agodiscoverer: fix c99-ism
David Schleef [Wed, 1 Jun 2011 03:38:56 +0000 (20:38 -0700)]
discoverer: fix c99-ism

13 years agotheora: separate encode and push block in chain, into own function.
Luis de Bethencourt [Fri, 3 Jun 2011 14:29:00 +0000 (16:29 +0200)]
theora: separate encode and push block in chain, into own function.

13 years agotheora: use fixed src cap pads
Luis de Bethencourt [Thu, 2 Jun 2011 17:08:41 +0000 (19:08 +0200)]
theora: use fixed src cap pads

13 years agotheora: set the width/height/par on the srcpad caps
Luis de Bethencourt [Thu, 2 Jun 2011 16:57:05 +0000 (18:57 +0200)]
theora: set the width/height/par on the srcpad caps

13 years agotheora: get sink caps info from downstream element pad
Luis de Bethencourt [Thu, 2 Jun 2011 15:29:53 +0000 (17:29 +0200)]
theora: get sink caps info from downstream element pad

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

13 years agopbutils: add description for wbmp images.
Patrick McCarty [Fri, 27 May 2011 21:41:39 +0000 (14:41 -0700)]
pbutils: add description for wbmp images.

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

13 years agotypefinding: add typefinder for WAP WBMP bitmaps
Tim-Philipp Müller [Wed, 1 Jun 2011 23:55:41 +0000 (00:55 +0100)]
typefinding: add typefinder for WAP WBMP bitmaps

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

13 years agoplaysink: Fix deadlock in the audio/video converter bins when linking fails
Sebastian Dröge [Thu, 2 Jun 2011 09:53:10 +0000 (11:53 +0200)]
playsink: Fix deadlock in the audio/video converter bins when linking fails

13 years agocheck: ... and don't forget to add the new arm header
Edward Hervey [Wed, 1 Jun 2011 15:31:35 +0000 (17:31 +0200)]
check: ... and don't forget to add the new arm header

Forgot it in my previous commit

13 years agolibsabi: Add structure sizes for arm
Edward Hervey [Wed, 1 Jun 2011 15:24:30 +0000 (17:24 +0200)]
libsabi: Add structure sizes for arm

13 years agofft: s/M_PI/G_PI/ for MSVC
David Schleef [Wed, 1 Jun 2011 02:57:57 +0000 (19:57 -0700)]
fft: s/M_PI/G_PI/ for MSVC

13 years agovolume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats
Sebastian Dröge [Tue, 31 May 2011 09:05:03 +0000 (11:05 +0200)]
volume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats

Also add a unit test for this. Previously volumes bigger than 4.0
would have resulted in overflows in the fixed point processing.

Fixes bug #649642.

13 years agotests: fix some more unused-but-set-variable warnings with gcc 4.6
Tim-Philipp Müller [Sun, 29 May 2011 12:32:04 +0000 (13:32 +0100)]
tests: fix some more unused-but-set-variable warnings with gcc 4.6

13 years agowin32: update .def file for new API
Tim-Philipp Müller [Sat, 28 May 2011 15:14:23 +0000 (16:14 +0100)]
win32: update .def file for new API

13 years agoIgnore new playbin2-compress test binary
Tim-Philipp Müller [Sat, 28 May 2011 11:39:06 +0000 (12:39 +0100)]
Ignore new playbin2-compress test binary

And add old testchannels binary to CRUFT_FILES.

13 years agovideo: sprinkle some G_GNUC_CONST
Tim-Philipp Müller [Fri, 27 May 2011 22:31:27 +0000 (23:31 +0100)]
video: sprinkle some G_GNUC_CONST

Mark functions that have no effect besides their return value and
only inspect their input arguments with G_GNUC_CONST. (We just
ignore the g_return_val_if_fail() guards for this)

13 years agovideo: clean up header file
Tim-Philipp Müller [Fri, 27 May 2011 22:25:00 +0000 (23:25 +0100)]
video: clean up header file

Sprinkle some spaces and newlines here and there.

13 years agoaudio: move testchannels example to 'tests/examples' dir
Stefan Kost [Fri, 27 May 2011 12:03:19 +0000 (15:03 +0300)]
audio: move testchannels example to 'tests/examples' dir

Also fix it up a little to not include 'c' file but link to the libs instead.

13 years agocode-utile: fix level descriptions for fgs
Stefan Kost [Fri, 27 May 2011 08:39:21 +0000 (11:39 +0300)]
code-utile: fix level descriptions for fgs

fgs levels range from 8-13 and are mapped to 0-5.

13 years agocodec-utils: fix mpeg4 level verification
Stefan Kost [Wed, 25 May 2011 11:38:21 +0000 (14:38 +0300)]
codec-utils: fix mpeg4 level verification

The current condition would never be true. As levels<6 are asp and levels>7 and
<14 are fgs, we should return NULL for cases 6,7,14,15.

13 years agoxvimagesink: Fallback to non-XShm mode if allocating the XShm image failed
Sebastian Dröge [Thu, 26 May 2011 10:33:08 +0000 (12:33 +0200)]
xvimagesink: Fallback to non-XShm mode if allocating the XShm image failed

Fixes bug #630442.

13 years agoximagesink: Fallback to non-XShm mode if allocating the XShm image failed
Sebastian Dröge [Thu, 26 May 2011 10:30:31 +0000 (12:30 +0200)]
ximagesink: Fallback to non-XShm mode if allocating the XShm image failed

Fixes bug #630442.

13 years agoplaybin2: Let the input-selectors sync all streams to the running time
Sebastian Dröge [Thu, 26 May 2011 09:41:50 +0000 (11:41 +0200)]
playbin2: Let the input-selectors sync all streams to the running time

This is especially needed when switching between a non-sparse and sparse
video stream, see bug #537382. It also lowers the time needed for switching
between streams a bit.

13 years agotextoverlay: added 'outline-color' parameter to control whether text gets a shadow
Lane Brooks [Thu, 20 Jan 2011 07:52:50 +0000 (00:52 -0700)]
textoverlay: added 'outline-color' parameter to control whether text gets a shadow

13 years agotextoverlay: added 'shadow' option to control whether text gets a shadow
Lane Brooks [Thu, 20 Jan 2011 07:42:39 +0000 (00:42 -0700)]
textoverlay: added 'shadow' option to control whether text gets a shadow

13 years agotextrender: Correctly negotiate with downstream instead of just using random caps
Jindrich Makovicka [Thu, 26 May 2011 08:48:05 +0000 (10:48 +0200)]
textrender: Correctly negotiate with downstream instead of just using random caps

Fixes bug #638897.

13 years agotextrender: Add bound checks to not write outside the image area
Jindrich Makovicka [Thu, 26 May 2011 08:43:51 +0000 (10:43 +0200)]
textrender: Add bound checks to not write outside the image area

13 years agotextrender: Prevent double unref of caps if the caps can't be set on the srcpad
Jindrich Makovicka [Thu, 26 May 2011 08:42:46 +0000 (10:42 +0200)]
textrender: Prevent double unref of caps if the caps can't be set on the srcpad

13 years agognomevfssrc: Keep track of interruptions during read with a flag
Sebastian Dröge [Thu, 26 May 2011 08:31:11 +0000 (10:31 +0200)]
gnomevfssrc: Keep track of interruptions during read with a flag

13 years agognomevfssrc: Add support for cancelling the read operations
American Dynamics [Fri, 3 Sep 2010 13:11:30 +0000 (09:11 -0400)]
gnomevfssrc: Add support for cancelling the read operations

This allows the state change from PAUSED to READY to be faster.

Fixes bug #628337.

13 years agoximagesink: Remove g_assert from interface query
Sreerenj Balachandran [Wed, 25 May 2011 11:14:46 +0000 (14:14 +0300)]
ximagesink: Remove g_assert from interface query

13 years agoxvimagesink: Remove the g_assert from interface query
Sreerenj Balachandran [Wed, 25 May 2011 11:08:43 +0000 (14:08 +0300)]
xvimagesink: Remove the g_assert from interface query

13 years agoaudiotestsrc: add blue and violet noise by using spectral inversion
Stefan Kost [Wed, 25 May 2011 21:17:40 +0000 (00:17 +0300)]
audiotestsrc: add blue and violet noise by using spectral inversion

Add blue and violet noise by spectral inversion of pink and red noise.
Fixes #649969

13 years agoaudiotestsrc: add red (brownian) noise generator
Stefan Kost [Wed, 25 May 2011 20:40:26 +0000 (23:40 +0300)]
audiotestsrc: add red (brownian) noise generator

Add another noise generator which produces a quite dark noise color.

Fixes parts of #649969.

13 years agoseek: set selected/default audio/video sinks on playbin and playbin2
Vladimir Eremeev [Mon, 27 Sep 2010 09:32:31 +0000 (13:32 +0400)]
seek: set selected/default audio/video sinks on playbin and playbin2

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

13 years agoseek: add --audiosink and --videosink command line options
Tim-Philipp Müller [Wed, 25 May 2011 18:03:44 +0000 (19:03 +0100)]
seek: add --audiosink and --videosink command line options

13 years agoseek: use the right GDK defines to differentiate between the backends
Tim-Philipp Müller [Wed, 25 May 2011 17:50:34 +0000 (18:50 +0100)]
seek: use the right GDK defines to differentiate between the backends

13 years agoseek: use gst_filename_to_uri() to convert a filename to a uri
Tim-Philipp Müller [Wed, 25 May 2011 17:45:33 +0000 (18:45 +0100)]
seek: use gst_filename_to_uri() to convert a filename to a uri

13 years agoseek: make seek example work in win32
Vladimir Eremeev [Mon, 27 Sep 2010 08:46:54 +0000 (12:46 +0400)]
seek: make seek example work in win32

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

13 years agoconfigure: update GLib requirement to >= 2.24
Tim-Philipp Müller [Wed, 25 May 2011 15:08:54 +0000 (16:08 +0100)]
configure: update GLib requirement to >= 2.24

Same as core (make implicit requirement explicit).
http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement

13 years agotheoraenc: remove bogus <0 check for unsigned var
Stefan Kost [Wed, 25 May 2011 12:24:33 +0000 (15:24 +0300)]
theoraenc: remove bogus <0 check for unsigned var

bytes_written is a gsize which is unsigned and thus never < 0.

13 years agotheoraenc: fix variable type for bytes_consumed
Stefan Kost [Wed, 25 May 2011 12:23:13 +0000 (15:23 +0300)]
theoraenc: fix variable type for bytes_consumed

th_encode_ctl() returns an int. Using a gsize result in bogus <0 checks.

13 years agoriff: remove the g_return_if_fail as we test it below
Stefan Kost [Wed, 25 May 2011 12:04:20 +0000 (15:04 +0300)]
riff: remove the g_return_if_fail as we test it below

We don't want to return without setting taglist=NULL if asserts are on and with
setting taglist=NULL otherwise.

13 years agovolume: use a flag for 'mute' using the controller
Stefan Kost [Wed, 25 May 2011 11:28:18 +0000 (14:28 +0300)]
volume: use a flag for 'mute' using the controller

Previously we checked mute_csource to determine wheter we need to premultiply
volumes and mute values. That fails as we unrefs mute_csource and set it to
NULL after. Use an extra flag instead.

13 years agoexiftag: reflow the code
Stefan Kost [Wed, 25 May 2011 11:12:50 +0000 (14:12 +0300)]
exiftag: reflow the code

Move the warning on unsupported units to the swicth-case. Move fetching the
pending tags down to where we use them.

13 years agoexiftag: set value=1 if we found the token
Stefan Kost [Wed, 25 May 2011 10:59:57 +0000 (13:59 +0300)]
exiftag: set value=1 if we found the token

Otherwise we never write the tag. This would also be consistent with the code in
deserialize_scene_type().

13 years agoxvimagesink: run gst-indent
Stefan Kost [Wed, 25 May 2011 09:30:51 +0000 (12:30 +0300)]
xvimagesink: run gst-indent

13 years agoxvimagesink: remove unneded !=NULL checks
Stefan Kost [Wed, 25 May 2011 09:29:21 +0000 (12:29 +0300)]
xvimagesink: remove unneded !=NULL checks

We check for matching_attr!=NULL right before already.

13 years agodocs: massage the section file more
Stefan Kost [Mon, 23 May 2011 21:13:04 +0000 (00:13 +0300)]
docs: massage the section file more

Add more symbols (from unused.txt). Move the whole bunch of riff-fourcc defines
to std section too (no one is hoing to document them, right).