Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
06b74990
Commit
06b74990
authored
Jul 31, 2009
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ncurses: check playlist_CurrentPlayingItem() return value
parent
e1d3ce4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/gui/ncurses.c
modules/gui/ncurses.c
+4
-2
No files found.
modules/gui/ncurses.c
View file @
06b74990
...
...
@@ -2137,9 +2137,11 @@ static void Redraw( intf_thread_t *p_intf, time_t *t_last_refresh )
input_thread_t
*
p_input2
=
playlist_CurrentInput
(
p_playlist
);
PL_LOCK
;
assert
(
p_item
);
playlist_item_t
*
p_current_playing_item
=
playlist_CurrentPlayingItem
(
p_playlist
);
if
(
(
p_node
&&
p_item
->
p_input
==
p_node
->
p_input
)
||
(
!
p_node
&&
p_input2
&&
p_item
->
p_input
==
p
laylist_CurrentPlayingItem
(
p_playlist
)
->
p_input
)
)
(
!
p_node
&&
p_input2
&&
p_current_playing_item
&&
p_item
->
p_input
==
p
_current_playing_item
->
p_input
)
)
c
=
'*'
;
else
if
(
p_item
==
p_node
||
(
p_item
!=
p_node
&&
PlaylistIsPlaying
(
p_playlist
,
p_item
)
)
)
...
...
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