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
c3b01ee0
Commit
c3b01ee0
authored
Nov 05, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* moved garfou's changes before a variable that is at risk of overflow
maybe this will fix the random crashes?
parent
e53ac062
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
modules/gui/macosx/vout.h
modules/gui/macosx/vout.h
+5
-5
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+2
-2
No files found.
modules/gui/macosx/vout.h
View file @
c3b01ee0
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* vout.h: MacOS X interface plugin
* vout.h: MacOS X interface plugin
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* Copyright (C) 2001-2003 VideoLAN
* $Id: vout.h,v 1.1
3 2003/08/19 14:07:51 garf
Exp $
* $Id: vout.h,v 1.1
4 2003/11/05 00:40:08 hartman
Exp $
*
*
* Authors: Colin Delacroix <colin@zoy.org>
* Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org>
* Florian G. Pflug <fgp@phlo.org>
...
@@ -73,6 +73,10 @@ struct vout_sys_t
...
@@ -73,6 +73,10 @@ struct vout_sys_t
NSRect
s_rect
;
NSRect
s_rect
;
int
b_pos_saved
;
int
b_pos_saved
;
VLCWindow
*
o_window
;
VLCWindow
*
o_window
;
Rect
rect
;
int
portx
;
int
porty
;
int
isplugin
;
vlc_bool_t
b_mouse_moved
;
vlc_bool_t
b_mouse_moved
;
vlc_bool_t
b_mouse_pointer_visible
;
vlc_bool_t
b_mouse_pointer_visible
;
...
@@ -88,9 +92,5 @@ struct vout_sys_t
...
@@ -88,9 +92,5 @@ struct vout_sys_t
ImageDescriptionHandle
h_img_descr
;
ImageDescriptionHandle
h_img_descr
;
Ptr
p_fullscreen_state
;
Ptr
p_fullscreen_state
;
RgnHandle
mask
;
RgnHandle
mask
;
Rect
rect
;
int
portx
;
int
porty
;
int
isplugin
;
#endif
#endif
};
};
modules/gui/macosx/vout.m
View file @
c3b01ee0
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* vout.m: MacOS X video output plugin
* vout.m: MacOS X video output plugin
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* Copyright (C) 2001-2003 VideoLAN
* $Id: vout.m,v 1.6
1 2003/10/31 15:54:53
hartman Exp $
* $Id: vout.m,v 1.6
2 2003/11/05 00:40:08
hartman Exp $
*
*
* Authors: Colin Delacroix <colin@zoy.org>
* Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org>
* Florian G. Pflug <fgp@phlo.org>
...
@@ -1026,7 +1026,7 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
...
@@ -1026,7 +1026,7 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
o_title
=
[
NSMutableString
stringWithUTF8String
:
o_title
=
[
NSMutableString
stringWithUTF8String
:
p_playlist
->
pp_items
[
p_playlist
->
i_index
]
->
psz_
name
];
p_playlist
->
pp_items
[
p_playlist
->
i_index
]
->
psz_
uri
];
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_object_release
(
p_playlist
);
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