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
651b9c8b
Commit
651b9c8b
authored
Jul 07, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Factorize.
parent
35178153
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
modules/access/dvdnav.c
modules/access/dvdnav.c
+7
-9
No files found.
modules/access/dvdnav.c
View file @
651b9c8b
...
...
@@ -1041,15 +1041,14 @@ static void ButtonUpdate( demux_t *p_demux, bool b_mode )
}
vlc_mutex_lock
(
p_mutex
);
va
l
.
i_int
=
hl
.
sx
;
var_Set
(
p_sys
->
p_input
,
"x-start"
,
val
);
va
l
.
i_int
=
hl
.
ex
;
var_Set
(
p_sys
->
p_input
,
"x-end"
,
val
);
va
l
.
i_int
=
hl
.
sy
;
var_Set
(
p_sys
->
p_input
,
"y-start"
,
val
);
va
l
.
i_int
=
hl
.
ey
;
var_Set
(
p_sys
->
p_input
,
"y-end"
,
val
);
va
r_SetInteger
(
p_sys
->
p_input
,
"x-start"
,
hl
.
sx
);
va
r_SetInteger
(
p_sys
->
p_input
,
"x-end"
,
hl
.
ex
);
va
r_SetInteger
(
p_sys
->
p_input
,
"y-start"
,
hl
.
sy
);
va
r_SetInteger
(
p_sys
->
p_input
,
"y-end"
,
hl
.
ey
);
val
.
p_address
=
(
void
*
)
p_sys
->
palette
;
var_Set
(
p_sys
->
p_input
,
"menu-palette"
,
val
);
var_SetAddress
(
p_sys
->
p_input
,
"menu-palette"
,
p_sys
->
palette
);
va
l
.
b_bool
=
true
;
var_Set
(
p_sys
->
p_input
,
"highlight"
,
val
);
va
r_SetBool
(
p_sys
->
p_input
,
"highlight"
,
true
);
vlc_mutex_unlock
(
p_mutex
);
msg_Dbg
(
p_demux
,
"buttonUpdate %d"
,
i_button
);
...
...
@@ -1061,8 +1060,7 @@ static void ButtonUpdate( demux_t *p_demux, bool b_mode )
/* Show all */
vlc_mutex_lock
(
p_mutex
);
val
.
b_bool
=
false
;
var_Set
(
p_sys
->
p_input
,
"highlight"
,
val
);
var_SetBool
(
p_sys
->
p_input
,
"highlight"
,
false
);
vlc_mutex_unlock
(
p_mutex
);
}
}
...
...
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