Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
4d7eeeb1
Commit
4d7eeeb1
authored
Jun 08, 2003
by
Eric Petit
Browse files
Minor fix
parent
690dc59a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/beos/VlcWrapper.cpp
View file @
4d7eeeb1
...
...
@@ -2,7 +2,7 @@
* VlcWrapper.cpp: BeOS plugin for vlc (derived from MacOS X port)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: VlcWrapper.cpp,v 1.3
3
2003/0
5/31 12:2
4:3
9
titer Exp $
* $Id: VlcWrapper.cpp,v 1.3
4
2003/0
6/08 16:0
4:3
0
titer Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -774,8 +774,20 @@ bool VlcWrapper::IsUsingMenus()
if
(
!
p_input
)
return
false
;
if
(
!
strncmp
(
PlaylistItemName
(
PlaylistCurrent
()
),
"dvdplay:"
,
8
)
)
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
if
(
p_playlist
->
i_index
<
0
)
{
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
return
false
;
}
char
*
psz_name
=
p_playlist
->
pp_items
[
p_playlist
->
i_index
]
->
psz_name
;
if
(
!
strncmp
(
psz_name
,
"dvdplay:"
,
8
)
)
{
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
return
true
;
}
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
return
false
;
}
...
...
Write
Preview
Supports
Markdown
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