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
870f69a3
Commit
870f69a3
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
32d904e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
5 deletions
+29
-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
+23
-1
No files found.
plugins/macosx/intf_vlc_wrapper.m
View file @
870f69a3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* intf_vlc_wrapper.c: MacOS X plugin for vlc
* intf_vlc_wrapper.c: MacOS X plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: intf_vlc_wrapper.m,v 1.6.2.
1 2002/06/01 11:38:07 sam
Exp $
* $Id: intf_vlc_wrapper.m,v 1.6.2.
2 2002/06/01 23:41:41 massiot
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>
...
@@ -811,7 +811,7 @@ static Intf_VLCWrapper *o_intf = nil;
...
@@ -811,7 +811,7 @@ static Intf_VLCWrapper *o_intf = nil;
o_item
=
[
o_chapter
addItemWithTitle
:
o_menu_title
o_item
=
[
o_chapter
addItemWithTitle
:
o_menu_title
action:
pf_toggle_chapter
keyEquivalent
:
@""
];
action:
pf_toggle_chapter
keyEquivalent
:
@""
];
[
o_item
setTag
:
i
];
[
o_item
setTag
:
i
+
1
];
[
o_item
setTarget
:
self
];
[
o_item
setTarget
:
self
];
if
(
(
p_input
->
stream
.
p_selected_area
->
i_part
==
i
+
1
)
)
if
(
(
p_input
->
stream
.
p_selected_area
->
i_part
==
i
+
1
)
)
{
{
...
@@ -873,9 +873,10 @@ static Intf_VLCWrapper *o_intf = nil;
...
@@ -873,9 +873,10 @@ static Intf_VLCWrapper *o_intf = nil;
}
}
o_item
=
[
o_language
addItemWithTitle
:
o_menu_title
o_item
=
[
o_language
addItemWithTitle
:
o_menu_title
action:
pf_toggle_language
keyEquivalent
:
@""
];
action:
pf_toggle_language
keyEquivalent
:
@""
];
[
o_item
setTag
:
i
];
[
o_item
setTag
:
i
];
[
o_item
setTarget
:
self
];
[
o_item
setTarget
:
self
];
[
o_item
setEnabled
:
1
];
if
(
p_es
->
p_decoder_fifo
!=
NULL
)
if
(
p_es
->
p_decoder_fifo
!=
NULL
)
{
{
[
o_item
setState
:
1
];
[
o_item
setState
:
1
];
...
@@ -901,9 +902,10 @@ static Intf_VLCWrapper *o_intf = nil;
...
@@ -901,9 +902,10 @@ static Intf_VLCWrapper *o_intf = nil;
}
}
o_item
=
[
o_subtitle
addItemWithTitle
:
o_menu_title
o_item
=
[
o_subtitle
addItemWithTitle
:
o_menu_title
action:
pf_toggle_subtitle
keyEquivalent
:
@""
];
action:
pf_toggle_subtitle
keyEquivalent
:
@""
];
[
o_item
setTag
:
i
];
[
o_item
setTag
:
i
];
[
o_item
setTarget
:
self
];
[
o_item
setTarget
:
self
];
[
o_item
setEnabled
:
1
];
if
(
p_es
->
p_decoder_fifo
!=
NULL
)
if
(
p_es
->
p_decoder_fifo
!=
NULL
)
{
{
[
o_item
setState
:
1
];
[
o_item
setState
:
1
];
...
...
plugins/macosx/vout_vlc_wrapper.m
View file @
870f69a3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* vout_vlc_wrapper.c: MacOS X plugin for vlc
* vout_vlc_wrapper.c: MacOS X plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: vout_vlc_wrapper.m,v 1.2
2002/05/18 18:48:24
massiot Exp $
* $Id: vout_vlc_wrapper.m,v 1.2
.2.1 2002/06/01 23:41:41
massiot Exp $
*
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
*
*
...
@@ -34,6 +34,10 @@
...
@@ -34,6 +34,10 @@
#include "video_output.h"
#include "video_output.h"
#include "interface.h"
#include "interface.h"
#include "intf_playlist.h"
#include "stream_control.h"
#include "input_ext-intf.h"
#include "macosx.h"
#include "macosx.h"
#include "vout_vlc_wrapper.h"
#include "vout_vlc_wrapper.h"
...
@@ -116,10 +120,28 @@ static Vout_VLCWrapper *o_vout = nil;
...
@@ -116,10 +120,28 @@ static Vout_VLCWrapper *o_vout = nil;
p_vout
->
i_changes
|=
VOUT_FULLSCREEN_CHANGE
;
p_vout
->
i_changes
|=
VOUT_FULLSCREEN_CHANGE
;
break
;
break
;
case
(
unichar
)
0x1b
:
/* escape */
if
(
p_vout
->
b_fullscreen
)
{
p_vout
->
i_changes
|=
VOUT_FULLSCREEN_CHANGE
;
}
break
;
case
'q'
:
case
'Q'
:
case
'q'
:
case
'Q'
:
p_main
->
p_intf
->
b_die
=
1
;
p_main
->
p_intf
->
b_die
=
1
;
break
;
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:
default:
return
(
NO
);
return
(
NO
);
break
;
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