Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
c22b7e0e
Commit
c22b7e0e
authored
Oct 30, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Video Filter: use rgb to define colors
parent
5e56eb1f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
modules/video_filter/colorthres.c
modules/video_filter/colorthres.c
+1
-1
modules/video_filter/marq.c
modules/video_filter/marq.c
+1
-1
modules/video_filter/rss.c
modules/video_filter/rss.c
+1
-1
No files found.
modules/video_filter/colorthres.c
View file @
c22b7e0e
...
...
@@ -72,7 +72,7 @@ vlc_module_begin ()
set_category
(
CAT_VIDEO
)
set_subcategory
(
SUBCAT_VIDEO_VFILTER
)
set_capability
(
"video filter2"
,
0
)
add_
integer
(
CFG_PREFIX
"color"
,
0x00FF0000
,
COLOR_TEXT
,
add_
rgb
(
CFG_PREFIX
"color"
,
0x00FF0000
,
COLOR_TEXT
,
COLOR_LONGTEXT
,
false
)
change_integer_list
(
pi_color_values
,
ppsz_color_descriptions
)
add_integer
(
CFG_PREFIX
"saturationthres"
,
20
,
...
...
modules/video_filter/marq.c
View file @
c22b7e0e
...
...
@@ -164,7 +164,7 @@ vlc_module_begin ()
/* 5 sets the default to top [1] left [4] */
add_integer_with_range
(
CFG_PREFIX
"opacity"
,
255
,
0
,
255
,
OPACITY_TEXT
,
OPACITY_LONGTEXT
,
false
)
add_
integer
(
CFG_PREFIX
"color"
,
0xFFFFFF
,
COLOR_TEXT
,
COLOR_LONGTEXT
,
add_
rgb
(
CFG_PREFIX
"color"
,
0xFFFFFF
,
COLOR_TEXT
,
COLOR_LONGTEXT
,
false
)
change_integer_list
(
pi_color_values
,
ppsz_color_descriptions
)
add_integer
(
CFG_PREFIX
"size"
,
-
1
,
SIZE_TEXT
,
SIZE_LONGTEXT
,
...
...
modules/video_filter/rss.c
View file @
c22b7e0e
...
...
@@ -207,7 +207,7 @@ vlc_module_begin ()
/* 5 sets the default to top [1] left [4] */
add_integer_with_range
(
CFG_PREFIX
"opacity"
,
255
,
0
,
255
,
OPACITY_TEXT
,
OPACITY_LONGTEXT
,
false
)
add_
integer
(
CFG_PREFIX
"color"
,
0xFFFFFF
,
COLOR_TEXT
,
COLOR_LONGTEXT
,
add_
rgb
(
CFG_PREFIX
"color"
,
0xFFFFFF
,
COLOR_TEXT
,
COLOR_LONGTEXT
,
false
)
change_integer_list
(
pi_color_values
,
ppsz_color_descriptions
)
add_integer
(
CFG_PREFIX
"size"
,
-
1
,
SIZE_TEXT
,
SIZE_LONGTEXT
,
false
)
...
...
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