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
490a5961
Commit
490a5961
authored
Dec 07, 2002
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* use RGB32 BBitmap. That fixes the bad-looking picture in
non-overlay mode (thanks Sam).
parent
0d62cd7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
modules/gui/beos/VideoOutput.cpp
modules/gui/beos/VideoOutput.cpp
+2
-6
modules/gui/beos/VideoWindow.h
modules/gui/beos/VideoWindow.h
+2
-2
No files found.
modules/gui/beos/VideoOutput.cpp
View file @
490a5961
...
...
@@ -2,7 +2,7 @@
* vout_beos.cpp: beos video output display method
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: VideoOutput.cpp,v 1.
8 2002/12/04 06:23:08
titer Exp $
* $Id: VideoOutput.cpp,v 1.
9 2002/12/07 22:00:36
titer Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -529,11 +529,7 @@ VideoWindow::_AllocateBuffers(int width, int height, int* mode)
if
(
*
mode
==
BITMAP
)
{
// fallback to RGB
colspace_index
=
DEFAULT_COL
;
// B_RGB16
// FIXME: an error in the YUV->RGB32 module prevents this from being used!
/* BScreen screen( B_MAIN_SCREEN_ID );
if ( screen.ColorSpace() == B_RGB32 )
colspace_index = 3; // B_RGB32 (faster on 32 bit screen)*/
colspace_index
=
DEFAULT_COL
;
// B_RGB32
SetTitle
(
VOUT_TITLE
" (Bitmap)"
);
bitmap
[
0
]
=
new
BBitmap
(
bitmapFrame
,
colspace
[
colspace_index
].
colspace
);
bitmap
[
1
]
=
new
BBitmap
(
bitmapFrame
,
colspace
[
colspace_index
].
colspace
);
...
...
modules/gui/beos/VideoWindow.h
View file @
490a5961
...
...
@@ -2,7 +2,7 @@
* VideoWindow.h: BeOS video window class prototype
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: VideoWindow.h,v 1.
4 2002/12/03 02:00:38
titer Exp $
* $Id: VideoWindow.h,v 1.
5 2002/12/07 22:00:36
titer Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Tony Castley <tcastley@mail.powerup.com.au>
...
...
@@ -53,7 +53,7 @@ colorcombo colspace[]=
};
#define COLOR_COUNT 5
#define DEFAULT_COL
4
#define DEFAULT_COL
3
class
VLCView
:
public
BView
...
...
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