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
8d54c1f7
Commit
8d54c1f7
authored
Jul 28, 2002
by
Tony Castley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed lockup on some overlay enabled cards.
Fixed on top function.
parent
5ef12c63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
plugins/beos/vout_beos.cpp
plugins/beos/vout_beos.cpp
+9
-8
No files found.
plugins/beos/vout_beos.cpp
View file @
8d54c1f7
...
...
@@ -2,7 +2,7 @@
* vout_beos.cpp: beos video output display method
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: vout_beos.cpp,v 1.6
3 2002/07/23 00:39:16 sam
Exp $
* $Id: vout_beos.cpp,v 1.6
4 2002/07/28 01:46:26 tcastley
Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -108,6 +108,7 @@ VideoWindow::VideoWindow( int v_width, int v_height,
/* set the VideoWindow variables */
teardownwindow
=
false
;
is_zoomed
=
false
;
vsync
=
false
;
i_buffer
=
0
;
/* call ScreenChanged to set vsync correctly */
...
...
@@ -130,17 +131,17 @@ VideoWindow::VideoWindow( int v_width, int v_height,
mode
=
SelectDrawingMode
(
v_width
,
v_height
);
// remember current settings
i_width
=
frame
.
IntegerWidth
()
;
i_height
=
frame
.
IntegerHeight
()
;
FrameResized
(
frame
.
IntegerWidth
(),
frame
.
IntegerHeight
()
);
i_width
=
v_width
;
i_height
=
v_height
;
FrameResized
(
v_width
,
v_height
);
if
(
mode
==
OVERLAY
)
{
overlay_restrictions
r
;
bitmap
[
1
]
->
GetOverlayRestrictions
(
&
r
);
SetSizeLimits
((
i_width
*
r
.
min_width_scale
),
i_width
*
r
.
max_width_scale
,
(
i_height
*
r
.
min_height_scale
),
i_height
*
r
.
max_height_scale
);
SetSizeLimits
((
i_width
*
r
.
min_width_scale
)
+
1
,
i_width
*
r
.
max_width_scale
,
(
i_height
*
r
.
min_height_scale
)
+
1
,
i_height
*
r
.
max_height_scale
);
}
Show
();
}
...
...
@@ -431,9 +432,9 @@ void VLCView::MouseDown(BPoint point)
menu
->
AddItem
(
normWindItem
);
BMessage
*
winFloatFeel
=
new
BMessage
(
WINDOW_FEEL
);
winFloatFeel
->
AddInt16
(
"WinFeel"
,
(
int16
)
B_
FLOATING_APP
_WINDOW_FEEL
);
winFloatFeel
->
AddInt16
(
"WinFeel"
,
(
int16
)
B_
MODAL_ALL
_WINDOW_FEEL
);
BMenuItem
*
onTopWindItem
=
new
BMenuItem
(
"App Top"
,
winFloatFeel
);
onTopWindItem
->
SetMarked
(
vWindow
->
Feel
()
==
B_
FLOATING_APP
_WINDOW_FEEL
);
onTopWindItem
->
SetMarked
(
vWindow
->
Feel
()
==
B_
MODAL_ALL
_WINDOW_FEEL
);
menu
->
AddItem
(
onTopWindItem
);
BMessage
*
winAllFeel
=
new
BMessage
(
WINDOW_FEEL
);
...
...
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