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
53047220
Commit
53047220
authored
Oct 28, 2002
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* plugins/directx/vout_directx.c: fixed a nasty segfault on initialization.
parent
103e0016
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
plugins/directx/vout_directx.c
plugins/directx/vout_directx.c
+5
-5
No files found.
plugins/directx/vout_directx.c
View file @
53047220
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* vout_directx.c: Windows DirectX video output display method
* vout_directx.c: Windows DirectX video output display method
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: vout_directx.c,v 1.36.2.
2 2002/10/03 16:44:41
gbazin Exp $
* $Id: vout_directx.c,v 1.36.2.
3 2002/10/28 20:03:07
gbazin Exp $
*
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
*
...
@@ -1218,7 +1218,7 @@ static int UpdatePictureStruct( vout_thread_t *p_vout, picture_t *p_pic,
...
@@ -1218,7 +1218,7 @@ static int UpdatePictureStruct( vout_thread_t *p_vout, picture_t *p_pic,
p_pic
->
p
[
V_PLANE
].
i_lines
=
p_vout
->
output
.
i_height
/
2
;
p_pic
->
p
[
V_PLANE
].
i_lines
=
p_vout
->
output
.
i_height
/
2
;
p_pic
->
p
[
V_PLANE
].
i_pitch
=
p_pic
->
p
[
Y_PLANE
].
i_pitch
/
2
;
p_pic
->
p
[
V_PLANE
].
i_pitch
=
p_pic
->
p
[
Y_PLANE
].
i_pitch
/
2
;
p_pic
->
p
[
V_PLANE
].
i_pixel_bytes
=
1
;
p_pic
->
p
[
V_PLANE
].
i_pixel_bytes
=
1
;
p_pic
->
p
[
V_PLANE
].
i_visible_bytes
=
p_vout
->
output
.
i_width
*
p_pic
->
p
[
V_PLANE
].
i_visible_bytes
=
p_vout
->
output
.
i_width
/
2
*
p_pic
->
p
[
V_PLANE
].
i_pixel_bytes
;
p_pic
->
p
[
V_PLANE
].
i_pixel_bytes
;
p_pic
->
p
[
V_PLANE
].
b_margin
=
0
;
p_pic
->
p
[
V_PLANE
].
b_margin
=
0
;
...
@@ -1227,7 +1227,7 @@ static int UpdatePictureStruct( vout_thread_t *p_vout, picture_t *p_pic,
...
@@ -1227,7 +1227,7 @@ static int UpdatePictureStruct( vout_thread_t *p_vout, picture_t *p_pic,
p_pic
->
p
[
U_PLANE
].
i_lines
=
p_vout
->
output
.
i_height
/
2
;
p_pic
->
p
[
U_PLANE
].
i_lines
=
p_vout
->
output
.
i_height
/
2
;
p_pic
->
p
[
U_PLANE
].
i_pitch
=
p_pic
->
p
[
Y_PLANE
].
i_pitch
/
2
;
p_pic
->
p
[
U_PLANE
].
i_pitch
=
p_pic
->
p
[
Y_PLANE
].
i_pitch
/
2
;
p_pic
->
p
[
U_PLANE
].
i_pixel_bytes
=
1
;
p_pic
->
p
[
U_PLANE
].
i_pixel_bytes
=
1
;
p_pic
->
p
[
U_PLANE
].
i_visible_bytes
=
p_vout
->
output
.
i_width
*
p_pic
->
p
[
U_PLANE
].
i_visible_bytes
=
p_vout
->
output
.
i_width
/
2
*
p_pic
->
p
[
U_PLANE
].
i_pixel_bytes
;
p_pic
->
p
[
U_PLANE
].
i_pixel_bytes
;
p_pic
->
p
[
U_PLANE
].
b_margin
=
0
;
p_pic
->
p
[
U_PLANE
].
b_margin
=
0
;
...
@@ -1249,7 +1249,7 @@ static int UpdatePictureStruct( vout_thread_t *p_vout, picture_t *p_pic,
...
@@ -1249,7 +1249,7 @@ static int UpdatePictureStruct( vout_thread_t *p_vout, picture_t *p_pic,
p_pic
->
p
[
U_PLANE
].
i_lines
=
p_vout
->
output
.
i_height
/
2
;
p_pic
->
p
[
U_PLANE
].
i_lines
=
p_vout
->
output
.
i_height
/
2
;
p_pic
->
p
[
U_PLANE
].
i_pitch
=
p_pic
->
p
[
Y_PLANE
].
i_pitch
/
2
;
p_pic
->
p
[
U_PLANE
].
i_pitch
=
p_pic
->
p
[
Y_PLANE
].
i_pitch
/
2
;
p_pic
->
p
[
U_PLANE
].
i_pixel_bytes
=
1
;
p_pic
->
p
[
U_PLANE
].
i_pixel_bytes
=
1
;
p_pic
->
p
[
U_PLANE
].
i_visible_bytes
=
p_vout
->
output
.
i_width
*
p_pic
->
p
[
U_PLANE
].
i_visible_bytes
=
p_vout
->
output
.
i_width
/
2
*
p_pic
->
p
[
U_PLANE
].
i_pixel_bytes
;
p_pic
->
p
[
U_PLANE
].
i_pixel_bytes
;
p_pic
->
p
[
U_PLANE
].
b_margin
=
0
;
p_pic
->
p
[
U_PLANE
].
b_margin
=
0
;
...
@@ -1258,7 +1258,7 @@ static int UpdatePictureStruct( vout_thread_t *p_vout, picture_t *p_pic,
...
@@ -1258,7 +1258,7 @@ static int UpdatePictureStruct( vout_thread_t *p_vout, picture_t *p_pic,
p_pic
->
p
[
V_PLANE
].
i_lines
=
p_vout
->
output
.
i_height
/
2
;
p_pic
->
p
[
V_PLANE
].
i_lines
=
p_vout
->
output
.
i_height
/
2
;
p_pic
->
p
[
V_PLANE
].
i_pitch
=
p_pic
->
p
[
Y_PLANE
].
i_pitch
/
2
;
p_pic
->
p
[
V_PLANE
].
i_pitch
=
p_pic
->
p
[
Y_PLANE
].
i_pitch
/
2
;
p_pic
->
p
[
V_PLANE
].
i_pixel_bytes
=
1
;
p_pic
->
p
[
V_PLANE
].
i_pixel_bytes
=
1
;
p_pic
->
p
[
V_PLANE
].
i_visible_bytes
=
p_vout
->
output
.
i_width
*
p_pic
->
p
[
V_PLANE
].
i_visible_bytes
=
p_vout
->
output
.
i_width
/
2
*
p_pic
->
p
[
V_PLANE
].
i_pixel_bytes
;
p_pic
->
p
[
V_PLANE
].
i_pixel_bytes
;
p_pic
->
p
[
V_PLANE
].
b_margin
=
0
;
p_pic
->
p
[
V_PLANE
].
b_margin
=
0
;
...
...
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