Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
8d5d2448
Commit
8d5d2448
authored
Jun 01, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mac OS X interface :
* fixed a bug in the chapter handling ; * more keystrokes ;
parent
71ec135b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
5 deletions
+28
-5
plugins/macosx/intf_vlc_wrapper.m
plugins/macosx/intf_vlc_wrapper.m
+6
-4
plugins/macosx/vout_vlc_wrapper.m
plugins/macosx/vout_vlc_wrapper.m
+22
-1
No files found.
plugins/macosx/intf_vlc_wrapper.m
View file @
8d5d2448
...
...
@@ -2,7 +2,7 @@
* intf_vlc_wrapper.c: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: intf_vlc_wrapper.m,v 1.
8 2002/06/01 12:32:00 sam
Exp $
* $Id: intf_vlc_wrapper.m,v 1.
9 2002/06/01 23:42:04 massiot
Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -812,7 +812,7 @@ static Intf_VLCWrapper *o_intf = nil;
o_item
=
[
o_chapter
addItemWithTitle
:
o_menu_title
action:
pf_toggle_chapter
keyEquivalent
:
@""
];
[
o_item
setTag
:
i
];
[
o_item
setTag
:
i
+
1
];
[
o_item
setTarget
:
self
];
if
(
(
p_input
->
stream
.
p_selected_area
->
i_part
==
i
+
1
)
)
{
...
...
@@ -874,9 +874,10 @@ static Intf_VLCWrapper *o_intf = nil;
}
o_item
=
[
o_language
addItemWithTitle
:
o_menu_title
action:
pf_toggle_language
keyEquivalent
:
@""
];
action:
pf_toggle_language
keyEquivalent
:
@""
];
[
o_item
setTag
:
i
];
[
o_item
setTarget
:
self
];
[
o_item
setEnabled
:
1
];
if
(
p_es
->
p_decoder_fifo
!=
NULL
)
{
[
o_item
setState
:
1
];
...
...
@@ -902,9 +903,10 @@ static Intf_VLCWrapper *o_intf = nil;
}
o_item
=
[
o_subtitle
addItemWithTitle
:
o_menu_title
action:
pf_toggle_subtitle
keyEquivalent
:
@""
];
action:
pf_toggle_subtitle
keyEquivalent
:
@""
];
[
o_item
setTag
:
i
];
[
o_item
setTarget
:
self
];
[
o_item
setEnabled
:
1
];
if
(
p_es
->
p_decoder_fifo
!=
NULL
)
{
[
o_item
setState
:
1
];
...
...
plugins/macosx/vout_vlc_wrapper.m
View file @
8d5d2448
...
...
@@ -2,7 +2,7 @@
* vout_vlc_wrapper.c: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: vout_vlc_wrapper.m,v 1.
3 2002/06/01 12:32:00 sam
Exp $
* $Id: vout_vlc_wrapper.m,v 1.
4 2002/06/01 23:42:04 massiot
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
*
...
...
@@ -32,6 +32,9 @@
#include <vlc/intf.h>
#include <vlc/vout.h>
#include "stream_control.h"
#include "input_ext-intf.h"
#include "macosx.h"
#include "vout_vlc_wrapper.h"
...
...
@@ -111,10 +114,28 @@ static Vout_VLCWrapper *o_vout = nil;
p_vout
->
i_changes
|=
VOUT_FULLSCREEN_CHANGE
;
break
;
case
(
unichar
)
0x1b
:
/* escape */
if
(
p_vout
->
b_fullscreen
)
{
p_vout
->
i_changes
|=
VOUT_FULLSCREEN_CHANGE
;
}
break
;
case
'q'
:
case
'Q'
:
p_vout
->
p_vlc
->
b_die
=
1
;
break
;
case
' '
:
if
(
p_input_bank
->
pp_input
[
0
]
!=
NULL
)
{
input_SetStatus
(
p_input_bank
->
pp_input
[
0
],
INPUT_STATUS_PAUSE
);
vlc_mutex_lock
(
&
p_main
->
p_playlist
->
change_lock
);
p_main
->
p_playlist
->
b_stopped
=
0
;
vlc_mutex_unlock
(
&
p_main
->
p_playlist
->
change_lock
);
}
break
;
default:
return
(
NO
);
break
;
...
...
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