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
bc959f89
Commit
bc959f89
authored
Sep 13, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Checks ncursesw/curses.h presence
parent
ed3227e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
configure.ac
configure.ac
+4
-2
extras/mpris.py
extras/mpris.py
+5
-2
src/playlist/engine.c
src/playlist/engine.c
+1
-1
No files found.
configure.ac
View file @
bc959f89
...
@@ -5312,8 +5312,10 @@ dnl
...
@@ -5312,8 +5312,10 @@ dnl
AC_ARG_ENABLE(ncurses,
AC_ARG_ENABLE(ncurses,
[ --enable-ncurses ncurses interface support (default disabled)],
[ --enable-ncurses ncurses interface support (default disabled)],
[if test "${enable_ncurses}" = "yes"; then
[if test "${enable_ncurses}" = "yes"; then
VLC_ADD_PLUGINS([ncurses])
AC_CHECK_HEADERS(ncursesw/curses.h,[
VLC_ADD_LDFLAGS([ncurses],[-lncursesw])
VLC_ADD_PLUGINS([ncurses])
VLC_ADD_LDFLAGS([ncurses],[-lncursesw])
])
fi])
fi])
dnl
dnl
...
...
extras/mpris.py
View file @
bc959f89
...
@@ -222,9 +222,12 @@ def tray_button(widget):
...
@@ -222,9 +222,12 @@ def tray_button(widget):
window
.
move
(
position
[
0
],
position
[
1
])
window
.
move
(
position
[
0
],
position
[
1
])
window
.
show
()
window
.
show
()
#ui setup
#loads glade file from the directory where the script is,
xml
=
gtk
.
glade
.
XML
(
'mpris.glade'
)
#so we can use /path/to/mpris.py to execute it.
import
sys
xml
=
gtk
.
glade
.
XML
(
os
.
path
.
dirname
(
sys
.
argv
[
0
])
+
'/mpris.glade'
)
#ui setup
bt_close
=
xml
.
get_widget
(
'close'
)
bt_close
=
xml
.
get_widget
(
'close'
)
bt_quit
=
xml
.
get_widget
(
'quit'
)
bt_quit
=
xml
.
get_widget
(
'quit'
)
bt_file
=
xml
.
get_widget
(
'ChooseFile'
)
bt_file
=
xml
.
get_widget
(
'ChooseFile'
)
...
...
src/playlist/engine.c
View file @
bc959f89
...
@@ -489,7 +489,7 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
...
@@ -489,7 +489,7 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
return
;
return
;
}
}
}
}
printf
(
"pointer playlist XX: %p
\n
"
,
p_current
->
lock
.
p_this
);
p_current
=
p_obj
->
pp_waiting
[
0
];
p_current
=
p_obj
->
pp_waiting
[
0
];
REMOVE_ELEM
(
p_obj
->
pp_waiting
,
p_obj
->
i_waiting
,
0
);
REMOVE_ELEM
(
p_obj
->
pp_waiting
,
p_obj
->
i_waiting
,
0
);
vlc_mutex_unlock
(
&
p_obj
->
object_lock
);
vlc_mutex_unlock
(
&
p_obj
->
object_lock
);
...
...
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