Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
451
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
5f8aad2e
Commit
5f8aad2e
authored
3 years ago
by
Romain Vimont
Committed by
Jean-Baptiste Kempf
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
opengl: expose glfmt to public filter
This will allow filters to access the format easily from the callbacks.
parent
f202ba92
No related branches found
No related tags found
1 merge request
!801
Refactor OpenGL filters API and implementation
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/video_output/opengl/filter.c
+3
-0
3 additions, 0 deletions
modules/video_output/opengl/filter.c
modules/video_output/opengl/filter.h
+1
-0
1 addition, 0 deletions
modules/video_output/opengl/filter.h
with
4 additions
and
0 deletions
modules/video_output/opengl/filter.c
+
3
−
0
View file @
5f8aad2e
...
...
@@ -61,6 +61,9 @@ vlc_gl_filter_New(struct vlc_gl_t *gl, const struct vlc_gl_api *api)
vlc_list_init
(
&
priv
->
blend_subfilters
);
/* Expose a const pointer to the OpenGL format publicly */
filter
->
glfmt_in
=
&
priv
->
glfmt_in
;
return
filter
;
}
...
...
This diff is collapsed.
Click to expand it.
modules/video_output/opengl/filter.h
+
1
−
0
View file @
5f8aad2e
...
...
@@ -92,6 +92,7 @@ struct vlc_gl_filter {
struct
vlc_gl_t
*
gl
;
const
struct
vlc_gl_api
*
api
;
const
struct
vlc_gl_format
*
glfmt_in
;
struct
{
/**
...
...
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