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
e311921b
Commit
e311921b
authored
Oct 26, 2010
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ncurses: remove variable from interface context
parent
2ae4d9eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/gui/ncurses.c
modules/gui/ncurses.c
+6
-6
No files found.
modules/gui/ncurses.c
View file @
e311921b
...
@@ -193,8 +193,6 @@ struct intf_sys_t
...
@@ -193,8 +193,6 @@ struct intf_sys_t
playlist_item_t
*
p_node
;
/* current node */
playlist_item_t
*
p_node
;
/* current node */
int
b_box_cleared
;
// msg_subscription_t* p_sub; /* message bank subscription */
// msg_subscription_t* p_sub; /* message bank subscription */
char
psz_search_chain
[
20
];
char
psz_search_chain
[
20
];
...
@@ -2030,6 +2028,7 @@ static void Run(intf_thread_t *p_intf)
...
@@ -2030,6 +2028,7 @@ static void Run(intf_thread_t *p_intf)
{
{
intf_sys_t
*
p_sys
=
p_intf
->
p_sys
;
intf_sys_t
*
p_sys
=
p_intf
->
p_sys
;
playlist_t
*
p_playlist
=
pl_Get
(
p_intf
);
playlist_t
*
p_playlist
=
pl_Get
(
p_intf
);
bool
force_redraw
=
false
;
time_t
t_last_refresh
;
time_t
t_last_refresh
;
int
canc
=
vlc_savecancel
();
int
canc
=
vlc_savecancel
();
...
@@ -2046,13 +2045,15 @@ static void Run(intf_thread_t *p_intf)
...
@@ -2046,13 +2045,15 @@ static void Run(intf_thread_t *p_intf)
/* Update the input */
/* Update the input */
if
(
!
p_sys
->
p_input
)
if
(
!
p_sys
->
p_input
)
{
p_sys
->
p_input
=
playlist_CurrentInput
(
p_playlist
);
p_sys
->
p_input
=
playlist_CurrentInput
(
p_playlist
);
force_redraw
=
true
;
}
else
if
(
p_sys
->
p_input
->
b_dead
)
else
if
(
p_sys
->
p_input
->
b_dead
)
{
{
vlc_object_release
(
p_sys
->
p_input
);
vlc_object_release
(
p_sys
->
p_input
);
p_sys
->
p_input
=
NULL
;
p_sys
->
p_input
=
NULL
;
p_sys
->
f_slider
=
p_sys
->
f_slider_old
=
0
.
0
;
p_sys
->
f_slider
=
p_sys
->
f_slider_old
=
0
.
0
;
p_sys
->
b_box_cleared
=
false
;
}
}
PL_LOCK
;
PL_LOCK
;
...
@@ -2064,12 +2065,11 @@ static void Run(intf_thread_t *p_intf)
...
@@ -2064,12 +2065,11 @@ static void Run(intf_thread_t *p_intf)
while
(
HandleKey
(
p_intf
))
while
(
HandleKey
(
p_intf
))
Redraw
(
p_intf
,
&
t_last_refresh
);
Redraw
(
p_intf
,
&
t_last_refresh
);
/* Hack */
if
(
force_redraw
)
if
(
p_sys
->
f_slider
>
0
.
0001
&&
!
p_sys
->
b_box_cleared
)
{
{
clear
();
clear
();
Redraw
(
p_intf
,
&
t_last_refresh
);
Redraw
(
p_intf
,
&
t_last_refresh
);
p_sys
->
b_box_cleared
=
tru
e
;
force_redraw
=
fals
e
;
}
}
if
((
time
(
0
)
-
t_last_refresh
)
>=
1
)
if
((
time
(
0
)
-
t_last_refresh
)
>=
1
)
...
...
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