Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
4d7eeeb1
Commit
4d7eeeb1
authored
Jun 08, 2003
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix
parent
690dc59a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
modules/gui/beos/VlcWrapper.cpp
modules/gui/beos/VlcWrapper.cpp
+14
-2
No files found.
modules/gui/beos/VlcWrapper.cpp
View file @
4d7eeeb1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* VlcWrapper.cpp: BeOS plugin for vlc (derived from MacOS X port)
* VlcWrapper.cpp: BeOS plugin for vlc (derived from MacOS X port)
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: VlcWrapper.cpp,v 1.3
3 2003/05/31 12:24:39
titer Exp $
* $Id: VlcWrapper.cpp,v 1.3
4 2003/06/08 16:04:30
titer Exp $
*
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
@@ -774,8 +774,20 @@ bool VlcWrapper::IsUsingMenus()
...
@@ -774,8 +774,20 @@ bool VlcWrapper::IsUsingMenus()
if
(
!
p_input
)
if
(
!
p_input
)
return
false
;
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
;
return
true
;
}
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
return
false
;
return
false
;
}
}
...
...
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