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
887ce251
Commit
887ce251
authored
Oct 05, 2015
by
Petri Hintukainen
Committed by
Jean-Baptiste Kempf
Oct 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluray: fix background color
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
92b36693
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/access/bluray.c
modules/access/bluray.c
+5
-4
No files found.
modules/access/bluray.c
View file @
887ce251
...
@@ -364,7 +364,8 @@ static void startBackground(demux_t *p_demux)
...
@@ -364,7 +364,8 @@ static void startBackground(demux_t *p_demux)
return
;
return
;
}
}
block_t
*
p_block
=
block_Alloc
(
1920
*
1080
*
3
/
2
);
block_t
*
p_block
=
block_Alloc
(
fmt
.
video
.
i_width
*
fmt
.
video
.
i_height
*
fmt
.
video
.
i_bits_per_pixel
/
8
);
if
(
!
p_block
)
{
if
(
!
p_block
)
{
msg_Err
(
p_demux
,
"Error allocating block for background video"
);
msg_Err
(
p_demux
,
"Error allocating block for background video"
);
return
;
return
;
...
@@ -374,9 +375,9 @@ static void startBackground(demux_t *p_demux)
...
@@ -374,9 +375,9 @@ static void startBackground(demux_t *p_demux)
p_block
->
i_dts
=
p_block
->
i_pts
=
mdate
()
+
CLOCK_FREQ
/
25
;
p_block
->
i_dts
=
p_block
->
i_pts
=
mdate
()
+
CLOCK_FREQ
/
25
;
uint8_t
*
p
=
p_block
->
p_buffer
;
uint8_t
*
p
=
p_block
->
p_buffer
;
memset
(
p
,
0
,
1920
*
1080
);
memset
(
p
,
0
,
fmt
.
video
.
i_width
*
fmt
.
video
.
i_height
);
p
+=
1920
*
1080
;
p
+=
fmt
.
video
.
i_width
*
fmt
.
video
.
i_height
;
memset
(
p
,
0x80
,
1920
*
1080
/
4
);
memset
(
p
,
0x80
,
fmt
.
video
.
i_width
*
fmt
.
video
.
i_height
/
2
);
es_out_Send
(
p_demux
->
out
,
p_sys
->
p_dummy_video
,
p_block
);
es_out_Send
(
p_demux
->
out
,
p_sys
->
p_dummy_video
,
p_block
);
}
}
...
...
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