platform/upstream/gstreamer.git
14 years agoelement-maker: construct element names
David Schleef [Fri, 27 Aug 2010 03:15:43 +0000 (20:15 -0700)]
element-maker: construct element names

14 years agointerlace: new element
David Schleef [Mon, 23 Aug 2010 04:43:20 +0000 (21:43 -0700)]
interlace: new element

14 years agocog: Add fast paths for colorspace conversion
David Schleef [Sat, 21 Aug 2010 00:24:23 +0000 (17:24 -0700)]
cog: Add fast paths for colorspace conversion

14 years agoconfigure: require Orc 0.4.7
David Schleef [Sat, 21 Aug 2010 00:23:17 +0000 (17:23 -0700)]
configure: require Orc 0.4.7

14 years agoelement-maker: Fix up GstElement
David Schleef [Sat, 14 Aug 2010 04:58:01 +0000 (21:58 -0700)]
element-maker: Fix up GstElement

14 years agocog: Improvements in colorspace and scaler
David Schleef [Sat, 14 Aug 2010 04:54:54 +0000 (21:54 -0700)]
cog: Improvements in colorspace and scaler

Add fast paths for YUV->YUV conversions and Orc code for all.
Use Orc for horizontal resampling.

14 years agocog: minor cleanups
David Schleef [Fri, 11 Jun 2010 21:39:30 +0000 (14:39 -0700)]
cog: minor cleanups

Improve element descriptions, remove unused files, code cleanup.

14 years agoBack to development
Tim-Philipp Müller [Fri, 3 Sep 2010 09:03:04 +0000 (10:03 +0100)]
Back to development

Temporarily disable -DGST_DISABLE_DEPRECATED for git builds until
the code is updated for the GST_FLOW_IS_* macro deprecations.

14 years agompegtsmux: Initialize PES packet before getting the header size.
Andoni Morales Alastruey [Wed, 1 Sep 2010 20:05:43 +0000 (22:05 +0200)]
mpegtsmux: Initialize PES packet before getting the header size.

The PES header length is calculated before setting the dynamic flags, returning
a wrong value. Small frames that should be sent in a single TS packet are
spawned to a new packet because of that error. For audio streams where a single
frame can cope in one TS packet it introduces a huge overhead.

For a 100B packet, we prepare a TS packet with a payload of(100+9)B. Then, we
write the TS header using this value in tsmux_write_ts_header, and call
tsmux_stream_get_data(). The dynamic flags where not set yet and now
tsmux_stream_pes_header_length() returns 14B instead of 9B. The payload of the
TS packet is 114B, 5B more than what was calculated. 109B are sent in a first
packet and the remaining 5B are sent in another one.

Fixes bug #628548.

14 years agocogcolorspace: Classify as Filter/Converter/Video instead of effect
Sebastian Dröge [Thu, 2 Sep 2010 08:23:30 +0000 (10:23 +0200)]
cogcolorspace: Classify as Filter/Converter/Video instead of effect

Fixes bug #628570.

14 years agovideoanalyse: Use correct element classification
Thibault Saunier [Wed, 1 Sep 2010 16:30:17 +0000 (18:30 +0200)]
videoanalyse: Use correct element classification

This is no effect but an analyzer. Fixes bug #628527.

14 years agoRelease 0.10.20
Tim-Philipp Müller [Thu, 2 Sep 2010 23:23:02 +0000 (00:23 +0100)]
Release 0.10.20

14 years agodocs: update for release
Tim-Philipp Müller [Thu, 2 Sep 2010 23:21:06 +0000 (00:21 +0100)]
docs: update for release

14 years agopo: update translations
Tim-Philipp Müller [Thu, 2 Sep 2010 23:19:33 +0000 (00:19 +0100)]
po: update translations

14 years agodoap: reference git repository instead of CVS repository
Tim-Philipp Müller [Thu, 2 Sep 2010 23:01:21 +0000 (00:01 +0100)]
doap: reference git repository instead of CVS repository

14 years agortmpsrc: fix wrong use of GST_ELEMENT_ERROR
Tim-Philipp Müller [Thu, 2 Sep 2010 21:39:33 +0000 (22:39 +0100)]
rtmpsrc: fix wrong use of GST_ELEMENT_ERROR

14 years ago0.10.19.5 pre-release
Sebastian Dröge [Mon, 30 Aug 2010 14:01:36 +0000 (16:01 +0200)]
0.10.19.5 pre-release

14 years agocamerabin: Don't install gst-camera.ui
Sebastian Dröge [Mon, 30 Aug 2010 13:20:08 +0000 (15:20 +0200)]
camerabin: Don't install gst-camera.ui

The examples are not meant to be installed and the executables of
them are not installed anyway.

Fixes bug #627918.

14 years agortpmux: Unlock the right mutex
Youness Alaoui [Thu, 26 Aug 2010 02:56:03 +0000 (22:56 -0400)]
rtpmux: Unlock the right mutex

The mutex locked is for the 'mux' object, but we unlock the
pad, which means that if the rtpmux gets a flush, then the
object lock will stay locked forever, causing it to freeze
the next time it tries to take it.

Fixes bug #627991

14 years agoconfigure: Bump neon requirement to 0.27.0
Jan Schmidt [Fri, 27 Aug 2010 05:49:39 +0000 (15:49 +1000)]
configure: Bump neon requirement to 0.27.0

Needed in order to have ne_set_connect_timeout

Fixes bug #625076

14 years ago0.10.19.4 pre-release
Sebastian Dröge [Sat, 21 Aug 2010 19:42:04 +0000 (21:42 +0200)]
0.10.19.4 pre-release

14 years agoqtmux: autodetect out-of-order input timestamps and determine DTS accordingly
Mark Nauwelaerts [Mon, 16 Aug 2010 10:36:24 +0000 (12:36 +0200)]
qtmux: autodetect out-of-order input timestamps and determine DTS accordingly

Favour using input buffer timestamps for DTS, but fallback to using buffer
duration (accumulation) if input ts detected out-of-order.

Fixes #624212.

14 years agojifmux: Avoid recombining RGB jpegs
Thiago Santos [Fri, 20 Aug 2010 14:09:19 +0000 (11:09 -0300)]
jifmux: Avoid recombining RGB jpegs

JFIF only allows YUV as colorspace, when we receive an RGB jpeg,
we should just push it forward without adding the JFIF marker.

Fixes #627413

14 years agovp8dec: Set GstBaseVideoDecoder::packetized to TRUE as soon as possible
Philip Jägenstedt [Fri, 13 Aug 2010 12:34:21 +0000 (14:34 +0200)]
vp8dec: Set GstBaseVideoDecoder::packetized to TRUE as soon as possible

This fixes an infinite loop if an EOS event is received before
GstBaseVideoDecoder::start() is called, e.g. immediately when the
pads are activated.

Fixes bug #626815.

14 years agoAutomatic update of common submodule
Stefan Kost [Fri, 13 Aug 2010 14:24:25 +0000 (17:24 +0300)]
Automatic update of common submodule

From 3e8db1d to ec60217

14 years agogaudieffects: Mark inline functions as static inline
Olivier Crête [Wed, 11 Aug 2010 20:03:07 +0000 (22:03 +0200)]
gaudieffects: Mark inline functions as static inline

Otherwise it fails to correctly link them in some cases.

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

14 years ago0.10.19.3 pre-release
Tim-Philipp Müller [Wed, 11 Aug 2010 16:19:06 +0000 (17:19 +0100)]
0.10.19.3 pre-release

14 years agogsettings: fix make distcheck
Tim-Philipp Müller [Wed, 11 Aug 2010 16:19:17 +0000 (17:19 +0100)]
gsettings: fix make distcheck

Clean up file we generated at build time.

14 years agochecks: blacklist gsettings* elements for generic/states test
Tim-Philipp Müller [Wed, 11 Aug 2010 11:09:37 +0000 (12:09 +0100)]
checks: blacklist gsettings* elements for generic/states test

When the test is run, the schema file won't be installed yet,
and there doesn't seem to be an environment variable to set
to force GSettings to look in a different directory.

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

14 years ago0.10.19.2 pre-release
Tim-Philipp Müller [Tue, 10 Aug 2010 23:23:02 +0000 (00:23 +0100)]
0.10.19.2 pre-release

This commit is out of sequence, it really belongs between commits
15098331412ceb982c24b89bb4346354fb56433c (Automatic update of
common submodule) and dd26f378b01d679834f12935efc7093fb5807956
(configure: Fix the CELT checks to ...)

14 years agoconfigure: bump core/base requirement to released versions
Tim-Philipp Müller [Sun, 8 Aug 2010 23:42:45 +0000 (00:42 +0100)]
configure: bump core/base requirement to released versions

This commit is out of sequence, it really belongs between commits
15098331412ceb982c24b89bb4346354fb56433c (Automatic update of
common submodule) and dd26f378b01d679834f12935efc7093fb5807956
(configure: Fix the CELT checks to ...)

14 years agoconfigure: fix --disable-external
Tim-Philipp Müller [Sun, 8 Aug 2010 23:42:25 +0000 (00:42 +0100)]
configure: fix --disable-external

This commit is out of sequence, it really belongs between commits
15098331412ceb982c24b89bb4346354fb56433c (Automatic update of
common submodule) and dd26f378b01d679834f12935efc7093fb5807956
(configure: Fix the CELT checks to ...)

14 years agochecks: skip jifmux tests if required elements aren't available
Tim-Philipp Müller [Sun, 8 Aug 2010 16:09:22 +0000 (17:09 +0100)]
checks: skip jifmux tests if required elements aren't available

This commit is out of sequence, it really belongs between commits
15098331412ceb982c24b89bb4346354fb56433c (Automatic update of
common submodule) and dd26f378b01d679834f12935efc7093fb5807956
(configure: Fix the CELT checks to ...)

14 years agolegacyresample: Link against $(LIBM) for rint() and friends
Sebastian Dröge [Wed, 11 Aug 2010 09:52:44 +0000 (11:52 +0200)]
legacyresample: Link against $(LIBM) for rint() and friends

14 years agogsettings: Add gsettings.m4 for the gsettings macros
Sebastian Dröge [Wed, 11 Aug 2010 09:51:16 +0000 (11:51 +0200)]
gsettings: Add gsettings.m4 for the gsettings macros

14 years agoinvtelecine: Link against $(LIBM) for sqrt() and friends
Sebastian Dröge [Wed, 11 Aug 2010 09:50:05 +0000 (11:50 +0200)]
invtelecine: Link against $(LIBM) for sqrt() and friends

14 years agoconfigure: Fix the CELT check to actually succeed if CELT >= 0.5 is available
Sebastian Dröge [Wed, 11 Aug 2010 09:39:35 +0000 (11:39 +0200)]
configure: Fix the CELT check to actually succeed if CELT >= 0.5 is available

Also remove the AC_MSG_RESULTS([no]), pkg-config does this for us already.

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 10 Aug 2010 09:58:46 +0000 (10:58 +0100)]
Automatic update of common submodule

From bd2054b to 3e8db1d

14 years agogeometrictransform: add a "zoom" parameter to square filter
Filippo Argiolas [Mon, 9 Aug 2010 15:20:11 +0000 (17:20 +0200)]
geometrictransform: add a "zoom" parameter to square filter

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

14 years agogeometrictransform: make square "width" and "height" customizable
Filippo Argiolas [Mon, 9 Aug 2010 14:55:43 +0000 (16:55 +0200)]
geometrictransform: make square "width" and "height" customizable

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

14 years agogeometrictransform: add a "mode" property to mirror filter
Filippo Argiolas [Mon, 9 Aug 2010 08:03:20 +0000 (10:03 +0200)]
geometrictransform: add a "mode" property to mirror filter

Add a "mode" enum property to mirror that defines how to split the frame
and with side reflect.

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

14 years agogeometrictransform: add a "zoom" parameter to bulge filter
Filippo Argiolas [Mon, 9 Aug 2010 06:52:51 +0000 (08:52 +0200)]
geometrictransform: add a "zoom" parameter to bulge filter

Rework bulge mapping function to give more predictable results.
Now the bulge is done dividing by a scale factor that smoothsteps from
"zoom" at the center to 1.0 at "radius".

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

14 years agogeometrictransform: add an "intensity" parameter to stretch filter
Filippo Argiolas [Thu, 5 Aug 2010 14:16:37 +0000 (16:16 +0200)]
geometrictransform: add an "intensity" parameter to stretch filter

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

14 years agogeometrictransform: make tunnel "radius" customizable
Filippo Argiolas [Thu, 5 Aug 2010 10:43:15 +0000 (12:43 +0200)]
geometrictransform: make tunnel "radius" customizable

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

14 years agogeometrictransform: make bulge "radius" customizable
Filippo Argiolas [Thu, 5 Aug 2010 10:29:16 +0000 (12:29 +0200)]
geometrictransform: make bulge "radius" customizable

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

14 years agogeometrictransform: make stretch "radius" customizable
Filippo Argiolas [Thu, 5 Aug 2010 10:25:04 +0000 (12:25 +0200)]
geometrictransform: make stretch "radius" customizable

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

14 years agovdpaumpeg4dec: fix typo in default_non_intra_quant_matrix
Carl-Anton Ingmarsson [Sun, 8 Aug 2010 21:56:43 +0000 (23:56 +0200)]
vdpaumpeg4dec: fix typo in default_non_intra_quant_matrix

14 years agovdpau: add mpeg4 part2 decoder
Carl-Anton Ingmarsson [Wed, 14 Jul 2010 09:03:35 +0000 (11:03 +0200)]
vdpau: add mpeg4 part2 decoder

14 years agochecks: skip id3mux unit tests that need id3demux if id3demux is not available
Tim-Philipp Müller [Sun, 8 Aug 2010 11:46:01 +0000 (12:46 +0100)]
checks: skip id3mux unit tests that need id3demux if id3demux is not available

14 years agoconfigure: build and dist new coloreffects plugin
Tim-Philipp Müller [Sun, 8 Aug 2010 11:26:55 +0000 (12:26 +0100)]
configure: build and dist new coloreffects plugin

Fixes make distcheck.

14 years agofrei0r: Only check the plugin filenames, not the directory names
Sebastian Dröge [Sun, 8 Aug 2010 10:01:31 +0000 (12:01 +0200)]
frei0r: Only check the plugin filenames, not the directory names

14 years agofrei0r: Don't try to register/load the same frei0r plugin at different locations...
Sebastian Dröge [Sun, 8 Aug 2010 09:56:42 +0000 (11:56 +0200)]
frei0r: Don't try to register/load the same frei0r plugin at different locations twice

This could happen because for example /usr/lib is linked
to /usr/lib64 and both are loaded. The frei0r specification
says that the plugin init function must only be called once
and for some plugin weird things (including crashes) are
happening.

Fixes bug #623710.

14 years agodvbsrc: align actual default values for properties with defaults in param spec
Tim-Philipp Müller [Fri, 6 Aug 2010 00:56:29 +0000 (01:56 +0100)]
dvbsrc: align actual default values for properties with defaults in param spec

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

14 years agovdpau: fix destruction of GstVdpDevice when it failed to open
Carl-Anton Ingmarsson [Fri, 6 Aug 2010 10:14:04 +0000 (12:14 +0200)]
vdpau: fix destruction of GstVdpDevice when it failed to open

only close display in finalize and check if vdp_decoder_destroy is available
before we use it

14 years agovdpausink: use separate mutex for device locking
Carl-Anton Ingmarsson [Thu, 5 Aug 2010 21:55:00 +0000 (23:55 +0200)]
vdpausink: use separate mutex for device locking

we can't use GST_OBJECT_LOCK since that cause problems when we try to post
errors, due to gst_element_post_message also taking the GST_OBJECT_LOCK

14 years agoneonhttpsrc: add connect-timeout and read-timeout properties
David Hoyt [Fri, 6 Aug 2010 10:04:57 +0000 (11:04 +0100)]
neonhttpsrc: add connect-timeout and read-timeout properties

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

14 years agoneonhttpsrc: add "cookies" property
Tim-Philipp Müller [Fri, 6 Aug 2010 09:44:24 +0000 (10:44 +0100)]
neonhttpsrc: add "cookies" property

Based on patch by: Sameer Naik

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

14 years agodshowvideosink: close our own window when changing the window id
Andoni Morales Alastruey [Sun, 25 Jul 2010 15:04:12 +0000 (17:04 +0200)]
dshowvideosink: close our own window when changing the window id

If we created the window, it needs to be closed after setting a new
window id.

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

14 years agodshowvideosink: allow changing window ID whilst in PLAYING state
Raimo Jarvi [Sun, 25 Jul 2010 15:01:19 +0000 (17:01 +0200)]
dshowvideosink: allow changing window ID whilst in PLAYING state

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

14 years agofrei0r: Load plugins in /usr/{local/,}lib{32,64}/frei0r-1 too
Olivier Crête [Fri, 6 Aug 2010 01:19:16 +0000 (03:19 +0200)]
frei0r: Load plugins in /usr/{local/,}lib{32,64}/frei0r-1 too

Loads the plugins in more paths where they could be installed by
multilib distributions.

Fixes #623710

14 years agoAutomatic update of common submodule
Stefan Kost [Thu, 5 Aug 2010 10:57:11 +0000 (13:57 +0300)]
Automatic update of common submodule

From a519571 to bd2054b

14 years agogeometrictransform: make ciclegt "radius" property relative
Filippo Argiolas [Tue, 3 Aug 2010 08:08:34 +0000 (10:08 +0200)]
geometrictransform: make ciclegt "radius" property relative

Make the "radius" property of CircleGeometricTransform relative.
This is more coherent with the way [x,y]-center properties are handled
and allow to set a radius without knowing the video size.
Radius is defined with respect to the circle circumscribed about the
video rectangle so that a point in the center has radius 0.0 and one in
a vertex has radius 1.0.
Note that this is not a regression from the previous absolute way of
defining the radius as a user who knows the video size can easily
calculate the relative radius and set that.

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

14 years agoid3mux: minor code clean-up
Tim-Philipp Müller [Wed, 4 Aug 2010 22:50:53 +0000 (23:50 +0100)]
id3mux: minor code clean-up

Add helper function to write text frames with just one string.

14 years ago.gitignore: ignore more unit test binaries
Tim-Philipp Müller [Wed, 4 Aug 2010 22:44:47 +0000 (23:44 +0100)]
.gitignore: ignore more unit test binaries

14 years agoid3mux: add support for beats-per-minute tag
Jonathan Matthew [Mon, 14 Jun 2010 10:07:33 +0000 (20:07 +1000)]
id3mux: add support for beats-per-minute tag

Write beats per minute into the TBPM frame, and add unit
test for id3mux, based on id3v2mux unit test.

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

14 years agoconfigure: Check if the compiler supports ISO C89 or C99 and which parameters are...
Sebastian Dröge [Wed, 4 Aug 2010 17:26:51 +0000 (19:26 +0200)]
configure: Check if the compiler supports ISO C89 or C99 and which parameters are required

This first checks what is required for ISO C99 support and sets the relevant
compiler parameters and if no C99 compiler is found, it checks for a
C89 compiler. This enables us to check for and use C89/C99 functions
that gcc hides from us without the correct compiler parameters.

14 years agocoloreffects: Add to the documentation
Sebastian Dröge [Wed, 4 Aug 2010 08:15:00 +0000 (10:15 +0200)]
coloreffects: Add to the documentation

14 years agocoloreffects: Minor cleanup
Sebastian Dröge [Wed, 4 Aug 2010 08:11:11 +0000 (10:11 +0200)]
coloreffects: Minor cleanup

14 years agocoloreffects: Improve property description a bit
Sebastian Dröge [Wed, 4 Aug 2010 08:09:53 +0000 (10:09 +0200)]
coloreffects: Improve property description a bit

14 years agocoloreffects: Don't use the fixed_caps func on the pads
Sebastian Dröge [Wed, 4 Aug 2010 08:08:24 +0000 (10:08 +0200)]
coloreffects: Don't use the fixed_caps func on the pads

coloreffects can renegotiate during playback without any problems.

14 years agocoloreffects: add ayuv support
Filippo Argiolas [Tue, 3 Aug 2010 12:39:22 +0000 (14:39 +0200)]
coloreffects: add ayuv support

Currently implemented switching from yuv to rgb, looking up rgb from the
table in the usual way, getting back to yuv. With luma lookup presets
(sepia, heat, xray) a color space conversion is saved directly looking
up rgb for a given Y and converting to yuv.
Probably this latter step can even be made faster precalculating a luma
to yuv table in an outer loop.

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

14 years agocoloreffects: new plugin for lookup table color mapping
Filippo Argiolas [Sun, 1 Aug 2010 21:03:24 +0000 (23:03 +0200)]
coloreffects: new plugin for lookup table color mapping

Implements a color lookup table filter with 4 presets:
 - heat: fake heat camera effect
 - sepia: sepia toning
 - xray: invert + shade to blue
 - xpro: cross process

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

14 years agodocs: Add lots of gaudieffects/geometrictransform symbols to the docs
Sebastian Dröge [Tue, 3 Aug 2010 08:29:36 +0000 (10:29 +0200)]
docs: Add lots of gaudieffects/geometrictransform symbols to the docs

14 years agogeometrictransform: new filter "fisheye"
Filippo Argiolas [Mon, 2 Aug 2010 09:30:50 +0000 (11:30 +0200)]
geometrictransform: new filter "fisheye"

Ports gleffects "fisheye" filter to geometrictransform.
Fake fisheye lens filter. Somewhat empiric implementation because I
didn't find any good algorithm that does it with nice results.

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

14 years agogeometrictransform: new filter "mirror"
Filippo Argiolas [Mon, 2 Aug 2010 09:12:42 +0000 (11:12 +0200)]
geometrictransform: new filter "mirror"

Ports gleffects "mirror" filter to geometrictransform.
Simple yet effective mirror effect, splits the image into halves and
reflect the first into the second.

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

14 years agogeometrictransform: new filter "square"
Filippo Argiolas [Mon, 2 Aug 2010 09:01:31 +0000 (11:01 +0200)]
geometrictransform: new filter "square"

Ports gleffects "square" filter to geometrictransform.
Maps a region around the center into a zoomed square and smoothly get
back to normal zoom. With faces it makes a funny "cube-face" effect.

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

14 years agogeometrictransform: new filter "tunnel"
Filippo Argiolas [Mon, 2 Aug 2010 08:46:44 +0000 (10:46 +0200)]
geometrictransform: new filter "tunnel"

Ports gleffects "tunnel" filter to geometrictransform.
Do nothing in a circle around the center and zoom outside.

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

14 years agogeometrictransform: new filter "bulge"
Filippo Argiolas [Mon, 2 Aug 2010 07:39:51 +0000 (09:39 +0200)]
geometrictransform: new filter "bulge"

Ports gleffects "bulge" filter to geometrictransform.
Adds a protuberance around the center point.

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

14 years agogeometrictransform: new filter "stretch"
Filippo Argiolas [Mon, 2 Aug 2010 07:17:03 +0000 (09:17 +0200)]
geometrictransform: new filter "stretch"

Ports gleffects "stretch" filter to geometrictransform.
Shrinks the image around the center and gradually return to normal zoom
creating funny caricatures.

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

14 years agovdpau: set back plugin ranks to GST_RANK_NONE
Carl-Anton Ingmarsson [Mon, 2 Aug 2010 16:33:46 +0000 (18:33 +0200)]
vdpau: set back plugin ranks to GST_RANK_NONE

the previous change was not meant to slip in

14 years agovdpau: slightly fix GstBaseVideoDecoder timestamping
Carl-Anton Ingmarsson [Mon, 2 Aug 2010 16:23:11 +0000 (18:23 +0200)]
vdpau: slightly fix GstBaseVideoDecoder timestamping

clear timestamps on flush and properly calculate the frame's end offset

14 years agovdpau: init debug category in gst_vdp_video_buffer_get_type
Carl-Anton Ingmarsson [Sun, 1 Aug 2010 10:32:31 +0000 (12:32 +0200)]
vdpau: init debug category in gst_vdp_video_buffer_get_type

14 years agogaudieffects: Add Gaussian Blur effect, and brief example.
Jan Schmidt [Mon, 2 Aug 2010 10:41:12 +0000 (20:41 +1000)]
gaudieffects: Add Gaussian Blur effect, and brief example.

14 years agortmpsrc: fix warning on osx.
Alessandro Decina [Fri, 30 Jul 2010 21:59:10 +0000 (23:59 +0200)]
rtmpsrc: fix warning on osx.

14 years agovdpau: add error reporting to device creation
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 20:27:49 +0000 (22:27 +0200)]
vdpau: add error reporting to device creation

14 years agovdpau: fix small typo in GstBaseVideoDecoder
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 14:54:40 +0000 (16:54 +0200)]
vdpau: fix small typo in GstBaseVideoDecoder

14 years agovdpau: use gst_vdp_yuv_to_video_caps in GstVdpVideoSrcPad to transform set caps
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 12:47:43 +0000 (14:47 +0200)]
vdpau: use gst_vdp_yuv_to_video_caps in GstVdpVideoSrcPad to transform set caps

this way we'll keep other all other fields in the caps which we didn't take in
account when we manually created the "video/x-vdpau-video" caps

14 years agovdpau: rename gst_vdp_video_buffer_parse_yuv_caps and move it to gstvdputils.h
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 12:44:09 +0000 (14:44 +0200)]
vdpau: rename gst_vdp_video_buffer_parse_yuv_caps and move it to gstvdputils.h

14 years agovdpau: GstVdpOutputSrcPad use gst_pad_alloc when outputting video/x-raw-rgb
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 12:07:22 +0000 (14:07 +0200)]
vdpau: GstVdpOutputSrcPad use gst_pad_alloc when outputting video/x-raw-rgb

we implement "acceptcaps" to prevent us from getting a buffer with different
width and height from what we requested.

14 years agovdpau: properly remove "chroma-type" field from transformed caps
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 09:29:16 +0000 (11:29 +0200)]
vdpau: properly remove "chroma-type" field from transformed caps

14 years agovdpauvideopostprocess: use GstVdp[Video|Output]BufferPool to cache our buffers
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 09:27:27 +0000 (11:27 +0200)]
vdpauvideopostprocess: use GstVdp[Video|Output]BufferPool to cache our buffers

This way we'll reuse the GstVdp[Video|Output]Buffers if they're of the same
size and chroma-type/rgba-format.

Also remove gst_vdp_output_src_pad_negotiate and set a "setcaps" function on
GstVdpOutputSrcPad instead, leaving negotiation to GstVdpVideoPostProcess.

14 years agovdpausink: use GstVdpOutputBufferPool to alloc our buffers
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 09:20:35 +0000 (11:20 +0200)]
vdpausink: use GstVdpOutputBufferPool to alloc our buffers

This way we'll reuse our GstVdpOutputBuffers if they're of the same size and
rgba-format

14 years agovdpau: use GstVdpVideoBufferPool in GstVdpVideoSrcPad
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 09:16:09 +0000 (11:16 +0200)]
vdpau: use GstVdpVideoBufferPool in GstVdpVideoSrcPad

We also don't pad_alloc our GstVdpVideoBuffers anymore since we don't support
downstream negotation anyway.

14 years agovdpau: add GstVdpOutputBufferPool
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 09:06:17 +0000 (11:06 +0200)]
vdpau: add GstVdpOutputBufferPool

GstVdpVideoOutputPool is a subclass of GstVdpBufferPool that caches
GstVdpOutputBuffers

14 years agovdpau: add GstVdpVideoBufferPool
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 09:01:15 +0000 (11:01 +0200)]
vdpau: add GstVdpVideoBufferPool

GstVdpVideoBufferPool is a subclass of GstVdpBuffer that caches
GstVdpVideoBuffers

14 years agovdpau: add GstVdpBufferPool base class
Carl-Anton Ingmarsson [Fri, 30 Jul 2010 08:55:56 +0000 (10:55 +0200)]
vdpau: add GstVdpBufferPool base class

GstVdpBufferPool will be used to cache GstVdp[Video|Output]Buffers since
creating these can be a costly operation on some hardware.

14 years agovdpau: remove GstVdpOutputSrcPad "template-caps" property
Carl-Anton Ingmarsson [Wed, 28 Jul 2010 19:39:12 +0000 (21:39 +0200)]
vdpau: remove GstVdpOutputSrcPad "template-caps" property

instead we do as GstVdpVideoSrcPad and use the "templ" property of GstPad,
which enable us to change the signature of gst_vdp_output_src_pad_new to match
gst_pad_new_from_template

14 years agovdpau: remove GstVdpOutputSrcPad code to retrieve the device from downstream
Carl-Anton Ingmarsson [Wed, 28 Jul 2010 19:15:46 +0000 (21:15 +0200)]
vdpau: remove GstVdpOutputSrcPad code to retrieve the device from downstream

we now no longer try to get the GstVdpDevice from downstream since it in
practice didn't give us anything and complicates the code alot. Nevertheless if device
distribution should be done there's probably a lot better ways to do it.
Instead we now simply aquire the device in vdpauvideopostprocess when we're
going into PAUSED.

14 years agovdpau: cleanup GstVdpDecoder opening of it's GstVdpDevice
Carl-Anton Ingmarsson [Tue, 27 Jul 2010 21:24:43 +0000 (23:24 +0200)]
vdpau: cleanup GstVdpDecoder opening of it's GstVdpDevice

we now no longer try to get the GstVdpDevice from downstream since it in
practice didn't give us anything and complicates the code alot. Nevertheless if device
distribution should be done there's probably a lot better ways to do it.

14 years agovdpau: fix GstBaseVideoDecoder returning wrong GstStateChangeReturn
Carl-Anton Ingmarsson [Tue, 27 Jul 2010 21:17:09 +0000 (23:17 +0200)]
vdpau: fix GstBaseVideoDecoder returning wrong GstStateChangeReturn

when gst_base_video_decoder_[start|stop] fails we now return
GST_STATE_CHANGE_FAILURE instead of returning what the parent class returns