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
bedf5ce5
Commit
bedf5ce5
authored
Oct 29, 2000
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
. le mode framebuffer vide l'�cran quand on quitte.
parent
aa1be1aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
ChangeLog
ChangeLog
+2
-0
plugins/fb/vout_fb.c
plugins/fb/vout_fb.c
+5
-1
src/video_output/video_output.c
src/video_output/video_output.c
+1
-1
No files found.
ChangeLog
View file @
bedf5ce5
...
...
@@ -6,6 +6,8 @@
* Fixed a 100% cpu usage bug, in the dummy aout.
* Added a 'f' shortcut to switch between Windowed and Fullscreen
mode.
* Added --broadcast option for network input.
* Screen is now emptied when framebuffer output exits.
Mon, 28 Aug 2000 02:34:18 +0200
0.1.99i :
...
...
plugins/fb/vout_fb.c
View file @
bedf5ce5
...
...
@@ -325,7 +325,8 @@ static int FBOpenDisplay( vout_thread_t *p_vout )
p_vout
->
p_sys
->
p_video
=
mmap
(
0
,
p_vout
->
p_sys
->
i_page_size
*
2
,
PROT_READ
|
PROT_WRITE
,
MAP_SHARED
,
p_vout
->
p_sys
->
i_fb_dev
,
0
);
if
(
(
int
)
p_vout
->
p_sys
->
p_video
==
-
1
)
/* XXX?? according to man, it is -1. What about NULL ? */
memset
(
p_vout
->
p_sys
->
p_video
,
0
,
p_vout
->
p_sys
->
i_page_size
*
2
);
if
(
(
int
)
p_vout
->
p_sys
->
p_video
==
-
1
)
/* according to man, it is -1. What about NULL ? */
{
intf_ErrMsg
(
"vout error: can't map video memory (%s)
\n
"
,
strerror
(
errno
)
);
/* FIXME: restore fb config ?? */
...
...
@@ -349,6 +350,9 @@ static int FBOpenDisplay( vout_thread_t *p_vout )
*****************************************************************************/
static
void
FBCloseDisplay
(
vout_thread_t
*
p_vout
)
{
/* Clear display */
memset
(
p_vout
->
p_sys
->
p_video
,
0
,
p_vout
->
p_sys
->
i_page_size
*
2
);
/* Restore palette */
if
(
p_vout
->
i_screen_depth
==
8
);
{
...
...
src/video_output/video_output.c
View file @
bedf5ce5
...
...
@@ -1778,7 +1778,7 @@ int RenderSplash( vout_thread_t *p_vout )
{
int
i_x
=
0
,
i_y
=
0
;
/* text position */
int
i_width
,
i_height
;
/* text size */
char
*
psz_text
=
"VideoL
an Client ("
VERSION
")"
;
/* text to display */
char
*
psz_text
=
"VideoL
AN Client ("
VERSION
")"
;
/* text to display */
memset
(
p_vout
->
p_buffer
[
p_vout
->
i_buffer_index
].
p_data
,
p_vout
->
i_bytes_per_line
*
p_vout
->
i_height
,
12
);
...
...
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