Commit graph

13 commits

Author SHA1 Message Date
Vincent Penquerc'h
e323efc353 rsvgdec: use input buffer timings if possible
SVG data may come through multiple buffers, so keep track of the
timestamp of the first buffer, and use it in preference.

https://bugzilla.gnome.org/show_bug.cgi?id=628284
2011-08-23 10:21:04 +02:00
Olivier Aubert
5ac1c96e84 rsvgoverlay: allow negative values for x/y/width/height 2011-02-18 14:43:08 +02:00
Stefan Kost
07f797bf39 rsvgdec: add basic doc-blob 2011-02-14 11:49:10 +02:00
Olivier Aubert
a96fb3b472 rsvgoverlay: implement x/y/width/height (absolute and relative) positioning and dimensioning
Signed-off-by: Olivier Aubert <olivier.aubert@liris.cnrs.fr>
2011-02-14 11:49:09 +02:00
Thiago Santos
a875342c54 rsvgoverlay: Do not segfault on unexistent files
When passing an unexistent file to rsvgoverlay it would
crash because the svg loading would fail without setting
an error.

This patch makes it check if the handle was actually created
and logs an error in case it didn't. Maybe it should post an
error to the bus, but the previous error handling didn't, so
I just followed the same logic.
2011-01-24 23:51:53 -03:00
Edward Hervey
a7baa891a9 rsvgoverlay: Don't set uint on an int property 2010-12-15 16:48:15 +01:00
Olivier Aubert
c86b12ac95 rsvgoverlay: scalable and relative svg overlay with cairo
Add a cairo+librsvg based overlay element to the rsvg plugin.
2010-11-22 17:08:06 +02:00
Stefan Kost
fedcff79d7 rsvgdec: avoid reffing the element in chain 2010-11-08 16:02:07 +02:00
Stefan Kost
9ddeba2407 rsvgdec: add some minimal logging to track what it is doing 2010-11-08 16:02:07 +02:00
David Hoyt
beeb8fa8ec rsvgdec: fix compilation with MSVC
MSVC doesn't like #if #else within statements.

Fixes #609215.
2010-02-07 11:17:20 +01:00
Sebastian Dröge
f760ad2dfc rsvg: Unpremultiply Cairo's ARGB to match GStreamer's 2009-10-01 10:54:15 +02:00
Tim-Philipp Müller
10d67eda7a GstAdapter is not a GstObject and should be freed with g_object_unref() 2009-08-31 13:14:02 +01:00
Sebastian Dröge
de1f057725 rsvg: Add RSVG SVG decoder plugin
This supports
  - decoding single SVG images and a stream of SVG images with a given framerate
  - lossless scaling of SVG images
  - ARGB output
2009-08-31 09:13:53 +02:00