diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-06-01 14:36:04 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-06-01 14:36:04 +0000 |
commit | 8540f4748564d524a7194f3b35336016c8bcad6a (patch) | |
tree | a69c71df4276a0b0010a5a34f60f5225fdaa3008 /gst/videosignal/gstvideosignal.c | |
parent | 54cadb7e0f43e2f2c9dc7e52b69a743162905bdf (diff) | |
download | gst-plugins-bad-8540f4748564d524a7194f3b35336016c8bcad6a.tar.gz gst-plugins-bad-8540f4748564d524a7194f3b35336016c8bcad6a.tar.bz2 gst-plugins-bad-8540f4748564d524a7194f3b35336016c8bcad6a.zip |
Add plugin to generate a pattern detectable by videodetect.
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/inspect/plugin-videosignal.xml:
* gst/videosignal/Makefile.am:
* gst/videosignal/gstvideomark.c: (gst_video_mark_set_caps),
(gst_video_mark_draw_box), (gst_video_mark_420),
(gst_video_mark_transform_ip), (gst_video_mark_set_property),
(gst_video_mark_get_property), (gst_video_mark_base_init),
(gst_video_mark_class_init), (gst_video_mark_init),
(gst_video_mark_get_type):
* gst/videosignal/gstvideomark.h:
* gst/videosignal/gstvideosignal.c: (plugin_init):
Add plugin to generate a pattern detectable by videodetect.
Diffstat (limited to 'gst/videosignal/gstvideosignal.c')
-rw-r--r-- | gst/videosignal/gstvideosignal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/videosignal/gstvideosignal.c b/gst/videosignal/gstvideosignal.c index 55b81cc2..e34bda0b 100644 --- a/gst/videosignal/gstvideosignal.c +++ b/gst/videosignal/gstvideosignal.c @@ -23,6 +23,7 @@ #include "gstvideoanalyse.h" #include "gstvideodetect.h" +#include "gstvideomark.h" static gboolean plugin_init (GstPlugin * plugin) @@ -35,6 +36,9 @@ plugin_init (GstPlugin * plugin) res &= gst_element_register (plugin, "videodetect", GST_RANK_NONE, GST_TYPE_VIDEO_DETECT); + res &= gst_element_register (plugin, "videomark", GST_RANK_NONE, + GST_TYPE_VIDEO_MARK); + return res; } |