Tim-Philipp Müller
3991742d77
gst-element-maker: add video pad template and use it in videofilter class
...
Would be nicer if one could just supplement the generic template
from the element template though.
Also, I would really have liked to just add those sections from the
pads template into the element templet directly (so I can cater for
src template caps == sink template caps), but that didn't seem to
work.
2012-03-17 16:05:20 +00:00
Tim-Philipp Müller
48398114e6
gst-element-maker: add {src,sink}pad-template, since many base classes create pads for us
...
And use them in the videofilter template.
2012-03-17 15:49:45 +00:00
Tim-Philipp Müller
e504dc3f6b
tools: add videofilter template for gst-element-maker
2012-03-17 15:16:29 +00:00
Tim-Philipp Müller
692bf9ba63
opencv: fix configure check and build with opencv 2.1
...
AC_CHECK_HEADERS() calls action-if-not-found also if just one of
the headers checked for is missing, which is not what we wanted.
Also, check for highgui_c.h instead of highgui.hpp.
https://bugzilla.gnome.org/show_bug.cgi?id=672226
2012-03-17 14:53:50 +00:00
Wim Taymans
bc38bc27b7
don't pass random pointers to pull_range
2012-03-16 21:47:39 +01:00
Stefan Sauer
486ddd38cf
facedetect: initialize some arbitrary variable that gcc-4.6 can track properly
...
The access to them is clearly guarded by the booleans though.
2012-03-16 17:07:46 +01:00
Stefan Sauer
99fb8e941a
opencv: cosmetic code changes
...
Check for the availability of the detectors in the processing function to avoid
setting up the ROIs. Use the booleans for have_xxx more.
2012-03-16 13:14:48 +01:00
Stefan Sauer
d4509a2fda
opencv: use opencv prefix from pkgconfig to lookup datafiles
...
Don't hardconde /usr to lookup datafiles (such as haar cascades).
2012-03-16 12:58:56 +01:00
Vincent Penquerc'h
9ebacafc6a
rsndvdsrc: post a message with title number and durations
...
https://bugzilla.gnome.org/show_bug.cgi?id=672165
2012-03-16 11:27:17 +00:00
Stefan Sauer
f8cf7bf973
faceoverlay: remove blank line in gtk-doc comment
2012-03-16 12:10:10 +01:00
Stefan Sauer
2311a0ac0e
facedetect: skip detection for unavailable detectors
2012-03-16 12:04:11 +01:00
Stefan Sauer
6fde848ada
facedetect: move the detector to an own method to hide the ugly ifdefs
...
This improves the readability in the actual processing function.
2012-03-15 23:17:55 +01:00
Stefan Sauer
fbcee587f4
facedetect: always send facedetect message
...
The application might like to know, when we don't see the face anymore.
2012-03-15 23:08:40 +01:00
Stefan Sauer
288c6fa26c
faceoverlay: code cleanups
...
Use glib types and simply expressions in the message handler.
2012-03-15 22:58:11 +01:00
Stefan Sauer
a31a698943
faceoverlay: don't access message fields directly
2012-03-15 22:49:51 +01:00
Stefan Sauer
3d7c8aad70
facedetect: don't skip faces
...
Skipping faces at this point makes us lie about the num-ber of faces and also
causes leaks.
2012-03-15 22:34:45 +01:00
Wim Taymans
ed82d408b1
update for bufferpool changes
2012-03-15 22:11:32 +01:00
Wim Taymans
583f5d1dc7
update for allocation query changes
2012-03-15 20:38:27 +01:00
Tim-Philipp Müller
e6c9b60851
rsvgoverlay: cosmetic change
...
Rename PROP_FILENAME to PROP_LOCATION to match the name of
the property. Add some debug logging.
2012-03-15 18:28:01 +00:00
Tim-Philipp Müller
3f07ebcc37
faceoverlay: clear overlay if the face disappears
2012-03-15 18:26:24 +00:00
Tim-Philipp Müller
36a6a13f1c
faceoverlay: add some locking for properties, free previous location when it changes
2012-03-15 18:21:37 +00:00
Tim-Philipp Müller
3bbb0387c4
faceoverlay: don't make rsvgoverlay reload the SVG for every single frame
...
Only set location on rsvgoverlay if it has changed.
2012-03-15 18:08:09 +00:00
Tim-Philipp Müller
549447d288
faceoverlay: move face handling into own function and handle 0 face count
...
When a face disappears, we seem to get a message from facedetect with
a face count of 0, which we want to just ignore instead of trying to
access face #-1, which causes nasty warnings.
2012-03-15 17:47:58 +00:00
Tim-Philipp Müller
55b0f1e601
faceoverlay: fix pad templates
...
Use generic and unspecififed rgb/caps for now. The exact caps
supported depend on the facedetect element and rsvgoverlay. It's
not clear how this worked before, since facedetect only accepts
24-bit RGB, but the caps advertised 32-bit ARGB/BGRA. In any case,
we don't want to force anything really, so that if any of those
elements acquires support for additional formats we pick those up
automatically.
2012-03-15 17:42:56 +00:00
Tim-Philipp Müller
e1e827d364
rsvgoverlay: fix crash due to double adapter unref
2012-03-15 17:26:14 +00:00
Tim-Philipp Müller
d405ea2e63
faceoverlay: fix weird pad creation code
...
The element would create normal pads in its instance_init function,
and then later in NULL->READY create the elements it needs, remove
the pads created in the instance_init function, and add new ghost
pads instead. Not without saving the external peer pads of the old
pads of course, which it would promptly re-link to the new ghost
pads. Do all of that a bit differently.
Fixes the generic/states.check unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=670588
2012-03-15 16:52:44 +00:00
Tim-Philipp Müller
fead44ad12
faceoverlay: minor cosmetic changes
...
Remove template maker comments, use our defines for
package name and origin.
2012-03-15 15:48:53 +00:00
Wim Taymans
76460a0d7a
update for bufferpool api change
2012-03-15 14:08:29 +01:00
Wim Taymans
6cbb840385
update for memory api changes
2012-03-15 13:37:36 +01:00
Tim-Philipp Müller
25cc93139d
.gitignore: ignore more test binaries and stamp files
2012-03-15 00:13:40 +00:00
Tim-Philipp Müller
61ca28696f
opencv: make build with opencv 2.3.1 as in debian sid
...
Where highgui.h doesn't exist any more, but only opencv2/highgui/highgui.hpp.
Also, not quite sure why we're checking for cvaux.h, it's not used anywhere.
2012-03-15 00:05:41 +00:00
Wim Taymans
9f700cc3c4
take padding into account
2012-03-14 19:56:59 +01:00
Mark Nauwelaerts
0a8a8aac52
mpeg2enc: also clear initialized mutex and cond
2012-03-14 17:48:40 +01:00
Mark Nauwelaerts
cb6b590b0c
flite: adjust to some modified caps related API changes
2012-03-14 11:20:18 +01:00
Dmitry Ketov
25d92711bc
winscreencap: Integrate into autotools build system
...
Fixes bug #672031 .
2012-03-14 10:25:05 +01:00
Tim-Philipp Müller
7f70d42837
inter: fix warnings when gst-inspecting interaudio{src,sink}
...
The channel property isn't implemented, so don't register it.
2012-03-13 20:59:00 +00:00
Sreerenj Balachandran
689bf4d392
waylandsink: Fix warnings, proper structuring, dead code removal, adding doc section.
2012-03-13 14:44:00 +01:00
Sreerenj Balachandran
5bbdeb321c
configure.ac: move spc plugin to NON_PORTED list(Fix build error)
2012-03-13 12:31:16 +01:00
Wim Taymans
3fae1ff05d
use gst_caps_merge instead of gst_caps_union
2012-03-13 09:54:14 +01:00
Oleksij Rempel (Alexey Fisher)
4e7edb2778
geometrictransform: make sure gt->map not freed twice
...
current cheese can create situation where gt->map is freed twice.
This patch set map to null to avoid it.
https://bugzilla.gnome.org/show_bug.cgi?id=671910
2012-03-12 23:56:50 +00:00
Wim Taymans
2d9756c703
opusdec: fix for caps api change
2012-03-12 17:06:11 +01:00
Sreerenj Balachandran
3c75d72857
configure.ac: bump GLib requirement to 2.31.14
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=671911
2012-03-12 16:12:15 +01:00
Gil Pedersen
fd92f8d6a2
hlsdemux: add floating point segment duration support
2012-03-12 15:30:35 +01:00
Wim Taymans
c3c985cfe1
fix for caps _normalize changes
2012-03-12 12:23:34 +01:00
Wim Taymans
12cba7c984
tests: fix for caps API change
2012-03-12 11:40:20 +01:00
Wim Taymans
4de592aa14
fix for _do_simplify changes
2012-03-12 10:44:22 +01:00
Wim Taymans
77299ba6ae
fix for caps api changes
2012-03-11 19:06:59 +01:00
Thibault Saunier
1188120eba
Fix an unwanted double negation from last commit
2012-03-10 20:55:25 -03:00
Thibault Saunier
20669d461a
Fix 'ignoring return value of function declared with const attribute'
...
This always happens with GstByteReader/Writer and friends when
not taking into account returned boolean of the _read/_write functions
(which is actually wrong).
Make use of the *_unchecked variant as much as possible, or take the
returned value into account.
2012-03-10 19:22:07 -03:00
Mark Nauwelaerts
a7eda9ed49
dtsdec: avoid runaway loop when resyncing during parse
...
... by checking for the correct (decremented) size variable.
Fixes #671756 .
2012-03-10 11:37:13 +01:00