mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
Added the property for setting x and y co-ordinates
modified: ext/opencv/textwrite/gsttextwrite.c modified: ext/opencv/textwrite/gsttextwrite.h
This commit is contained in:
parent
d962551fb7
commit
ce5eb639cd
2 changed files with 1 additions and 1 deletions
|
@ -178,6 +178,7 @@ gst_textwrite_class_init (GsttextwriteClass * klass)
|
||||||
g_param_spec_int ("xpos", "horizontal position",
|
g_param_spec_int ("xpos", "horizontal position",
|
||||||
"Sets the Horizontal position", 0, G_MAXINT,
|
"Sets the Horizontal position", 0, G_MAXINT,
|
||||||
DEFAULT_PROP_XPOS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
DEFAULT_PROP_XPOS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_YPOS,
|
g_object_class_install_property (gobject_class, PROP_YPOS,
|
||||||
g_param_spec_int ("ypos", "vertical position",
|
g_param_spec_int ("ypos", "vertical position",
|
||||||
"Sets the Vertical position", 0, G_MAXINT,
|
"Sets the Vertical position", 0, G_MAXINT,
|
||||||
|
|
|
@ -47,7 +47,6 @@
|
||||||
#define __GST_textwrite_H__
|
#define __GST_textwrite_H__
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
//sreechage
|
|
||||||
#include <cv.h>
|
#include <cv.h>
|
||||||
#include <cvaux.h>
|
#include <cvaux.h>
|
||||||
#include <highgui.h>
|
#include <highgui.h>
|
||||||
|
|
Loading…
Reference in a new issue