platform/upstream/gstreamer.git
12 years agovideoconvert: improve fixation
Wim Taymans [Wed, 22 Feb 2012 14:31:12 +0000 (15:31 +0100)]
videoconvert: improve fixation

Use the fixed upstream caps to fixate the output caps by taking the
intersection.

12 years agovideofilter: improve propose_allocation
Wim Taymans [Wed, 22 Feb 2012 14:27:59 +0000 (15:27 +0100)]
videofilter: improve propose_allocation

When we are in passthrough, call the parent implementation. Otherwise we have to
suggest allocation parameters ourselves.

12 years agox[v]imagesink: remove size check
Wim Taymans [Wed, 22 Feb 2012 14:25:03 +0000 (15:25 +0100)]
x[v]imagesink: remove size check

We can't to a size check like that, the strides might be different and the copy
will then take care of that just fine.

12 years agoupdate for new fixate_caps function
Wim Taymans [Wed, 22 Feb 2012 11:27:49 +0000 (12:27 +0100)]
update for new fixate_caps function

12 years agovideotestsrc: fix YV12 chroma plane confusion
Tim-Philipp Müller [Wed, 22 Feb 2012 09:32:56 +0000 (09:32 +0000)]
videotestsrc: fix YV12 chroma plane confusion

GST_VIDEO_FRAME_PLANE_DATA() returns the data for the n-th plane,
not the n-th component. In this case, the chroma planes are swapped.

12 years agoupdate for new memory api
Wim Taymans [Wed, 22 Feb 2012 01:05:24 +0000 (02:05 +0100)]
update for new memory api

12 years agocolorspace: Fix v210 writing out of bounds
David Schleef [Tue, 21 Feb 2012 09:05:20 +0000 (10:05 +0100)]
colorspace: Fix v210 writing out of bounds

Port from 0.10 branch in -bad

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Tue, 21 Feb 2012 09:01:30 +0000 (10:01 +0100)]
Merge branch 'master' into 0.11

Conflicts:
tests/examples/seek/seek.c

12 years agoseek: fix format strings
Stefan Sauer [Mon, 20 Feb 2012 19:39:59 +0000 (20:39 +0100)]
seek: fix format strings

12 years agortsp: fix connection
Wim Taymans [Mon, 20 Feb 2012 16:44:59 +0000 (17:44 +0100)]
rtsp: fix connection

12 years agoseek: Add support for sending navigation commands
Sebastian Dröge [Mon, 20 Feb 2012 15:44:07 +0000 (16:44 +0100)]
seek: Add support for sending navigation commands

12 years agovideoconvert: clamp intermediates when dithering
David Schleef [Mon, 20 Feb 2012 15:10:22 +0000 (16:10 +0100)]
videoconvert: clamp intermediates when dithering

Port from the colorspace plugin in -bad.

12 years agoseek: Make the seek-bar insensitive for DVD menus
Sebastian Dröge [Mon, 20 Feb 2012 14:29:49 +0000 (15:29 +0100)]
seek: Make the seek-bar insensitive for DVD menus

12 years agoplayback: find raw caps correctly
Wim Taymans [Mon, 20 Feb 2012 14:17:29 +0000 (15:17 +0100)]
playback: find raw caps correctly

12 years agoseek: Add support for the navigation interface
Sebastian Dröge [Mon, 20 Feb 2012 13:57:36 +0000 (14:57 +0100)]
seek: Add support for the navigation interface

12 years agoseek: Keep a reference to the xoverlay element
Sebastian Dröge [Mon, 20 Feb 2012 13:57:11 +0000 (14:57 +0100)]
seek: Keep a reference to the xoverlay element

12 years agoseek: Add window-embedding support for OS X/Quartz
Sebastian Dröge [Mon, 20 Feb 2012 13:35:37 +0000 (14:35 +0100)]
seek: Add window-embedding support for OS X/Quartz

osxvideosink implements the GstXOverlay interface since some time now.

12 years agoseek: Explicitely call gst_x_overlay_expose() from the GtkDrawingArea expose/draw...
Sebastian Dröge [Mon, 20 Feb 2012 13:09:28 +0000 (14:09 +0100)]
seek: Explicitely call gst_x_overlay_expose() from the GtkDrawingArea expose/draw signal

12 years agovideoconvert: try to preserver colorimetry and chroma-site
Wim Taymans [Mon, 20 Feb 2012 11:36:02 +0000 (12:36 +0100)]
videoconvert: try to preserver colorimetry and chroma-site

Try to preserve the original chroma-site and colorimetry when nothing else was
negotiated.

12 years agovideoscale: fix AYUV64 scaling
David Schleef [Sun, 19 Feb 2012 08:03:03 +0000 (00:03 -0800)]
videoscale: fix AYUV64 scaling

12 years agoriff: Add v210, r210 formats
David Schleef [Sun, 19 Feb 2012 01:37:29 +0000 (17:37 -0800)]
riff: Add v210, r210 formats

12 years agowin32: back to development
Wim Taymans [Fri, 17 Feb 2012 22:59:56 +0000 (23:59 +0100)]
win32: back to development

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 17 Feb 2012 22:46:17 +0000 (23:46 +0100)]
Merge branch 'master' into 0.11

Conflicts:
gst-libs/gst/rtsp/gstrtspconnection.c
win32/common/libgstaudio.def

12 years agotests: activate pad in multifdsink test before pushing on it
Tim-Philipp Müller [Fri, 17 Feb 2012 19:15:55 +0000 (19:15 +0000)]
tests: activate pad in multifdsink test before pushing on it

12 years agodocs: add new audio base class API to docs and .def file
Tim-Philipp Müller [Fri, 17 Feb 2012 15:08:36 +0000 (15:08 +0000)]
docs: add new audio base class API to docs and .def file

12 years agortspconnection: only send new data immediately if there are no queued messages
Ognyan Tonchev [Mon, 30 Jan 2012 14:55:26 +0000 (15:55 +0100)]
rtspconnection: only send new data immediately if there are no queued messages

Even if watch->messages->length is 0 there may still be some
data from a message that was only written partially at the
previous attempt stored in watch->write_data, so check for
that as well. We don't want to write data into the middle
of another message, which could happen when there wasn't
enough bandwidth.

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

12 years agossaparse: set caps on srcpad
Wim Taymans [Fri, 17 Feb 2012 13:37:36 +0000 (14:37 +0100)]
ssaparse: set caps on srcpad

12 years agosubtitle: avoid deadlock
Wim Taymans [Fri, 17 Feb 2012 13:37:18 +0000 (14:37 +0100)]
subtitle: avoid deadlock

12 years agoback to development
Wim Taymans [Fri, 17 Feb 2012 10:04:31 +0000 (11:04 +0100)]
back to development

12 years agoRELEASE 0.11.2
Wim Taymans [Fri, 17 Feb 2012 10:03:14 +0000 (11:03 +0100)]
RELEASE 0.11.2

12 years agodefs: update
Wim Taymans [Fri, 17 Feb 2012 09:06:19 +0000 (10:06 +0100)]
defs: update

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 16 Feb 2012 13:23:28 +0000 (14:23 +0100)]
Merge branch 'master' into 0.11

Conflicts:
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/pbutils/gstdiscoverer.c

12 years agoaudiodecoder: add some properties to tweak baseclass behaviour
Mark Nauwelaerts [Thu, 16 Feb 2012 11:19:20 +0000 (12:19 +0100)]
audiodecoder: add some properties to tweak baseclass behaviour

... so subclass can also rely upon never being bothered with some NULL buffer
it can't do any interesting with, or with any data before it received
any format configuration (and setup properly).

12 years agoaudioencoder: add some properties to tweak baseclass behaviour
Mark Nauwelaerts [Thu, 16 Feb 2012 11:18:03 +0000 (12:18 +0100)]
audioencoder: add some properties to tweak baseclass behaviour

... so subclass can also rely upon never being bothered with less data
than it desires or with some NULL buffer it can't do any interesting with.

12 years agoaudiodecoder: assert some more that subclass parsed frame has proper len
Mark Nauwelaerts [Thu, 16 Feb 2012 11:15:47 +0000 (12:15 +0100)]
audiodecoder: assert some more that subclass parsed frame has proper len

12 years agoaudiodecoder: chain up to parent for defaults
Wim Taymans [Wed, 15 Feb 2012 12:42:19 +0000 (13:42 +0100)]
audiodecoder: chain up to parent for defaults

Chain up to the parent instead of using the FALSE return value from
the event function (because it's otherwise impossible to return an error).

12 years agovorbisdec: remove old code
Wim Taymans [Wed, 15 Feb 2012 12:32:05 +0000 (13:32 +0100)]
vorbisdec: remove old code

12 years agodocs: fix playbin2 documentation about DVD URIs
Olivier Aubert [Tue, 17 Jan 2012 09:54:48 +0000 (10:54 +0100)]
docs: fix playbin2 documentation about DVD URIs

and playbin => playbin2 in example pipelines.

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

12 years agoaudiodecoder: call default event handler
Wim Taymans [Wed, 15 Feb 2012 12:03:59 +0000 (13:03 +0100)]
audiodecoder: call default event handler

Call the default event handler for unknown events.

12 years agotagdemux: refactor the tag find function
Wim Taymans [Wed, 15 Feb 2012 11:29:12 +0000 (12:29 +0100)]
tagdemux: refactor the tag find function

Move the code to find the tags and to typefind the data into a separate
function. Call this function from the loop function.

12 years agotagdemux: don't to data processing in state change
Wim Taymans [Wed, 15 Feb 2012 09:12:55 +0000 (10:12 +0100)]
tagdemux: don't to data processing in state change

Start a task to perform the pulling and typefind of the tags.

12 years agodiscoverer: try harder to obtain a duration if we don't get one right away
Tim-Philipp Müller [Tue, 14 Feb 2012 19:23:27 +0000 (19:23 +0000)]
discoverer: try harder to obtain a duration if we don't get one right away

If we don't get a duration right away, set the pipeline to playing
and sleep a bit, then try again. This is ugly, but the least worst
we can do right now. The alternative would be to make parsers etc.
return some bogus duration estimate even after only having pushed
a single frame, for example.

Fixes discoverer showing 0 durations for some mp3 and aac files
(e.g. soweto-adts.aac).

12 years agotagdemux: fix src query handler
Wim Taymans [Tue, 14 Feb 2012 12:25:25 +0000 (13:25 +0100)]
tagdemux: fix src query handler

We don't want to blindly forward all queries.

12 years agotests: fix after baseparse api change
Wim Taymans [Tue, 14 Feb 2012 09:50:45 +0000 (10:50 +0100)]
tests: fix after baseparse api change

12 years agosubtitleoverlay: log why an overlay element cannot be used
Vincent Penquerc'h [Thu, 26 Jan 2012 12:31:21 +0000 (12:31 +0000)]
subtitleoverlay: log why an overlay element cannot be used

12 years agoplaybin2: fix old style raw A/V caps
Vincent Penquerc'h [Wed, 25 Jan 2012 16:02:04 +0000 (16:02 +0000)]
playbin2: fix old style raw A/V caps

They're now {audio,video}/x-raw, not {audio,video}/x-raw-*

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

12 years agosubtitleoverlay: fix probing of raw video caps
Vincent Penquerc'h [Wed, 25 Jan 2012 15:57:02 +0000 (15:57 +0000)]
subtitleoverlay: fix probing of raw video caps

They're now video/x-raw, not video/x-raw-* anymore.

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

12 years agosubtitleoverlay: add a couple drive by const
Vincent Penquerc'h [Wed, 25 Jan 2012 14:38:19 +0000 (14:38 +0000)]
subtitleoverlay: add a couple drive by const

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

12 years agovideometa: adjust for memory api change
Wim Taymans [Mon, 13 Feb 2012 16:07:25 +0000 (17:07 +0100)]
videometa: adjust for memory api change

12 years agovorbis: port to new memory api
Wim Taymans [Mon, 13 Feb 2012 14:17:09 +0000 (15:17 +0100)]
vorbis: port to new memory api

12 years agoAdd new file to spec file
Christian Fredrik Kalager Schaller [Mon, 13 Feb 2012 16:03:15 +0000 (16:03 +0000)]
Add new file to spec file

12 years agoAdd missing header file to build file
Christian Fredrik Kalager Schaller [Mon, 13 Feb 2012 16:03:03 +0000 (16:03 +0000)]
Add missing header file to build file

12 years agofix up tests
Thomas Vander Stichele [Sun, 12 Feb 2012 21:28:31 +0000 (22:28 +0100)]
fix up tests

12 years agomultifdsink: depends on sys/socket.h
Thomas Vander Stichele [Sun, 12 Feb 2012 21:04:02 +0000 (22:04 +0100)]
multifdsink: depends on sys/socket.h

12 years agomultihandlesink: finish refactor
Thomas Vander Stichele [Sat, 28 Jan 2012 17:07:46 +0000 (18:07 +0100)]
multihandlesink: finish refactor

12 years agomultihandle: rename num-fds/-sockets to num-handles
Thomas Vander Stichele [Sat, 28 Jan 2012 17:06:02 +0000 (18:06 +0100)]
multihandle: rename num-fds/-sockets to num-handles

12 years agomultihandlesink: rework to use Handle
Thomas Vander Stichele [Sat, 28 Jan 2012 10:02:21 +0000 (11:02 +0100)]
multihandlesink: rework to use Handle

12 years agotests multihandle: verify number of handles
Thomas Vander Stichele [Sat, 28 Jan 2012 08:29:55 +0000 (09:29 +0100)]
tests multihandle: verify number of handles

12 years agomultihandlesink: introduce Handle union
Thomas Vander Stichele [Fri, 27 Jan 2012 20:28:05 +0000 (21:28 +0100)]
multihandlesink: introduce Handle union

12 years agomultihandlesink: rework to use GST_TYPE_FORMAT
Thomas Vander Stichele [Fri, 27 Jan 2012 17:44:04 +0000 (18:44 +0100)]
multihandlesink: rework to use GST_TYPE_FORMAT

12 years agomultisocketsink: fix tests by setting units properly
Thomas Vander Stichele [Fri, 27 Jan 2012 17:40:30 +0000 (18:40 +0100)]
multisocketsink: fix tests by setting units properly

12 years agotest: use more literal enums
Thomas Vander Stichele [Fri, 27 Jan 2012 17:33:56 +0000 (18:33 +0100)]
test: use more literal enums

12 years agomultihandlesink: further refactoring
Thomas Vander Stichele [Fri, 27 Jan 2012 14:46:31 +0000 (15:46 +0100)]
multihandlesink: further refactoring

12 years agomultisocketsink: fix refcounting bug
Thomas Vander Stichele [Fri, 27 Jan 2012 11:58:12 +0000 (12:58 +0100)]
multisocketsink: fix refcounting bug

12 years agomultihandlesink: further refactoring
Thomas Vander Stichele [Thu, 26 Jan 2012 22:19:33 +0000 (23:19 +0100)]
multihandlesink: further refactoring

12 years agomultihandlesink: fix one bug in multisocketsink refactoring
Thomas Vander Stichele [Thu, 26 Jan 2012 18:34:47 +0000 (19:34 +0100)]
multihandlesink: fix one bug in multisocketsink refactoring

12 years agomultihandlesink: first stab at common base class
Thomas Vander Stichele [Thu, 26 Jan 2012 09:49:37 +0000 (10:49 +0100)]
multihandlesink: first stab at common base class

12 years agogst/tcp: Factor out common symbols; fix tests.
Thomas Vander Stichele [Thu, 26 Jan 2012 09:41:22 +0000 (10:41 +0100)]
gst/tcp: Factor out common symbols; fix tests.

12 years agomultifdsink: put back multifdsink before refactoring
Thomas Vander Stichele [Thu, 26 Jan 2012 09:08:47 +0000 (10:08 +0100)]
multifdsink: put back multifdsink before refactoring

12 years agomultisocketsink: copy over multifdsink unit tests, with FIXME
Thomas Vander Stichele [Thu, 26 Jan 2012 11:30:21 +0000 (12:30 +0100)]
multisocketsink: copy over multifdsink unit tests, with FIXME

12 years agotag: make GstTagMux base class a bit more functional
Tim-Philipp Müller [Sun, 12 Feb 2012 16:54:56 +0000 (16:54 +0000)]
tag: make GstTagMux base class a bit more functional

We can't use G_DEFINE_*TYPE here because we need the klass in the _init
method to get to the padtemplates. Fixes 'GstTagDemux subclass GstTagDemux
did not set up a {sink,src} pad template' warnings.

12 years agotests: don't run with unsupported formats
Wim Taymans [Fri, 10 Feb 2012 14:41:36 +0000 (15:41 +0100)]
tests: don't run with unsupported formats

videoconvert does not work with GRAY formats yet so don't try to run the unit
test with it.

12 years agovideoconvert: improve error reporting
Wim Taymans [Fri, 10 Feb 2012 14:41:19 +0000 (15:41 +0100)]
videoconvert: improve error reporting

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 10 Feb 2012 14:41:06 +0000 (15:41 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/vorbis/gstvorbisparse.c
gst-libs/gst/video/video.c
gst/videoscale/gstvideoscale.c
sys/v4l/gstv4lxoverlay.c
sys/v4l/v4l_calls.c
sys/v4l/v4lsrc_calls.c
tests/check/libs/video.c

12 years agotypefindfunctions: make h264 typefinder more picky when returning "likely" probability
Tim-Philipp Müller [Wed, 8 Feb 2012 19:39:00 +0000 (19:39 +0000)]
typefindfunctions: make h264 typefinder more picky when returning "likely" probability

Only return LIKELY probability if we've seen an SPS, PPS and an
IDR slice nal, i.e. try harder to avoid false positives such
as with certain VC-1 files.

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

12 years agovideo: add performance log for frame copy
Wim Taymans [Thu, 9 Feb 2012 15:03:35 +0000 (16:03 +0100)]
video: add performance log for frame copy

12 years agovideoconvert: avoid using _CATEGORY_GET
Wim Taymans [Thu, 9 Feb 2012 15:00:59 +0000 (16:00 +0100)]
videoconvert: avoid using _CATEGORY_GET

12 years agosubtitleoverlay: fix merge error
Wim Taymans [Thu, 9 Feb 2012 14:51:10 +0000 (15:51 +0100)]
subtitleoverlay: fix merge error

Fix merge error from commit fb6d09055ae90979682fa4b1c6ee4f4abdaafd8f

12 years agodebug: add some performance debug
Wim Taymans [Thu, 9 Feb 2012 14:28:54 +0000 (15:28 +0100)]
debug: add some performance debug

12 years agotypefindfunctions: minor cosmetic change
Tim-Philipp Müller [Wed, 8 Feb 2012 19:34:57 +0000 (19:34 +0000)]
typefindfunctions: minor cosmetic change

Don't write < 1 when we mean == 0.

12 years agoGST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
Wim Taymans [Wed, 8 Feb 2012 14:17:49 +0000 (15:17 +0100)]
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING

12 years agortsp: make g-ir-scanner include Gio-2.0 to suppress complaints about GSocket etc.
Tim-Philipp Müller [Tue, 7 Feb 2012 23:42:48 +0000 (23:42 +0000)]
rtsp: make g-ir-scanner include Gio-2.0 to suppress complaints about GSocket etc.

12 years agoaudiodecoder: remove stray obsolete declaration
Mark Nauwelaerts [Mon, 6 Feb 2012 21:09:50 +0000 (22:09 +0100)]
audiodecoder: remove stray obsolete declaration

12 years agoaudio: correctly fill in fallback channel positions in stereo case
Mark Nauwelaerts [Mon, 6 Feb 2012 21:09:34 +0000 (22:09 +0100)]
audio: correctly fill in fallback channel positions in stereo case

12 years agovideo: mark endianness correctly
Wim Taymans [Mon, 6 Feb 2012 17:33:59 +0000 (18:33 +0100)]
video: mark endianness correctly

12 years agovolume: use right info structure for setup
Wim Taymans [Mon, 6 Feb 2012 15:08:24 +0000 (16:08 +0100)]
volume: use right info structure for setup

12 years agotagdemux: push event in the right direction
Wim Taymans [Mon, 6 Feb 2012 14:51:17 +0000 (15:51 +0100)]
tagdemux: push event in the right direction

Push the stored events in the right direction

12 years agotag: fix up define that tells code where to find the license translations too
Tim-Philipp Müller [Mon, 6 Feb 2012 13:49:12 +0000 (13:49 +0000)]
tag: fix up define that tells code where to find the license translations too

Tell code about new location of translation dict.

12 years agoaudiofilter: configure info after calling vmethod
Wim Taymans [Mon, 6 Feb 2012 12:22:14 +0000 (13:22 +0100)]
audiofilter: configure info after calling vmethod

First call the vmethod and then configure the audioinfo in the baseclass. This
allows subclasses to know about the old format.

12 years agodef: update
Wim Taymans [Mon, 6 Feb 2012 08:45:10 +0000 (09:45 +0100)]
def: update

12 years agofix for removed file
Wim Taymans [Mon, 6 Feb 2012 08:44:48 +0000 (09:44 +0100)]
fix for removed file

12 years agovideofilter: take care of in_place transform
Wim Taymans [Fri, 3 Feb 2012 16:10:12 +0000 (17:10 +0100)]
videofilter: take care of in_place transform

If the subclass doesn't implement a transform_frame function we need to force
the baseclass into in_place transform.

12 years agotag: Install license translations into $(pkgdatadir)/0.11
Sebastian Dröge [Mon, 6 Feb 2012 10:44:29 +0000 (11:44 +0100)]
tag: Install license translations into $(pkgdatadir)/0.11

This prevents file conflicts with GStreamer 0.10.

12 years agovideo: add GST_VIDEO_INFO_COMP_BITS
Mark Nauwelaerts [Mon, 6 Feb 2012 09:52:01 +0000 (10:52 +0100)]
video: add GST_VIDEO_INFO_COMP_BITS

12 years agovideo: Add GST_VIDEO_INFO_COMP_WIDTH
Sebastian Dröge [Mon, 6 Feb 2012 08:53:22 +0000 (09:53 +0100)]
video: Add GST_VIDEO_INFO_COMP_WIDTH

12 years agotheoraenc: remove obsolete properties
Tim-Philipp Müller [Sun, 5 Feb 2012 10:56:44 +0000 (10:56 +0000)]
theoraenc: remove obsolete properties

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

12 years agovideoscale: Add nearest/linear scaling for NV12
David Schleef [Mon, 30 Jan 2012 16:21:54 +0000 (08:21 -0800)]
videoscale: Add nearest/linear scaling for NV12

12 years agovideoscale: Add AYUV64 path to Lanczos
David Schleef [Wed, 25 Jan 2012 23:49:00 +0000 (15:49 -0800)]
videoscale: Add AYUV64 path to Lanczos

12 years agotheoraenc: Use GAP flag when possible
David Schleef [Wed, 31 Aug 2011 02:02:51 +0000 (19:02 -0700)]
theoraenc: Use GAP flag when possible

Set TH_ENCCTL_SET_DUPLICATE_FLAG when we see a gap flag, to
indicate to the encoder that the current frame is a duplicate
of the previous frame.

12 years agotests: fix volume test
Wim Taymans [Fri, 3 Feb 2012 14:01:50 +0000 (15:01 +0100)]
tests: fix volume test