gstreamer/ext
William Manley b608767288 templatematch: Allow changing template property on the fly
Previously changing the template property resulted in an exception
thrown from cvMatchTemplate, because "dist_image" (the intermediate
match-certainty-distribution) was the wrong size (because the
template image size had changed).

Locking has also been added to allow changing the properties (e.g. the
pattern to match) while the pipeline is playing.

 * gst_element_post_message is moved outside of the lock, because it will
   call into arbitrary user code (otherwise, if that user code calls into
   gst_templatematch_set_property on this same thread it would deadlock).

 * gst_template_match_load_template: If we fail to load the new template
   we still unload the previous template, so this element becomes a no-op
   in the pipeline. The alternative would be to keep the previous template;
   I believe unloading the previous template is a better choice, because it
   is consistent with the state this element would be in if it fails to
   load the very first template at start-up.

Thanks to Will Manley for the bulk of this work; any errors are probably
mine.
2014-07-28 14:18:01 -03:00
..
apexsink gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
assrender assrender: Make static caps actually static 2014-06-29 21:05:27 +02:00
audiofile gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
bz2 bz2: Initialize variables 2014-04-08 09:55:15 +02:00
chromaprint gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
curl curlsshsink: Include gst.h and other stuff before anything else 2014-07-11 21:16:26 +02:00
daala docs: remove outdated and pointless 'Last reviewed' lines from docs 2014-04-27 00:36:32 +01:00
dash dashdemux: Always use the redirect target to resolve relative URIs 2014-05-28 12:47:51 +02:00
dc1394 gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
directfb dfbvideosink: Fix unitialized variable compiler warning 2014-02-08 18:58:38 +01:00
dts dtsdec: fix buffer overflows 2014-04-08 12:41:16 +01:00
faac faac: fix faac API error checking 2014-04-10 17:55:21 +01:00
faad gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
flite flite: fix off by one in channel mask building 2014-04-08 17:35:37 +01:00
fluidsynth fluiddec: add more soundfont search paths 2014-02-10 14:34:40 +01:00
gl glimagesink: silence gsignal warning 2014-07-27 13:27:10 +10:00
gme gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
gsettings gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
gsm gsmdec: process all available input frames in one go 2013-12-12 23:34:27 +00:00
hls hlsdemux: Make statistics message more generic for other adaptive streaming demuxers to reuse 2014-07-21 09:37:51 +02:00
kate katedec: handle segment event earlier 2014-07-21 12:36:19 -03:00
ladspa ladspa: remove duplicate assignment 2014-04-09 18:16:52 +01:00
libfame gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
libmms gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
libvisual [838/906] gl: Use GL_TEXTURE_2D instead of GL_TEXTURE_RECTANGLE 2014-03-15 18:37:03 +01:00
lv2 gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
mimic mimdec: Print invalid fourcc in error message in hex 2014-07-04 17:48:14 +01:00
modplug modplug: don't hardcode c++ standard library 2014-06-22 21:51:21 +01:00
mpeg2enc mpeg2enc: increase max. allowed value for bitrate property 2014-06-01 10:47:17 +01:00
mpg123 mpg123: improved error report and checks 2014-02-04 17:30:13 +01:00
mplex gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
musepack gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
mythtv gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
nas gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
neon neonhttpsrc: add support for SCHEDULING query 2013-05-12 18:52:56 +01:00
ofa ofa: port to 1.0 2013-05-12 23:42:06 +01:00
openal openalsrc: Remove unused function to fix compiler warning 2014-02-27 21:45:34 +01:00
opencv templatematch: Allow changing template property on the fly 2014-07-28 14:18:01 -03:00
openexr openexrdec: Don't start scanning for the header from the start again each time 2014-01-18 13:56:28 +01:00
openjpeg openjpegdec: Use new gst_video_decoder_set_needs_format() API 2013-12-05 11:50:17 +01:00
openni2 openni2src: Fix unitialized variable compiler warning 2014-07-21 10:14:17 +02:00
opus opus: Fix a double-unref in the Opus header code 2014-07-11 09:05:32 +02:00
resindvd resindvd: avoid crashing in pathological case 2014-04-09 14:37:48 +01:00
rsvg rsvgdec: Unref handle and output state on error paths 2014-05-19 09:12:14 +02:00
rtmp rtmpsrc: Report limited bandwidth 2014-07-01 15:02:37 +02:00
sbc sbcenc: Allow user to set channel-mode 2014-03-12 09:06:33 +01:00
schroedinger schroenc: Remove obsolete FIXME comment 2014-06-29 23:33:20 +02:00
sdl gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
smoothstreaming mssdemux: Always use the redirect target to resolve relative URIs 2014-05-28 12:56:24 +02:00
snapshot gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
sndfile sndfile: send a toc for the segments in the audio file 2014-04-29 18:20:30 +02:00
sndio Use gst_element_class_set_static_metadata() 2012-10-17 17:46:34 +01:00
soundtouch soundtouch: Add missing break in switch 2014-04-08 11:23:50 +02:00
spandsp gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
spc gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
srtp gstsrtpenc: unref event when needed 2014-06-18 15:54:08 +02:00
teletextdec gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
timidity wildmidi: fix possible uninitialized variables 2014-04-03 11:54:41 +02:00
voaacenc gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
voamrwbenc gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
wayland waylandsink: Fix compiler warning 2014-06-21 16:57:18 +02:00
webp webpdec: Some cleanup and minor fixes 2013-08-26 10:22:06 +02:00
xvid gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
zbar gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
Makefile.am egl/eglglessink: remove since EGLImage and iOS support have been added in glimagesink 2014-04-15 18:29:53 +01:00