Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
89117b7a
Commit
89117b7a
authored
Mar 06, 2005
by
Mark Moriarty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable rc logo-file on the fly
parent
b20696d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
modules/control/rc.c
modules/control/rc.c
+11
-0
No files found.
modules/control/rc.c
View file @
89117b7a
...
...
@@ -419,6 +419,8 @@ static void Run( intf_thread_t *p_intf )
var_AddCallback
(
p_intf
,
"time-size"
,
Other
,
NULL
);
/* logo on the fly items */
var_Create
(
p_intf
,
"logo-file"
,
VLC_VAR_VOID
|
VLC_VAR_ISCOMMAND
);
var_AddCallback
(
p_intf
,
"logo-file"
,
Other
,
NULL
);
var_Create
(
p_intf
,
"logo-x"
,
VLC_VAR_INTEGER
|
VLC_VAR_ISCOMMAND
);
var_AddCallback
(
p_intf
,
"logo-x"
,
Other
,
NULL
);
var_Create
(
p_intf
,
"logo-y"
,
VLC_VAR_INTEGER
|
VLC_VAR_ISCOMMAND
);
...
...
@@ -736,6 +738,7 @@ static void Run( intf_thread_t *p_intf )
msg_rc
(
_
(
"| time-opacity # . . . . . . . . . . . . . opacity
\n
"
));
msg_rc
(
_
(
"| time-size # . . . . . . . . font size, in pixels
\n
"
));
msg_rc
(
"|
\n
"
);
msg_rc
(
_
(
"| logo-file STRING . . . the overlay file path/name
\n
"
));
msg_rc
(
_
(
"| logo-x X . . . . . . . . . . . .offset from left
\n
"
));
msg_rc
(
_
(
"| logo-y Y . . . . . . . . . . . . offset from top
\n
"
));
msg_rc
(
_
(
"| logo-position #. . . . . . . . relative position
\n
"
));
...
...
@@ -1232,6 +1235,14 @@ static int Other( vlc_object_t *p_this, char const *psz_cmd,
var_Set
(
p_inp
->
p_libvlc
,
"time-size"
,
val
);
}
}
else
if
(
!
strcmp
(
psz_cmd
,
"logo-file"
)
)
{
if
(
strlen
(
newval
.
psz_string
)
>
0
)
{
val
.
psz_string
=
newval
.
psz_string
;
var_Set
(
p_inp
->
p_libvlc
,
"logo-file"
,
val
);
}
}
else
if
(
!
strcmp
(
psz_cmd
,
"logo-x"
)
)
{
if
(
strlen
(
newval
.
psz_string
)
>
0
)
...
...
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