platform/upstream/gstreamer.git
12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Mon, 12 Dec 2011 12:40:17 +0000 (12:40 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
gst-plugins-base.spec.in
po/LINGUAS
po/cs.po
po/eo.po
po/es.po
po/gl.po
po/lv.po
po/sr.po

12 years agopo: update translations
Tim-Philipp Müller [Sat, 10 Dec 2011 01:36:14 +0000 (01:36 +0000)]
po: update translations

12 years agortsp: use rtpbin
Wim Taymans [Fri, 9 Dec 2011 18:21:09 +0000 (19:21 +0100)]
rtsp: use rtpbin

12 years agortp: add INIT macros
Wim Taymans [Fri, 9 Dec 2011 09:49:33 +0000 (10:49 +0100)]
rtp: add INIT macros

12 years agoAdd latest header file to spec file
Christian Fredrik Kalager Schaller [Fri, 9 Dec 2011 15:39:12 +0000 (15:39 +0000)]
Add latest header file to spec file

12 years agotests: disable composition tests in video unit test for now
Tim-Philipp Müller [Fri, 9 Dec 2011 15:06:33 +0000 (15:06 +0000)]
tests: disable composition tests in video unit test for now

12 years agortpbuffer: add GST_RTP_BUFFER_INIT to initialize RTP buffers on the stack
Tim-Philipp Müller [Fri, 9 Dec 2011 15:03:41 +0000 (15:03 +0000)]
rtpbuffer: add GST_RTP_BUFFER_INIT to initialize RTP buffers on the stack

Fixes build of -good.

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Fri, 9 Dec 2011 12:08:37 +0000 (12:08 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

12 years agotypefindfunctions: only typefind text with a BOM as text/utf16 or text/utf32
Tim-Philipp Müller [Fri, 9 Dec 2011 01:31:20 +0000 (01:31 +0000)]
typefindfunctions: only typefind text with a BOM as text/utf16 or text/utf32

We added the utf typefinder because the mp3 typefinder was a tad
overzealous when it came to typefinding things as mp3, and replaced
it with even more overzealous utf16/32 typefinders.

Fixes unit test.

12 years agoRevert "tests: fix audiocdsrc for changed preroll behaviour"
Tim-Philipp Müller [Thu, 8 Dec 2011 01:20:24 +0000 (01:20 +0000)]
Revert "tests: fix audiocdsrc for changed preroll behaviour"

This reverts commit 2c9d442d51dd681463ae090c3c57320a90a4f888.

Behaviour changed again, so revert this.

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Thu, 8 Dec 2011 01:19:03 +0000 (01:19 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
ext/alsa/gstalsadeviceprobe.c
ext/alsa/gstalsamixer.c
ext/pango/gsttextoverlay.c
ext/pango/gsttextoverlay.h
gst-libs/gst/audio/gstaudiobasesink.c
gst-libs/gst/audio/gstaudioringbuffer.c
gst-libs/gst/audio/gstaudiosrc.c
gst-libs/gst/video/Makefile.am
gst-libs/gst/video/video.c
gst/encoding/gststreamcombiner.c
gst/encoding/gststreamsplitter.c
gst/playback/gstplaybasebin.c
gst/playback/gststreamsynchronizer.c
gst/playback/gstsubtitleoverlay.c
gst/playback/gsturidecodebin.c
sys/xvimage/xvimagesink.c
tests/examples/Makefile.am
win32/common/libgstvideo.def

Video overlay composition disabled for now, needs
porting to buffer meta.

12 years agovideo: make composition_blend() return a boolean
Tim-Philipp Müller [Wed, 7 Dec 2011 18:45:28 +0000 (18:45 +0000)]
video: make composition_blend() return a boolean

Not that anyone will ever check that, and it's not clear what
they're supposed to do if it fails, but at least it's there.

12 years agodocs: add new API to docs
Tim-Philipp Müller [Wed, 7 Dec 2011 18:31:58 +0000 (18:31 +0000)]
docs: add new API to docs

12 years agovideo: add seqnum getters for overlay compositions and rectangles
Tim-Philipp Müller [Wed, 7 Dec 2011 17:57:08 +0000 (17:57 +0000)]
video: add seqnum getters for overlay compositions and rectangles

API: gst_video_overlay_composition_get_seqnum()
API: gst_video_overlay_rectangle_get_seqnum()

12 years agovideo: support any type of video in _parse_caps
Thibault Saunier [Wed, 23 Nov 2011 18:45:57 +0000 (15:45 -0300)]
video: support any type of video in _parse_caps

Slight change in semantics for convenience. Shouldn't cause any
problems since this function is usually only used on pre-filtered
caps and not random caps, and it's hard to imagine a situation
where someone would want to rely on the previous behaviour.

12 years agovideorate: don't leak previous buffer when shutting down
Tim-Philipp Müller [Tue, 6 Dec 2011 21:57:32 +0000 (21:57 +0000)]
videorate: don't leak previous buffer when shutting down

Implement stop vfunc after port to basetransform, so we
can clean up properly. Fixes make elements/videorate.valgrind

12 years agotests: fix calculation of last pixel offset in video unit test
Tim-Philipp Müller [Tue, 6 Dec 2011 20:30:55 +0000 (20:30 +0000)]
tests: fix calculation of last pixel offset in video unit test

And check the right buffer (pix2) in one case.

12 years agoexamples: fix build of fft example
Tim-Philipp Müller [Tue, 6 Dec 2011 15:01:05 +0000 (15:01 +0000)]
examples: fix build of fft example

Should link against our own libgstfft-0.10.

12 years agovideo: fix leak in gst_video_format_new_template_caps()
Tim-Philipp Müller [Tue, 6 Dec 2011 14:55:38 +0000 (14:55 +0000)]
video: fix leak in gst_video_format_new_template_caps()

g_value_reset() is not the same as g_value_unset()

12 years agoringbuffer: remove old _full version
Wim Taymans [Tue, 6 Dec 2011 14:06:12 +0000 (15:06 +0100)]
ringbuffer: remove old _full version

12 years agofix for basesrc changes
Wim Taymans [Tue, 6 Dec 2011 12:59:11 +0000 (13:59 +0100)]
fix for basesrc changes

12 years agosubtitleoverlay: add suport for hardware accelerated videos
Thibault Saunier [Wed, 23 Nov 2011 18:43:46 +0000 (15:43 -0300)]
subtitleoverlay: add suport for hardware accelerated videos

Don't plug converters for non-raw video.

12 years agocontroller: port to GstValueArray removal API change
Stefan Sauer [Tue, 6 Dec 2011 07:37:32 +0000 (08:37 +0100)]
controller: port to GstValueArray removal API change

12 years agoRevert "videoconvert: We can handle GST_VIDEO_META_API"
Wim Taymans [Mon, 5 Dec 2011 19:33:41 +0000 (20:33 +0100)]
Revert "videoconvert: We can handle GST_VIDEO_META_API"

This reverts commit bd539753eb098c37afa033065f122712bf85f53a.

Adding the supported metadata to the query does nothing at this stage. Proposing
allocation parameters and supported metadata for upstream should use the
propose_allocation vmethod.

12 years agortp: Initialize GstRTPBuffer before usage
Edward Hervey [Mon, 5 Dec 2011 17:42:24 +0000 (18:42 +0100)]
rtp: Initialize GstRTPBuffer before usage

12 years agovideoconvert: We can handle GST_VIDEO_META_API
Edward Hervey [Mon, 5 Dec 2011 17:30:50 +0000 (18:30 +0100)]
videoconvert: We can handle GST_VIDEO_META_API

12 years agortp: Don't forget to initialize GstRTPBuffer
Edward Hervey [Mon, 5 Dec 2011 17:30:37 +0000 (18:30 +0100)]
rtp: Don't forget to initialize GstRTPBuffer

12 years agovideo: don't use deprecated GStaticMutex with newer glib versions
Tim-Philipp Müller [Mon, 5 Dec 2011 15:48:07 +0000 (15:48 +0000)]
video: don't use deprecated GStaticMutex with newer glib versions

12 years agoexamples: dist fft sub-directory
Tim-Philipp Müller [Mon, 5 Dec 2011 15:34:42 +0000 (15:34 +0000)]
examples: dist fft sub-directory

12 years agotextoverlay: unpremultiply text image
Thibault Saunier [Mon, 28 Nov 2011 13:05:50 +0000 (10:05 -0300)]
textoverlay: unpremultiply text image

The GstVideoOverlayComposition only supports unpremultiplied ARGB
(for now anyway, support for pre-multiplied alpha is planned.)

12 years agotextoverlay: Attach OverlayComposition to buffers when needed
Thibault Saunier [Wed, 23 Nov 2011 15:49:02 +0000 (12:49 -0300)]
textoverlay: Attach OverlayComposition to buffers when needed

Add video/x-surface support in the caps
We should then attach it whenever the sink supports it, but this
is working for the time being

12 years agotextoverlay: Make the text_image data a buffer
Thibault Saunier [Fri, 18 Nov 2011 16:22:52 +0000 (13:22 -0300)]
textoverlay: Make the text_image data a buffer

This way we won't free data that would be attached to some buffer.

12 years agotextoverlay: Sync the caps with the new supported formats
Thibault Saunier [Fri, 18 Nov 2011 14:04:47 +0000 (11:04 -0300)]
textoverlay: Sync the caps with the new supported formats

Thanks to the use of the new video composition library, we gain support to
more colospaces and formats, let's state it.

12 years agotextoverlay: Make use of the new video blending utility
Thibault Saunier [Wed, 16 Nov 2011 20:54:43 +0000 (17:54 -0300)]
textoverlay: Make use of the new video blending utility

12 years agotests: add basic unit test for video overlay composition and rectangles
Tim-Philipp Müller [Fri, 25 Nov 2011 16:46:09 +0000 (16:46 +0000)]
tests: add basic unit test for video overlay composition and rectangles

12 years agovideo: add video overlay composition API for subtitles
Tim-Philipp Müller [Sat, 12 Nov 2011 14:59:35 +0000 (14:59 +0000)]
video: add video overlay composition API for subtitles

Basic API to attach overlay rectangles to buffers,
or blend them directly onto raw video buffers.

To be used primarily for things like subtitles or
logo overlays, not meant to replace videomixer.

Allows us to associate subtitle overlays with
non-raw video surface buffers, so that subtitles
are not lost and can instead be rendered later
when those surfaces are displayed or converted,
whilst re-using all the existing overlay plugins
and not having to teach them about our special
video surfaces. Could also have been made part
of the surface buffer abstraction of course, but
a secondary goal was to consolidate the blending
code for raw video into libgstvideo, and this
kind of API allows us to do both in a way that's
minimally invasive to existing elements, and at
the same time is fairly intuitive.

More features and extensions like the ability to
pass the source data or text/markup directly will
be added later.

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

API: gst_video_buffer_get_overlay_composition()
API: gst_video_buffer_set_overlay_composition()

API: gst_video_overlay_composition_new()
API: gst_video_overlay_composition_add_rectangle()
API: gst_video_overlay_composition_n_rectangles()
API: gst_video_overlay_composition_get_rectangle()
API: gst_video_overlay_composition_make_writable()
API: gst_video_overlay_composition_copy()
API: gst_video_overlay_composition_ref()
API: gst_video_overlay_composition_unref()

API: gst_video_overlay_composition_blend()

API: gst_video_overlay_rectangle_new_argb()
API: gst_video_overlay_rectangle_get_pixels_argb()
API: gst_video_overlay_rectangle_get_pixels_unscaled_argb()
API: gst_video_overlay_rectangle_get_render_rectangle()
API: gst_video_overlay_rectangle_set_render_rectangle()
API: gst_video_overlay_rectangle_copy()
API: gst_video_overlay_rectangle_ref()
API: gst_video_overlay_rectangle_unref()

12 years agovideo: hide private video-blend.[ch] from gobject-introspection
Tim-Philipp Müller [Wed, 23 Nov 2011 00:31:18 +0000 (00:31 +0000)]
video: hide private video-blend.[ch] from gobject-introspection

And remove unused fields from helper structure.

12 years agovideo: add fallbacks for compilation without orc
Tim-Philipp Müller [Tue, 15 Nov 2011 18:00:00 +0000 (18:00 +0000)]
video: add fallbacks for compilation without orc

12 years agovideo: add some internal helper functions for image blending
Thibault Saunier [Mon, 17 Oct 2011 15:25:11 +0000 (17:25 +0200)]
video: add some internal helper functions for image blending

This could be improved if we decide we don't need it to
be this generic/flexible.

12 years agoxoverlay: Fix mistakes in the sample code
Sebastian Dröge [Mon, 5 Dec 2011 08:38:33 +0000 (09:38 +0100)]
xoverlay: Fix mistakes in the sample code

Fixes bug #665430.

12 years agoAppsink fixes
Matej Knopp [Sun, 4 Dec 2011 21:19:23 +0000 (22:19 +0100)]
Appsink fixes

12 years agoSuppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly
Tim-Philipp Müller [Sun, 4 Dec 2011 20:50:25 +0000 (20:50 +0000)]
Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly

GStaticRecMutex is part of our API/ABI, not much we can do here
in 0.10 for most of these.

12 years agoalsamixer: use GRectMutext instead of GStaticRecMutex with newer glib versions
Tim-Philipp Müller [Sun, 4 Dec 2011 20:38:19 +0000 (20:38 +0000)]
alsamixer: use GRectMutext instead of GStaticRecMutex with newer glib versions

12 years agoalsamixer: embed static mutexes into the mixer structure
Tim-Philipp Müller [Sun, 4 Dec 2011 20:21:26 +0000 (20:21 +0000)]
alsamixer: embed static mutexes into the mixer structure

instead of allocating them dynamically

12 years agotools, tests: g_thread_init() is deprecated in glib master
Tim-Philipp Müller [Sun, 4 Dec 2011 17:02:39 +0000 (17:02 +0000)]
tools, tests: g_thread_init() is deprecated in glib master

It's not needed any longer.

12 years agoWork around deprecated thread API in glib master
Tim-Philipp Müller [Sun, 4 Dec 2011 16:43:38 +0000 (16:43 +0000)]
Work around deprecated thread API in glib master

Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.

Replace g_thread_create() with g_thread_try_new().

12 years agoxmpwriter: update for thread API deprecations in glib master
Tim-Philipp Müller [Sun, 4 Dec 2011 15:23:21 +0000 (15:23 +0000)]
xmpwriter: update for thread API deprecations in glib master

12 years agofft-example: re-add Makefile.am
Stefan Sauer [Sun, 4 Dec 2011 12:43:06 +0000 (13:43 +0100)]
fft-example: re-add Makefile.am

12 years agoconfigure: trim trailing whitespace
Stefan Sauer [Fri, 2 Dec 2011 22:35:50 +0000 (23:35 +0100)]
configure: trim trailing whitespace

12 years agotests: add a test for fft result value-ranges
Stefan Sauer [Fri, 2 Dec 2011 22:34:47 +0000 (23:34 +0100)]
tests: add a test for fft result value-ranges

Add a small example that uses ffts of various types and parameters and check the
result value ranges.

12 years agoupdate for basesink event handler changes
Wim Taymans [Fri, 2 Dec 2011 21:24:43 +0000 (22:24 +0100)]
update for basesink event handler changes

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Fri, 2 Dec 2011 11:10:17 +0000 (11:10 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
gst-libs/gst/netbuffer/gstnetbuffer.c
gst/ffmpegcolorspace/avcodec.h
gst/ffmpegcolorspace/gstffmpegcodecmap.c
gst/ffmpegcolorspace/imgconvert.c
gst/ffmpegcolorspace/imgconvert_template.h
gst/ffmpegcolorspace/mem.c
gst/playback/README
gst/playback/gstplaybasebin.c
gst/playback/gstplaybasebin.h
gst/playback/gstplaybin.c
sys/v4l/v4lmjpegsrc_calls.c
sys/v4l/videodev_mjpeg.h
tests/check/elements/gnomevfssink.c

12 years agovarious: typo fixes
Piotr Fusik [Tue, 13 Sep 2011 19:10:43 +0000 (21:10 +0200)]
various: typo fixes

Fix typos in code and docs. Fixes. #658984

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Fri, 2 Dec 2011 00:07:39 +0000 (00:07 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
ext/alsa/gstalsasrc.c
ext/alsa/gstalsasrc.h
gst/adder/gstadder.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysinkconvertbin.c
win32/common/libgstvideo.def

12 years agoAdd {audio,video}-marshal.[ch] to .gitignore
Tim-Philipp Müller [Thu, 1 Dec 2011 23:26:36 +0000 (23:26 +0000)]
Add {audio,video}-marshal.[ch] to .gitignore

12 years agotags: make the tag functions return GstSample
Wim Taymans [Thu, 1 Dec 2011 17:51:51 +0000 (18:51 +0100)]
tags: make the tag functions return GstSample

gst_tag_image_data_to_image_buffer() ->
   gst_tag_image_data_to_image_sample() And make it return a GstSample.
Store the image-type into the extra sample info.
Remove a deprecated tag

12 years agoUse the new GstSample for snapshots
Wim Taymans [Thu, 1 Dec 2011 15:48:49 +0000 (16:48 +0100)]
Use the new GstSample for snapshots

Make appsink return a GstSample. Remove the pull_buffer_list method because it
is not very useful anymore.
Pass GstSample to the conversion function.
Update playbin2 and examples

12 years agoupdate marshal list
Wim Taymans [Thu, 1 Dec 2011 14:54:49 +0000 (15:54 +0100)]
update marshal list

12 years agovideoconvert: fix the transform_size function
Wim Taymans [Thu, 1 Dec 2011 14:47:16 +0000 (15:47 +0100)]
videoconvert: fix the transform_size function

The output size of a buffer does not depend on the input size but simply on the
caps of the output buffers. Don't let the base implementation deal with
unit_sizes, because input buffers might not be a multiple of that when they have
padding or non-default strides. instead, implement a transform size function
that simply calculate the natural size of an output buffer based on the caps.

12 years agovideometa: add copy functions
Wim Taymans [Thu, 1 Dec 2011 14:45:28 +0000 (15:45 +0100)]
videometa: add copy functions

Without copy functions, the metadata is lost when we make a buffer copy such as
when we make a buffer writable.

12 years agoappsrc: fix negotiation
Wim Taymans [Thu, 1 Dec 2011 14:38:10 +0000 (15:38 +0100)]
appsrc: fix negotiation

Remove old useless caps code.
Make a negotiate function and use the configured caps as the caps on the appsrc
pad. If nothing was configured, fall back to the parent implementation.

12 years agoadder: be more graceful in the clipfunction
Stefan Sauer [Thu, 1 Dec 2011 10:59:17 +0000 (11:59 +0100)]
adder: be more graceful in the clipfunction

Doing dynamic pipelines is hard in 0.10. As we don't have the sticky events in
0.10 and sending such events in special elements like adder and tee was outvoted
on last attempt, be graceful to the misbehaviour instead.

12 years agotests: fix caps leak in audioresample tests
Tim-Philipp Müller [Thu, 1 Dec 2011 01:22:19 +0000 (01:22 +0000)]
tests: fix caps leak in audioresample tests

12 years agotests: fix memory leak in basetime test
Tim-Philipp Müller [Thu, 1 Dec 2011 01:07:26 +0000 (01:07 +0000)]
tests: fix memory leak in basetime test

12 years agoplaybin2: tone down debug message about file URIs with spaces
Tim-Philipp Müller [Wed, 30 Nov 2011 23:58:19 +0000 (23:58 +0000)]
playbin2: tone down debug message about file URIs with spaces

Complain a bit less loudly about URIs that have not been
escaped properly.

12 years agoRevert "alsasrc: Improve timestamp accuracy"
Tim-Philipp Müller [Wed, 30 Nov 2011 23:15:35 +0000 (23:15 +0000)]
Revert "alsasrc: Improve timestamp accuracy"

This reverts commit 0b774e0b7cf7a8ef1780fb6100228ca6e8ca8bcf.

12 years agoRevert "alsasrc: Fix some compilation errors"
Tim-Philipp Müller [Wed, 30 Nov 2011 23:15:22 +0000 (23:15 +0000)]
Revert "alsasrc: Fix some compilation errors"

This reverts commit 2b84f5bd74ddb50f7832917ea8b4dd38d005631b.

12 years agoRevert "alsa: Remove unused but set variable"
Tim-Philipp Müller [Wed, 30 Nov 2011 23:15:12 +0000 (23:15 +0000)]
Revert "alsa: Remove unused but set variable"

This reverts commit e9aed7f31c7e9e415f733e147140ce3ef2f57a61.

12 years agoRevert "alsasrc: fail gracefully when ALSA does not give timestamps"
Tim-Philipp Müller [Wed, 30 Nov 2011 23:15:03 +0000 (23:15 +0000)]
Revert "alsasrc: fail gracefully when ALSA does not give timestamps"

This reverts commit c7282a5718c7f31f84fb31b2c38fab0f9a38e2b0.

12 years agoRevert "alsasrc: handle the case where the drivers don't supply timestamps"
Tim-Philipp Müller [Wed, 30 Nov 2011 23:14:54 +0000 (23:14 +0000)]
Revert "alsasrc: handle the case where the drivers don't supply timestamps"

This reverts commit 8154b69112cdc4830cd6002ec6c1f2917d30437b.

12 years agoRevert "alsasrc: style fix"
Stefan Sauer [Mon, 28 Nov 2011 09:55:39 +0000 (10:55 +0100)]
Revert "alsasrc: style fix"

This reverts commit f70ca6d4cbfd2b672dcc7215814bf6b39ce2c3f8.

12 years agoplaysinkconvertbin: Don't send undefined NEWSEGMENT events to the internal elements
Sebastian Dröge [Wed, 30 Nov 2011 13:25:11 +0000 (14:25 +0100)]
playsinkconvertbin: Don't send undefined NEWSEGMENT events to the internal elements

This happens when the internal elements are added before any NEWSEGMENT
event arrived and in that case we shouldn't send a NEWSEGMENT event
to the internal elements at all. They will get the NEWSEGMENT event
from upstream later.

12 years agotests: More fixes for moved interfaces
Edward Hervey [Wed, 30 Nov 2011 10:34:23 +0000 (11:34 +0100)]
tests: More fixes for moved interfaces

12 years agowin32: update for API changes
Edward Hervey [Wed, 30 Nov 2011 10:34:04 +0000 (11:34 +0100)]
win32: update for API changes

12 years agoaudio: Add audio-marshal.list to dist-ed files
Edward Hervey [Wed, 30 Nov 2011 10:33:41 +0000 (11:33 +0100)]
audio: Add audio-marshal.list to dist-ed files

12 years agoaudio: move audio interfaces
Wim Taymans [Wed, 30 Nov 2011 06:57:02 +0000 (07:57 +0100)]
audio: move audio interfaces

Move the audio related interfaces to the audio library.

12 years agofix includes for moved interfaces
Wim Taymans [Wed, 30 Nov 2011 06:23:47 +0000 (07:23 +0100)]
fix includes for moved interfaces

12 years agoencoding-profile: small cleanup in docs
Wim Taymans [Wed, 30 Nov 2011 06:23:07 +0000 (07:23 +0100)]
encoding-profile: small cleanup in docs

12 years agovideo: Don't forget to install moved header files
Edward Hervey [Tue, 29 Nov 2011 18:49:50 +0000 (19:49 +0100)]
video: Don't forget to install moved header files

12 years agotests: More fixes for moved interfaces
Edward Hervey [Tue, 29 Nov 2011 18:31:55 +0000 (19:31 +0100)]
tests: More fixes for moved interfaces

12 years agovideo: move some interfaces
Wim Taymans [Tue, 29 Nov 2011 18:10:01 +0000 (19:10 +0100)]
video: move some interfaces

Move some interfaces to the video library

12 years agoadder: fill the audio-info that we use and not some random other one
Stefan Sauer [Tue, 29 Nov 2011 13:47:37 +0000 (14:47 +0100)]
adder: fill the audio-info that we use and not some random other one

12 years agoadder: unbreak adder
Stefan Sauer [Tue, 29 Nov 2011 13:22:19 +0000 (14:22 +0100)]
adder: unbreak adder

There was one line too much removed when porting.

12 years agoplaybin2: Fix decoder-sink compatibility check for raw audio/video formats
Sebastian Dröge [Tue, 29 Nov 2011 13:15:45 +0000 (14:15 +0100)]
playbin2: Fix decoder-sink compatibility check for raw audio/video formats

If the sink supports raw audio/video, we first check
if the decoder could output any raw audio/video format
and assume it is compatible with the sink then. We don't
do a complete compatibility check here if converters
are plugged between the decoder and the sink because
the converters will convert between raw formats and
even if the decoder format is not supported by the decoder
a converter will convert it.

We assume here that the converters can convert between
any raw format.

Fixes bug #665120.

12 years agoadder: fix deadly setcaps recursion
Stefan Sauer [Tue, 29 Nov 2011 09:40:40 +0000 (10:40 +0100)]
adder: fix deadly setcaps recursion

Use a flag to avoid calling setcaps until our stack is exhausted. I don't see how this would be useful.

12 years agooggdemux: fix compiler warning
Alessandro Decina [Tue, 29 Nov 2011 08:11:21 +0000 (09:11 +0100)]
oggdemux: fix compiler warning

12 years agolibgstvideo: minor fixes to key unit events
Alessandro Decina [Tue, 29 Nov 2011 07:49:53 +0000 (08:49 +0100)]
libgstvideo: minor fixes to key unit events

Make out args to gst_video_event_parse_{downstream|upstream}_force_key_unit
optional, update libgstvideo.def and fix docs a bit.

API: gst_video_event_new_upstream_force_key_unit
API: gst_video_event_new_downstream_force_key_unit
API: gst_video_event_is_force_key_unit
API: gst_video_event_parse_upstream_force_key_unit
API: gst_video_event_parse_downstream_force_key_unit

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

12 years agolibgstvideo: Add force key unit events
Andoni Morales Alastruey [Sat, 4 Jun 2011 23:49:38 +0000 (01:49 +0200)]
libgstvideo: Add force key unit events

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Mon, 28 Nov 2011 21:25:11 +0000 (21:25 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
gst-libs/gst/fft/gstffts16.h

12 years agoMerge commit 'c5544630250ec434e4dafaf17274e83865415120' into 0.11
Tim-Philipp Müller [Mon, 28 Nov 2011 21:20:38 +0000 (21:20 +0000)]
Merge commit 'c5544630250ec434e4dafaf17274e83865415120' into 0.11

12 years agoMerge commit '4a58223e4c824fedc024af435337a769e8ce593e' into 0.11
Tim-Philipp Müller [Mon, 28 Nov 2011 21:20:10 +0000 (21:20 +0000)]
Merge commit '4a58223e4c824fedc024af435337a769e8ce593e' into 0.11

12 years agofft: Bracket public headers
Philippe Normand [Mon, 28 Nov 2011 19:11:09 +0000 (20:11 +0100)]
fft: Bracket public headers

This is especially needed if the gstfftw library is used from C++
code.

Fixes #665074

12 years agotypefindfunctions: Fix compiler warning
Philippe Normand [Mon, 28 Nov 2011 19:10:18 +0000 (20:10 +0100)]
typefindfunctions: Fix compiler warning

12 years agotypefind: fix build error
Alexey Fisher [Mon, 28 Nov 2011 18:03:50 +0000 (19:03 +0100)]
typefind: fix build error

fix build errors:
gsttypefindfunctions.c:248:25: error: 'low' may be used uninitialized in this function [-Werror=uninitialized]
gsttypefindfunctions.c:239:24: error: 'high' may be used uninitialized in this function [-Werror=uninitialized]

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
12 years agoplaysinkconvertbin: Fix stupid mistake in last commit
Sebastian Dröge [Mon, 28 Nov 2011 18:06:57 +0000 (19:06 +0100)]
playsinkconvertbin: Fix stupid mistake in last commit

12 years agoplaysinkconvertbin: Only return the converter caps if we actually have raw caps
Sebastian Dröge [Mon, 28 Nov 2011 18:03:54 +0000 (19:03 +0100)]
playsinkconvertbin: Only return the converter caps if we actually have raw caps

Fixes bug #664818 (hopefully).

12 years agoUpdate for indexable change
Wim Taymans [Mon, 28 Nov 2011 17:24:03 +0000 (18:24 +0100)]
Update for indexable change

12 years agoaudioresample: Don't emit DISCONT buffers if no discontinuity happened
Kipp Cannon [Mon, 28 Nov 2011 16:59:32 +0000 (17:59 +0100)]
audioresample: Don't emit DISCONT buffers if no discontinuity happened

audioresample is derived from GstBaseTransform, and one of
GstBaseTransform's traits is that if the derived element does not
produce an output buffer from some input buffer then the first output
buffer after that gets flaged as a discontinuity, whether or not the
buffer actually is discontinuous from the output buffer that preceded
it. When downsampling, the audioresample element requires more than
one input sample for each output sample, and if the ratio of input to
output sample rates is high enough and the input buffers short enough
it can come to pass that the resampler does not receive enough samples
on its input to produce any output.  Currently the resampler returns
GST_BASE_TRANSFORM_FLOW_DROPPED from the transform() method in this case,
causing the next buffer to be flagged as a discontinuity. If subsequent
elements in the pipeline reset themselves on disconts, this can cause
clicks and other undesireable behaviour.

Fixes bug #665004.

12 years agoaudio: update for clock provider API change
Wim Taymans [Mon, 28 Nov 2011 16:51:41 +0000 (17:51 +0100)]
audio: update for clock provider API change

12 years agotypefind: typefind UTF-16 and UTF-32
Vincent Penquerc'h [Fri, 30 Sep 2011 19:00:50 +0000 (20:00 +0100)]
typefind: typefind UTF-16 and UTF-32

This avoids the MP3 typefinder from getting the highest score
every time it thinks there's something it might possibly be
able to parse.

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