Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-QT
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chandrakant Jena
VLC-QT
Commits
f4821737
Commit
f4821737
authored
2 years ago
by
Romain Vimont
Committed by
Steve Lhomme
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
interop_sw: fix code style (alignment)
parent
80087285
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/video_output/opengl/interop_sw.c
+3
-3
3 additions, 3 deletions
modules/video_output/opengl/interop_sw.c
with
3 additions
and
3 deletions
modules/video_output/opengl/interop_sw.c
+
3
−
3
View file @
f4821737
...
...
@@ -282,19 +282,19 @@ upload_plane(const struct vlc_gl_interop *interop, unsigned tex_idx,
destination
+=
visible_pitch
;
}
priv
->
gl
.
TexSubImage2D
(
interop
->
tex_target
,
0
,
0
,
0
,
width
,
height
,
tex_format
,
tex_type
,
priv
->
texture_temp_buf
);
tex_format
,
tex_type
,
priv
->
texture_temp_buf
);
}
else
{
priv
->
gl
.
TexSubImage2D
(
interop
->
tex_target
,
0
,
0
,
0
,
width
,
height
,
tex_format
,
tex_type
,
pixels
);
tex_format
,
tex_type
,
pixels
);
}
}
else
{
priv
->
gl
.
PixelStorei
(
GL_UNPACK_ROW_LENGTH
,
pitch
*
width
/
(
visible_pitch
?
visible_pitch
:
1
));
priv
->
gl
.
TexSubImage2D
(
interop
->
tex_target
,
0
,
0
,
0
,
width
,
height
,
tex_format
,
tex_type
,
pixels
);
tex_format
,
tex_type
,
pixels
);
priv
->
gl
.
PixelStorei
(
GL_UNPACK_ROW_LENGTH
,
0
);
}
return
VLC_SUCCESS
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment