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
12820072
Commit
12820072
authored
Mar 18, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ncurses: use vlc_LogSet()
parent
9ee42fca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/gui/ncurses.c
modules/gui/ncurses.c
+2
-3
No files found.
modules/gui/ncurses.c
View file @
12820072
...
...
@@ -191,7 +191,6 @@ struct intf_sys_t
int
box_start
;
// first line of box displayed
int
box_idx
;
// selected line
msg_subscription_t
sub
;
// message bank subscription
struct
{
int
type
;
...
...
@@ -1793,7 +1792,7 @@ static int Open(vlc_object_t *p_this)
vlc_mutex_init
(
&
sys
->
pl_lock
);
sys
->
verbosity
=
var_InheritInteger
(
intf
,
"verbose"
);
vlc_
Subscribe
(
&
sys
->
sub
,
MsgCallback
,
sys
);
vlc_
LogSet
(
intf
->
p_libvlc
,
MsgCallback
,
sys
);
sys
->
box_type
=
BOX_PLAYLIST
;
sys
->
plidx_follow
=
true
;
...
...
@@ -1850,7 +1849,7 @@ static void Close(vlc_object_t *p_this)
endwin
();
/* Close the ncurses interface */
vlc_
Unsubscribe
(
&
sys
->
sub
);
vlc_
LogSet
(
p_this
->
p_libvlc
,
NULL
,
NULL
);
vlc_mutex_destroy
(
&
sys
->
msg_lock
);
vlc_mutex_destroy
(
&
sys
->
pl_lock
);
for
(
unsigned
i
=
0
;
i
<
sizeof
sys
->
msgs
/
sizeof
*
sys
->
msgs
;
i
++
)
{
...
...
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