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
e3c06996
Commit
e3c06996
authored
May 12, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Mac OS X port : menus for Program/Title/Chapter/Languages.
parent
fb1e2cb9
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
380 additions
and
26 deletions
+380
-26
plugins/gtk/gtk_menu.c
plugins/gtk/gtk_menu.c
+1
-4
plugins/macosx/intf_macosx.c
plugins/macosx/intf_macosx.c
+3
-1
plugins/macosx/intf_vlc_wrapper.c
plugins/macosx/intf_vlc_wrapper.c
+361
-18
plugins/macosx/intf_vlc_wrapper.h
plugins/macosx/intf_vlc_wrapper.h
+8
-1
plugins/macosx/macosx.h
plugins/macosx/macosx.h
+2
-1
src/input/input_dec.c
src/input/input_dec.c
+5
-1
No files found.
plugins/gtk/gtk_menu.c
View file @
e3c06996
...
...
@@ -2,7 +2,7 @@
* gtk_menu.c : functions to handle menu items.
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: gtk_menu.c,v 1.2
4 2002/04/19 13:56:11 sam
Exp $
* $Id: gtk_menu.c,v 1.2
5 2002/05/12 01:39:36 massiot
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Stphane Borel <stef@via.ecp.fr>
...
...
@@ -502,9 +502,6 @@ static gint GtkLanguageMenus( gpointer p_data,
gint
i_item
;
gint
i
;
/* cast */
p_intf
=
(
intf_thread_t
*
)
p_data
;
/* temporary hack to avoid blank menu when an open menu is removed */
...
...
plugins/macosx/intf_macosx.c
View file @
e3c06996
...
...
@@ -2,7 +2,7 @@
* intf_macosx.c: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: intf_macosx.c,v 1.1
3 2002/05/06 22:59:4
6 massiot Exp $
* $Id: intf_macosx.c,v 1.1
4 2002/05/12 01:39:3
6 massiot Exp $
*
* Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org>
...
...
@@ -68,6 +68,8 @@ static int intf_Open( intf_thread_t *p_intf )
p_intf
->
p_sys
->
o_pool
=
[[
NSAutoreleasePool
alloc
]
init
];
p_intf
->
p_sys
->
o_port
=
[[
NSPort
port
]
retain
];
p_intf
->
p_sys
->
b_mute
=
0
;
p_intf
->
p_sys
->
i_part
=
0
;
p_intf
->
p_sys
->
b_disabled_menus
=
0
;
[[
NSApplication
sharedApplication
]
autorelease
];
[
NSBundle
loadNibNamed
:
@
"MainMenu"
owner
:
NSApp
];
...
...
plugins/macosx/intf_vlc_wrapper.c
View file @
e3c06996
This diff is collapsed.
Click to expand it.
plugins/macosx/intf_vlc_wrapper.h
View file @
e3c06996
...
...
@@ -2,7 +2,7 @@
* intf_vlc_wrapper.h: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: intf_vlc_wrapper.h,v 1.
6 2002/05/06 22:59:4
6 massiot Exp $
* $Id: intf_vlc_wrapper.h,v 1.
7 2002/05/12 01:39:3
6 massiot Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -70,6 +70,13 @@
-
(
void
)
openDisc
:(
NSString
*
)
o_type
device
:(
NSString
*
)
o_device
title
:(
int
)
i_title
chapter
:(
int
)
i_chapter
;
-
(
void
)
openNet
:(
NSString
*
)
o_protocol
addr
:(
NSString
*
)
o_addr
port
:(
int
)
i_port
baddr
:(
NSString
*
)
o_baddr
;
-
(
void
)
openNetChannel
:(
NSString
*
)
o_addr
port
:(
int
)
i_port
;
/* menus management */
-
(
void
)
toggleProgram
:(
id
)
sender
;
-
(
void
)
toggleTitle
:(
id
)
sender
;
-
(
void
)
toggleChapter
:(
id
)
sender
;
-
(
void
)
toggleLanguage
:(
id
)
sender
;
-
(
void
)
toggleSubtitle
:(
id
)
sender
;
-
(
void
)
setupMenus
;
@end
plugins/macosx/macosx.h
View file @
e3c06996
...
...
@@ -2,7 +2,7 @@
* macosx.h: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: macosx.h,v 1.
8 2002/05/06 22:59:4
6 massiot Exp $
* $Id: macosx.h,v 1.
9 2002/05/12 01:39:3
6 massiot Exp $
*
* Authors: Colin Delacroix <colin@zoy.org>
* Eugenio Jarosiewicz <ej0@cise.ufl.edu>
...
...
@@ -42,6 +42,7 @@ typedef struct intf_sys_s
int
i_saved_volume
;
int
i_part
;
boolean_t
b_disabled_menus
;
}
intf_sys_t
;
/*****************************************************************************
...
...
src/input/input_dec.c
View file @
e3c06996
...
...
@@ -2,7 +2,7 @@
* input_dec.c: Functions for the management of decoders
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: input_dec.c,v 1.3
2 2002/04/23 14:16:20 sam
Exp $
* $Id: input_dec.c,v 1.3
3 2002/05/12 01:39:36 massiot
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -91,6 +91,8 @@ vlc_thread_t input_RunDecoder( input_thread_t * p_input,
return
(
0
);
}
p_input
->
stream
.
b_changed
=
1
;
return
thread_id
;
}
...
...
@@ -131,6 +133,8 @@ void input_EndDecoder( input_thread_t * p_input, es_descriptor_t * p_es )
/* Tell the input there is no more decoder */
p_es
->
p_decoder_fifo
=
NULL
;
p_input
->
stream
.
b_changed
=
1
;
}
/*****************************************************************************
...
...
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