Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
34a265ac
Commit
34a265ac
authored
Nov 16, 2009
by
JP Dinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skins2: Use var_SetVariant() some more.
parent
da48f73f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
modules/gui/skins2/commands/cmd_dvd.cpp
modules/gui/skins2/commands/cmd_dvd.cpp
+1
-4
modules/gui/skins2/vars/time.cpp
modules/gui/skins2/vars/time.cpp
+1
-6
No files found.
modules/gui/skins2/commands/cmd_dvd.cpp
View file @
34a265ac
...
...
@@ -84,10 +84,7 @@ void CmdDvdRootMenu::execute()
if
(
p_input
)
{
vlc_value_t
val
;
val
.
i_int
=
2
;
var_Set
(
p_input
,
"title 0"
,
val
);
var_SetInteger
(
p_input
,
"title 0"
,
2
);
vlc_object_release
(
p_input
);
}
}
...
...
modules/gui/skins2/vars/time.cpp
View file @
34a265ac
...
...
@@ -32,12 +32,7 @@ void StreamTime::set( float percentage, bool updateVLC )
// Avoid looping forever...
if
(
updateVLC
&&
getIntf
()
->
p_sys
->
p_input
)
{
vlc_value_t
pos
;
pos
.
f_float
=
percentage
;
var_Set
(
getIntf
()
->
p_sys
->
p_input
,
"position"
,
pos
);
}
var_SetFloat
(
getIntf
()
->
p_sys
->
p_input
,
"position"
,
percentage
);
}
...
...
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