platform/upstream/gstreamer.git
13 years agobaseaudiosink: fix latency calculation for live elements
Stefan Sauer [Wed, 20 Jul 2011 16:10:57 +0000 (18:10 +0200)]
baseaudiosink: fix latency calculation for live elements

Max_latency was computed on already adjusted min_latency. Introduce a new
variable for clarity. Spotted by Blaise Gassend.
Fixes #644284

13 years agobaseaudiosink: fix max latency calculation
Mark Nauwelaerts [Thu, 28 Jul 2011 09:44:20 +0000 (11:44 +0200)]
baseaudiosink: fix max latency calculation

... to allow infinite max, as also claimed by comment.

13 years agobaseaudiosink: drop samples that are too late
Mark Nauwelaerts [Wed, 1 Jun 2011 08:21:39 +0000 (10:21 +0200)]
baseaudiosink: drop samples that are too late

... rather than having all of them rendered at 0 or subsequently aligned,
likely inevitably leading to repeated resyncing.

13 years agobasetime: fix failing test
Stefan Sauer [Tue, 26 Jul 2011 11:51:31 +0000 (13:51 +0200)]
basetime: fix failing test

Always use audiotestsrc as it seems to have been the intention according to the
comment header. The test does not work with live-audiosources.

13 years agotests: rename the test suite to match the binary
Stefan Kost [Mon, 25 Jul 2011 17:51:24 +0000 (19:51 +0200)]
tests: rename the test suite to match the binary

This unbreaks determining the name for make elements/playbin2-compressed.check
from the test output.

13 years agoadder: rework pending event handling
Stefan Kost [Mon, 25 Jul 2011 17:39:55 +0000 (19:39 +0200)]
adder: rework pending event handling

Use atomic ops on pending flags. Rename the segment_pending to
new_segment_pending. Set new_segment_pending not when we received seek, but
when we received the first upstream new_segment.

13 years agoadder: more debug logging for events
Stefan Kost [Mon, 25 Jul 2011 17:11:59 +0000 (19:11 +0200)]
adder: more debug logging for events

13 years agodecodebin2: Allow all EOS to go through if we don't have a next group
Edward Hervey [Tue, 26 Jul 2011 10:33:56 +0000 (12:33 +0200)]
decodebin2: Allow all EOS to go through if we don't have a next group

Only drop them if the current group isn't drained .. AND there is a
next group to switch to.

Should Fix #655268

13 years agoplaybin2: Avoid resetting playsink when not needed
Edward Hervey [Mon, 25 Jul 2011 16:37:15 +0000 (18:37 +0200)]
playbin2: Avoid resetting playsink when not needed

When we don't have specific {audio|video|text}-sink properties, don't
set them on playsink when reconfiguring.
If we do that, we end up setting the previous configured sink to
GST_STATE_NULL resulting in any potentially pending push being returned
with GST_FLOW_WRONG_STATE which will cause the upstream elements to
silently stop.

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

13 years agotextoverlay: improve the example
Stefan Sauer [Mon, 25 Jul 2011 10:04:02 +0000 (12:04 +0200)]
textoverlay: improve the example

Mentioned that this is not ment to be used with subtitles and suggest alternatives.

13 years agodecodebin2: Properly handle multi-stream chains
Edward Hervey [Mon, 25 Jul 2011 08:41:04 +0000 (10:41 +0200)]
decodebin2: Properly handle multi-stream chains

When we have a multi-stream (i.e. audio and video) input and the demuxer
adds/removes pads for a new stream (common in a mpeg-ts stream when the
program stream mapping is updated), the algorithm for EOS handling was
previously wrong (it would only drop the EOS of the *last* pad but would
let the EOS on the other pads go through).

The logic has only been changed a tiny bit for EOS handling resulting in:
* If there is no next group, let the EOS go through
* If there is a next group, but not all pads are drained in the active
  group, drop the EOS event
* If there is a next group and all pads are drained, then the ghostpads
  will be removed and the EOS event will be dropped automatically.

13 years agotextoverlay: add example for feeding from stdin
Stefan Sauer [Sat, 23 Jul 2011 12:21:27 +0000 (14:21 +0200)]
textoverlay: add example for feeding from stdin

13 years agotest: print actual timestamp on failure
Stefan Sauer [Sat, 23 Jul 2011 11:46:31 +0000 (13:46 +0200)]
test: print actual timestamp on failure

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