Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6e8cd7e0
Commit
6e8cd7e0
authored
May 07, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Mac OS X VOUT_SIZE_CHANGE signal.
parent
35178899
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
18 deletions
+12
-18
plugins/macosx/intf_vlc_wrapper.c
plugins/macosx/intf_vlc_wrapper.c
+9
-5
plugins/macosx/vout_qdview.c
plugins/macosx/vout_qdview.c
+1
-2
plugins/macosx/vout_vlc_wrapper.c
plugins/macosx/vout_vlc_wrapper.c
+1
-9
plugins/macosx/vout_vlc_wrapper.h
plugins/macosx/vout_vlc_wrapper.h
+1
-2
No files found.
plugins/macosx/intf_vlc_wrapper.c
View file @
6e8cd7e0
...
...
@@ -2,7 +2,7 @@
* intf_vlc_wrapper.c: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: intf_vlc_wrapper.c,v 1.1
1 2002/05/06 22:59:46
massiot Exp $
* $Id: intf_vlc_wrapper.c,v 1.1
2 2002/05/07 20:17:07
massiot Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -86,6 +86,7 @@ static Intf_VLCWrapper *o_intf = nil;
return
(
1
);
}
#if 0
if( p_input_bank->pp_input[0] != NULL )
{
vlc_mutex_lock( &p_input_bank->pp_input[0]->stream.stream_lock );
...
...
@@ -107,6 +108,7 @@ static Intf_VLCWrapper *o_intf = nil;
{
[self setupMenus];
}
#endif
return
(
0
);
}
...
...
@@ -497,14 +499,16 @@ static Intf_VLCWrapper *o_intf = nil;
if( p_input_bank->pp_input[0] == NULL )
{
NSMenu * o_program = [o_program_item submenu];
[o_program_item setEnabled:0];
[o_program removeItemAtIndex:0];
// [o_program_item setEnabled:0];
// [o_program removeItemAtIndex:0];
[o_program addItemWithTitle:@"Toto" action:nil keyEquivalent:@""]
}
else
{
NSMenu * o_program = [o_program_item submenu];
[o_program_item setEnabled:1];
[o_program removeItemAtIndex:0];
// [o_program_item setEnabled:1];
// [o_program removeItemAtIndex:0];
[o_program addItemWithTitle:@"Toto" action:nil keyEquivalent:@""]
}
#endif
}
...
...
plugins/macosx/vout_qdview.c
View file @
6e8cd7e0
...
...
@@ -2,7 +2,7 @@
* vout_qdview.c: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: vout_qdview.c,v 1.
3 2002/04/25 23:07:23
massiot Exp $
* $Id: vout_qdview.c,v 1.
4 2002/05/07 20:17:07
massiot Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -48,7 +48,6 @@
-
(
void
)
drawRect
:
(
NSRect
)
rect
{
[
super
drawRect
:
rect
];
[
o_wrapper
voutDidResize
:
p_vout
];
[[
NSColor
blackColor
]
set
];
NSRectFill
(
rect
);
}
...
...
plugins/macosx/vout_vlc_wrapper.c
View file @
6e8cd7e0
...
...
@@ -2,7 +2,7 @@
* vout_vlc_wrapper.c: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: vout_vlc_wrapper.c,v 1.
1 2002/03/19 03:33:52 jlj
Exp $
* $Id: vout_vlc_wrapper.c,v 1.
2 2002/05/07 20:17:07 massiot
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
*
...
...
@@ -71,14 +71,6 @@ static Vout_VLCWrapper *o_vout = nil;
return
(
p_main
->
p_intf
->
p_sys
->
o_port
);
}
-
(
void
)
voutDidResize
:
(
void
*
)
_p_vout
{
struct
vout_thread_s
*
p_vout
=
(
struct
vout_thread_s
*
)
_p_vout
;
p_vout
->
i_changes
|=
VOUT_SIZE_CHANGE
;
}
-
(
void
)
mouseEvent
:
(
unsigned
int
)
ui_status
forVout
:
(
void
*
)
_p_vout
{
struct
vout_thread_s
*
p_vout
=
...
...
plugins/macosx/vout_vlc_wrapper.h
View file @
6e8cd7e0
...
...
@@ -2,7 +2,7 @@
* vout_vlc_wrapper.h: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: vout_vlc_wrapper.h,v 1.
1 2002/03/19 03:33:52 jlj
Exp $
* $Id: vout_vlc_wrapper.h,v 1.
2 2002/05/07 20:17:07 massiot
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
*
...
...
@@ -34,7 +34,6 @@
+
(
Vout_VLCWrapper
*
)
instance
;
+
(
NSPort
*
)
sendPort
;
-
(
void
)
voutDidResize
:(
void
*
)
_p_vout
;
-
(
void
)
mouseEvent
:(
unsigned
int
)
ui_status
forVout
:(
void
*
)
_p_vout
;
-
(
BOOL
)
keyDown
:(
NSEvent
*
)
o_event
forVout
:(
void
*
)
_p_vout
;
...
...
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