Commit graph

2132 commits

Author SHA1 Message Date
Tim-Philipp Müller
56c2cc0f83 curl: add configure check and hook up to build system 2011-02-28 23:56:38 +00:00
Patricia Muscalu
16b79f6f2d curl: add libcurl-based sink element
Sink acts as a client and can connect to servers to
upload media.

https://bugzilla.gnome.org/show_bug.cgi?id=641496
2011-02-28 23:55:33 +00:00
Tim-Philipp Müller
b2be3e2f1a jp2kdec: post proper error when the image's colour space is not supported
https://bugzilla.gnome.org/show_bug.cgi?id=643115
2011-02-28 23:54:32 +00:00
Vincent Penquerc'h
c696b54fa7 xviddec: bodge to avoid crashes
It seems xvidcore overreads its input buffer, so a nasty workaround
is to allocate some more memory (16 bytes seem to be enough).
There is no apparent image corruption with these extra bytes set to 0,
valgrind is much happier, and the crashes go away.
It is ugly, and slower though. But then, xviddec is currently
not autoplugged for playback anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=334107
2011-02-21 00:16:33 +00:00
David Schleef
5b90c31ca2 basevideocodec: remove parser in favor of baseparse 2011-02-20 12:16:08 -08:00
Olivier Aubert
5ac1c96e84 rsvgoverlay: allow negative values for x/y/width/height 2011-02-18 14:43:08 +02:00
Mark Nauwelaerts
a887fc157e faac: remove extraneous buffer unref 2011-02-17 13:00:21 +01: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
Alexey Fisher
2b4c854146 vp8enc: Add description for bitrate units. 2011-02-04 00:24:04 -08:00
Tim-Philipp Müller
5d754e549a jp2kdec, jp2kenc: add support v308 (4:4:4 YUV)
Because we can.
2011-01-27 14:45:30 +00: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
Vincent Penquerc'h
0b790b663c kate: ensure the kate pad does not shoot ahead of the video pad
Sync both pads by waiting in the kate chain function.
Do not reset our internal segment from segment updates, in order
to be able to map video running time to kate running time, to
give libtiger the timestamp it expects. This allows us to use
running time to sync to video, which is The Right Way.

https://bugzilla.gnome.org/show_bug.cgi?id=600929
2011-01-14 00:28:41 +00:00
Tim-Philipp Müller
b9af27719d cog, schroedinger: fix warnings when compiling with -DG_DISABLE_ASSERT 2011-01-08 03:12:11 +00:00
Tim-Philipp Müller
62c289f71d 0.10.20.2 pre-release 2011-01-08 03:10:00 +00:00
Tim-Philipp Müller
3145eac577 directfb: don't put code with side-effects into g_assert()
It will all be turned into a NOOP if -DG_DISABLE_ASSERT is used
(as it is for pre-releases and releases).
2011-01-08 00:01:01 +00:00
Tim-Philipp Müller
1498cbcc2d xvidenc: don't put code with side effects into g_return_val_if_fail()
And don't use g_return*_if_fail() for error handling in elements.
2011-01-07 23:57:21 +00:00
Vincent Penquerc'h
73923c4a6e tiger: outline text by default, to make it easier to read
https://bugzilla.gnome.org/show_bug.cgi?id=638527
2011-01-02 19:44:22 +00:00
Tim-Philipp Müller
a197901b82 jack: move plugin to gst-plugins-good
https://bugzilla.gnome.org/show_bug.cgi?id=621929
2011-01-02 15:11:52 +00:00
Tim-Philipp Müller
992c05f840 kate: fix caps and string leaks and some minor clean-ups
Don't leak source caps. Use GST_PTR_FORMAT to log caps, so
we don't need to leak strings from gst_caps_to_string().
No need to use GST_DEBUG_FUNCPTR for vfuncs where the base
class will never look them up (like property getters/setters).
Don't use g_return_*_if_fail() for things that aren't directly
programming errors (by the application developer).

Fixes kate unit test under valgrind.
2011-01-02 13:57:58 +00:00
Vincent Penquerc'h
4b56970d58 kate: reenable the sending of a message for tags
https://bugzilla.gnome.org/show_bug.cgi?id=638412
2011-01-02 13:34:53 +00:00
David Schleef
272086b121 cog: Use math-compat.h 2010-12-30 19:25:46 -08:00
Vincent Penquerc'h
857e3dda46 tiger: fallback on headers in caps to initialize if headers are absent
When Totem switches streams, tiger will be reset, and start receiving
buffers from the middle of the stream, without being sent headers.
If this happens, try to get headers from the caps.

https://bugzilla.gnome.org/show_bug.cgi?id=638004
2010-12-26 21:47:53 +00:00
Vincent Penquerc'h
74d82c4c1e kate: if seeking with GST_SEEK_TYPE_CUR, flush everything
We don't know how to calculate the target, so be safe.

https://bugzilla.gnome.org/show_bug.cgi?id=600929
2010-12-25 17:21:41 +00:00
Tim-Philipp Müller
5dac64b20a tiger: move #if #else bits outside of macro
Some compilers/preprocessors don't like if/else/endif preprocessor
directives in the middle of macros.
2010-12-25 16:44:03 +00:00
Vincent Penquerc'h
2a2c76cdbd tiger: Give tiger primary rank 2010-12-25 17:00:22 +01:00
Vincent Penquerc'h
8574e8f991 kate: add segment tracking, and various other improvements
https://bugzilla.gnome.org/show_bug.cgi?id=600929
2010-12-25 16:59:22 +01:00
Edward Hervey
a7baa891a9 rsvgoverlay: Don't set uint on an int property 2010-12-15 16:48:15 +01:00
Jan Schmidt
7e3472d772 resindvd: Defer pushing tag updates until streaming.
Push tag/title info updates in the streaming thread, avoiding
spurious losses of the downstream events when flushing.

See: https://bugzilla.gnome.org/show_bug.cgi?id=594222
2010-12-12 02:21:53 +11:00
Jan Schmidt
4810fa4c51 resindvd: Attempt to use glib language setting for DVD menus/audio 2010-12-12 02:21:53 +11:00
Jan Schmidt
c12fc9edda resindvd: Fix silly typo in button state tracking. 2010-12-12 02:21:53 +11:00
Wim Taymans
0c36c70f63 jasperdec: don't fail hard on decoding error
don't post an error and return GST_FLOW_ERROR on a simple decoding error. We can
just resume and continue decoding the next image.
2010-12-09 18:09:18 +01:00
David Schleef
159e2768d6 Fix pad template memleaks
Pad templates returned by gst_static_pad_template_get() were not
being unreffed.
2010-11-30 18:54:46 -08:00
David Schleef
4eee2dc95d vp8enc: Readd setting of granulepos
Revert parts of last patch that removed setting of granulepos.
oggmux still requires correct granulepos in incoming packet.
2010-11-30 18:43:24 -08:00
David Schleef
01574dc012 vp8enc: Don't override timestamps set by base class
Because the base class does it correctly.
Fixes: #635720, #625558.
2010-11-30 18:34:34 -08:00
Sebastian Dröge
7593d092df jp2kenc: Emit SOP markers in every codestream packet
This makes parsing much easier, faster and more reliable.
2010-11-30 12:07:49 +01:00
David Schleef
cb3bac56bf schroenc: minor memleak fix 2010-11-27 19:09:51 -08:00
Edward Hervey
7a88aca460 vp8: Remove dead assignments 2010-11-25 18:52:47 +01:00
Edward Hervey
1bdf82db77 sdlaudiosink: Remove dead assignments 2010-11-25 18:49:23 +01:00
Edward Hervey
52239c16af schroedinger: Remove dead assignments 2010-11-25 18:47:15 +01:00
Edward Hervey
c9aa47505a mimenc: Remove dead assignment 2010-11-25 18:43:30 +01:00
Edward Hervey
818d03ceec cogdownsample: Remove dead assignment 2010-11-25 18:43:18 +01:00
Edward Hervey
4067ef886d opencv: Remove dead assignments
... and fix indentation
2010-11-25 18:43:05 +01:00
Edward Hervey
3d3b46db39 cogcolorspace: Remove dead assignment 2010-11-25 18:33:37 +01:00
Edward Hervey
9ede66840f cogframe: Remove dead assignments 2010-11-25 18:30:56 +01:00
Edward Hervey
b8c0b33536 celtenc: Initialize variable
In the case the tag_setter returns something, empty_tags would be
garbage value.
2010-11-25 18:29:31 +01:00
Edward Hervey
28e000d18e celtenc: Remove dead assignment 2010-11-25 18:29:22 +01:00
Edward Hervey
6158953f58 assrender: Remove dead assignments 2010-11-25 18:26:21 +01:00
Josh Doe
6e43f75df3 opencv: fix caps issues and extend supported caps for some elements
Some elements had vague caps, such as "video/x-raw-rgb", which caused problems
at least with textwrite. For other elements, the underlying OpenCV functions
support more than just one image type, so I increased the number of supported
caps.

I created a utility function "gst_opencv_caps_from_cv_image_type", so each
element creates caps directly from OpenCV image types, such as CV_8UC1 for
8-bit grayscale. This function uses gstvideo to create uniform caps.

https://bugzilla.gnome.org/show_bug.cgi?id=635304
2010-11-22 22:25:18 -03: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
Mart Raudsepp
c364f2b46b assrender: Remove unused src_stride variable from blit functions 2010-11-09 23:36:59 +00: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
Tim-Philipp Müller
2363d97da1 zbar: handle more formats that start with an 8-bit Y plane
We can handle most planar YUV layouts too, as long as we don't
tell zbar about the chroma planes.
2010-11-02 17:46:11 +00:00
Tim-Philipp Müller
7ddd7f7809 zbar: use correct stride
Fixes detection for images with a width that's not a multiple of four.

Based on patch by: Kaj-Michael Lang <milang@tal.org>
Based on patch by: Stefan Kost <ensonic@users.sf.net>

https://bugzilla.gnome.org/show_bug.cgi?id=630830
2010-11-02 17:23:12 +00:00
Tim-Philipp Müller
a97ece29cc zbar: minor clean-up
Fix typo and use DEFAULT_FOO define for property default.
2010-11-02 16:36:05 +00:00
Tim-Philipp Müller
2122c1eb9a zbar: disable cache by default
Since it breaks still image bar code detection.
2010-11-02 16:32:55 +00:00
Tim-Philipp Müller
c627604ea9 cog, colorspace: update orc backup functions for latest changes
Should fix build on systems without the latest orc.
2010-11-01 15:54:18 +00:00
Stefan Kost
0387a89cad various (ext): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
2010-10-19 17:13:26 +03:00
Stefan Kost
92634ff92a various: wrap property registration and add a single fixme for long desc. 2010-10-19 15:36:18 +03:00
David Schleef
fe50055715 basevideo: Move common fields/functions to basecodec 2010-10-15 16:30:57 -07:00
Kaj-Michael Lang
18c3302608 zbar: Make scanner cache optional 2010-10-14 23:51:01 +03:00
Mark Nauwelaerts
8a6c490962 faad: reflow opening and closing decoder
In particular, this reconfigures quite forcefully when renegotiation is needed.

Fixes #631501.
2010-10-14 11:27:17 +02:00
Mark Nauwelaerts
7499f2b09b faad: cater for renegotiation
At least, whenever either stream (e.g. ADTS) or upstream provides necessary
info for doing so.

Fixes #631501.
2010-10-12 18:19:54 +02:00
Mark Nauwelaerts
bc6549a108 faac: handle trailing encoder output 2010-10-11 17:13:10 +02:00
Sebastian Dröge
d7d28ea4db switchsrc: Set the GST_ELEMENT_IS_SOURCE flag 2010-10-11 14:26:59 +02:00
Tim-Philipp Müller
a3f9fab72f alsaspdif: remove alsaspdifsink element
Remove alsaspdifsink, it's not needed any longer. alsasink in -base
has been able to handle SPDIF for a while now.
2010-10-05 11:42:42 +01:00
Mark Nauwelaerts
de97a994ba faad: reverse playback; cater for decoder delay
... thereby actually using the gather and decode queues.
2010-09-29 11:30:06 +02:00
Mark Nauwelaerts
636d1caf0d faad: tweak output buffer timestamping
In particular, avoid packetised input leading to initial to non-0 output ts.
2010-09-29 11:30:00 +02:00
Tim-Philipp Müller
887fc8e6e7 resindvdsrc: improve error messages on read erros
Provide i18n-ed error messages when a read error happens,
and point out that the error could be happening because the
DVD is scrambled.

https://bugzilla.gnome.org/show_bug.cgi?id=613633
2010-09-26 20:43:43 +01:00
Sebastian Dröge
1d189c9e75 ofa: Call g_object_notify() after the fingerprint was created 2010-09-25 12:33:58 +02:00
David Schleef
09ed8e87e7 schrodec: Fix class definition
Class structures should include parent class, not the parent
instance structure.
2010-09-22 11:58:55 -07:00
Edward Hervey
9db0d94364 sdlvideosink: Fix function prototype for touchy compilers 2010-09-21 18:45:03 +02:00
Edward Hervey
a96c0ab9fe sdl: Port to new XOverlay API
Fixes #630253
2010-09-21 16:31:57 +02:00
Sebastian Dröge
4376506183 spc: Don't use GST_FLOW_IS_FATAL() 2010-09-21 12:27:56 +02:00
Sebastian Dröge
160b5ee560 mplex: Don't use GST_FLOW_IS_SUCCESS() 2010-09-21 12:27:20 +02:00
Sebastian Dröge
2aea590153 timidity: Don't post an error message on the bus for UNEXPECTED
Also don't use GST_FLOW_IS_FATAL()
2010-09-21 12:26:36 +02:00
Sebastian Dröge
e0694abd0a wildmidi: Don't use GST_FLOW_IS_FATAL() 2010-09-21 12:26:36 +02:00
Sebastian Dröge
e618365a19 gme: Post an error message on the bus for fatal errors
Also don't use GST_FLOW_IS_FATAL().
2010-09-21 12:26:36 +02:00
Sebastian Dröge
2137ae524d sfsink: Don't use GST_FLOW_IS_FATAL() 2010-09-21 12:26:36 +02:00
David Schleef
62a9383527 basevideodecoder: add capture pattern handling
Move typical scan_for_sync() usage into base class, which just
calls gst_adapter_masked_scan_uint32().
2010-09-18 19:27:07 -07:00
David Schleef
7cd2e0dd3e basevideo: Move deadline to frame structure 2010-09-18 19:27:07 -07:00
Sebastian Dröge
c28c480eb9 cog: Allow compilation without orc
Also don't ignore --disable-orc. Fixes bug #629897.
2010-09-17 08:43:48 +02:00
Stefan Kost
bc1c9ac18e metadata: remove metadata plugin
This plugins functionality is replaced by utility libraries in base for exif
and xmp. Jpeg images can use this via jpegformat plugin.
Fixes #486659
2010-09-15 18:22:51 +03:00
Tristan Matthews
0f9a31880a jack: added translatable text for server not found error 2010-09-14 17:40:27 +03:00
Olivier Crête
3cb4a7aefd celtenc: Change bitrate to bits/sec 2010-09-13 17:22:40 -04:00
Tim-Philipp Müller
960ccc118f opencv: define CV_NO_BACKWARD_COMPATIBILITY to suppress warnings caused by compat header
Compile with -DCV_NO_BACKWARD_COMPATIBILITY for now, so that the compat header
doesn't get included, which causes compiler warnings that (it seems) can't be
switched off easily. As a result, we also specify a max. version in configure,
so the build doesn't break if our code doesn't compile against newer opencv
versions any more with that flag.
2010-09-09 15:29:31 +01:00
Tim-Philipp Müller
41b9b76fa5 opencv: avoid 'unused' compiler warnings with inline functions in opencv headers
Override CV_INLINE to avoid 'unused' gcc warnings. GLib will take care of defining
'inline' sufficiently and OpenCV's define isn't good enough to avoid 'unused'
compiler warnings (at least in version 2.1.0).
2010-09-09 15:29:31 +01:00
Tim-Philipp Müller
e2b45f5155 opencv: update plugin source package name and origin 2010-09-09 15:29:31 +01:00
Thiago Santos
19ba4c8d19 facedetect: Add more parameters
Expose the parameters of cvHaarDetectObjects in facedetect
element.
2010-09-08 23:59:38 -03:00
Thiago Santos
27fedbb352 opencv: Refactor files structure
Remove internal folders and put all code inside the main plugin
folder. Also fixes some building warnings.
2010-09-08 17:15:51 -03:00
Thiago Santos
cf86df2d00 opencv: Adds new plugin opencv
Moves opencv plugin from http://github.com/Elleo/gst-opencv
into -bad module.
2010-09-08 17:15:51 -03:00
Thiago Santos
0c61434945 facedetect: Post an useful message
Add a message to be post when faces are found on a frame that
contains all faces on a single message and also has
timestamp/running/segment times for that buffer so it
can be identified.

This message is called 'facedetect' and has a 'faces' list
of structures with all faces.

The old 'face' message is still posted for each face found, but
it is not really useful as it doesn't have any reference to the
buffer that generated it.
2010-09-08 17:15:51 -03:00
Thiago Santos
77fe3e6a07 facedetect: Use GstOpencvVideoFilter as the base class
Port facedetect to use GstOpencvVideoFilter as the base class
to inherit all the goodness that GstBaseTransform/GstVideoFilter
already handles.
2010-09-08 17:15:51 -03:00
Thiago Santos
dcb97354bf opencvbasetrans: Use GstVideoFilter as the base class
Port from GstBaseTransform to GstVideoFilter as the base class.
2010-09-08 17:15:50 -03:00
Thiago Santos
4c03c980ce cvlaplace: adds new cvlaplace element
Adds new cvlaplace element.

Also adds a new opencvbasetransform function to be overriden
by children classes: the cv_set_caps, it allows children classes
to know what are they going to handle and prepare properly.
2010-09-08 17:15:50 -03:00
Thiago Santos
e17b555efd Adds new element cvsobel 2010-09-08 17:15:50 -03:00
Thiago Santos
8f5b32f764 Adds new element cvequalizehist 2010-09-08 17:15:50 -03:00
Thiago Santos
f38911209d Adds new elements cvdilate and cverode
Adds 2 similar elements (so similar they have their own baseclass),
cvdilate and cverode.
2010-09-08 17:15:50 -03:00
Thiago Santos
128091a1cc cvsmooth: Improve parameters docs 2010-09-08 17:15:50 -03:00