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
14682ad7
Commit
14682ad7
authored
Jun 30, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* remove debug statements.
parent
ada76aae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+1
-11
No files found.
modules/gui/macosx/controls.m
View file @
14682ad7
...
...
@@ -2,7 +2,7 @@
* controls.m: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: controls.m,v 1.4
2 2003/06/30 01:51:10
hartman Exp $
* $Id: controls.m,v 1.4
3 2003/06/30 01:52:57
hartman Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -152,10 +152,8 @@
vlc_mutex_lock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
#define p_area p_playlist->p_input->stream.p_selected_area
NSLog
(
@"current title: %d, all titles: %d
\n
current chapter: %d, all chapters: %d"
,
p_area
->
i_id
,
p_playlist
->
p_input
->
stream
.
i_area_nb
,
p_area
->
i_part
,
p_area
->
i_part_nb
);
if
(
p_area
->
i_part
>
0
&&
p_area
->
i_part_nb
>
1
)
{
NSLog
(
@"Prev Chap"
);
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
var_Get
(
p_playlist
->
p_input
,
"prev-chapter"
,
&
val
);
...
...
@@ -165,7 +163,6 @@ NSLog( @"current title: %d, all titles: %d\ncurrent chapter: %d, all chapters: %
}
else
if
(
p_area
->
i_id
>
1
)
{
NSLog
(
@"Prev Title"
);
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
var_Get
(
p_playlist
->
p_input
,
"prev-title"
,
&
val
);
...
...
@@ -175,12 +172,10 @@ NSLog( @"current title: %d, all titles: %d\ncurrent chapter: %d, all chapters: %
}
else
{
NSLog
(
@"Prev PlaylistItem"
);
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
playlist_Prev
(
p_playlist
);
}
NSLog
(
@"current title: %d, all titles: %d
\n
current chapter: %d, all chapters: %d"
,
p_area
->
i_id
,
p_playlist
->
p_input
->
stream
.
i_area_nb
,
p_area
->
i_part
,
p_area
->
i_part_nb
);
#undef p_area
vlc_object_release
(
p_playlist
);
...
...
@@ -210,10 +205,8 @@ NSLog( @"current title: %d, all titles: %d\ncurrent chapter: %d, all chapters: %
vlc_mutex_lock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
#define p_area p_playlist->p_input->stream.p_selected_area
NSLog
(
@"current title: %d, all titles: %d
\n
current chapter: %d, all chapters: %d"
,
p_area
->
i_id
,
p_playlist
->
p_input
->
stream
.
i_area_nb
,
p_area
->
i_part
,
p_area
->
i_part_nb
);
if
(
p_area
->
i_part
<
p_area
->
i_part_nb
&&
p_area
->
i_part_nb
>
1
)
{
NSLog
(
@"Next Chap"
);
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
var_Get
(
p_playlist
->
p_input
,
"next-chapter"
,
&
val
);
...
...
@@ -223,7 +216,6 @@ NSLog( @"current title: %d, all titles: %d\ncurrent chapter: %d, all chapters: %
}
else
if
(
p_area
->
i_id
<
p_playlist
->
p_input
->
stream
.
i_area_nb
)
{
NSLog
(
@"Next Title"
);
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
var_Get
(
p_playlist
->
p_input
,
"next-title"
,
&
val
);
...
...
@@ -233,12 +225,10 @@ NSLog( @"current title: %d, all titles: %d\ncurrent chapter: %d, all chapters: %
}
else
{
NSLog
(
@"Next PlaylistItem"
);
vlc_mutex_unlock
(
&
p_playlist
->
p_input
->
stream
.
stream_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
playlist_Next
(
p_playlist
);
}
NSLog
(
@"current title: %d, all titles: %d
\n
current chapter: %d, all chapters: %d"
,
p_area
->
i_id
,
p_playlist
->
p_input
->
stream
.
i_area_nb
,
p_area
->
i_part
,
p_area
->
i_part_nb
);
#undef p_area
vlc_object_release
(
p_playlist
);
...
...
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