Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
ac8e87bb
Commit
ac8e87bb
authored
Jun 21, 2010
by
Stefan Kost
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2sink: use glib defines in property declarations for readability
parent
f9fe85db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
sys/v4l2/gstv4l2sink.c
sys/v4l2/gstv4l2sink.c
+4
-6
No files found.
sys/v4l2/gstv4l2sink.c
View file @
ac8e87bb
...
...
@@ -232,21 +232,19 @@ gst_v4l2sink_class_init (GstV4l2SinkClass * klass)
g_object_class_install_property
(
gobject_class
,
PROP_OVERLAY_TOP
,
g_param_spec_int
(
"overlay-top"
,
"Overlay top"
,
"The topmost (y) coordinate of the video overlay; top left corner of screen is 0,0"
,
0x80000000
,
0x7fffffff
,
0
,
G_PARAM_READWRITE
|
G_PARAM_STATIC_STRINGS
));
G_MININT
,
G_MAXINT
,
0
,
G_PARAM_READWRITE
|
G_PARAM_STATIC_STRINGS
));
g_object_class_install_property
(
gobject_class
,
PROP_OVERLAY_LEFT
,
g_param_spec_int
(
"overlay-left"
,
"Overlay left"
,
"The leftmost (x) coordinate of the video overlay; top left corner of screen is 0,0"
,
0x80000000
,
0x7fffffff
,
0
,
G_PARAM_READWRITE
|
G_PARAM_STATIC_STRINGS
));
G_MININT
,
G_MAXINT
,
0
,
G_PARAM_READWRITE
|
G_PARAM_STATIC_STRINGS
));
g_object_class_install_property
(
gobject_class
,
PROP_OVERLAY_WIDTH
,
g_param_spec_uint
(
"overlay-width"
,
"Overlay width"
,
"The width of the video overlay; default is equal to negotiated image width"
,
0
,
0xffffffff
,
0
,
G_PARAM_READWRITE
|
G_PARAM_STATIC_STRINGS
));
0
,
G_MAXUINT
,
0
,
G_PARAM_READWRITE
|
G_PARAM_STATIC_STRINGS
));
g_object_class_install_property
(
gobject_class
,
PROP_OVERLAY_HEIGHT
,
g_param_spec_uint
(
"overlay-height"
,
"Overlay height"
,
"The height of the video overlay; default is equal to negotiated image height"
,
0
,
0xffffffff
,
0
,
G_PARAM_READWRITE
|
G_PARAM_STATIC_STRINGS
));
0
,
G_MAXUINT
,
0
,
G_PARAM_READWRITE
|
G_PARAM_STATIC_STRINGS
));
basesink_class
->
get_caps
=
GST_DEBUG_FUNCPTR
(
gst_v4l2sink_get_caps
);
basesink_class
->
set_caps
=
GST_DEBUG_FUNCPTR
(
gst_v4l2sink_set_caps
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment