Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xvba-video
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
xvba-video
Commits
15b861f7
Commit
15b861f7
authored
Sep 13, 2012
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/xvba_video.c: extra ASSERTS()
parent
1085bfd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/xvba_video_glx.c
src/xvba_video_glx.c
+4
-1
No files found.
src/xvba_video_glx.c
View file @
15b861f7
...
@@ -1787,8 +1787,10 @@ glx_output_surface_destroy(
...
@@ -1787,8 +1787,10 @@ glx_output_surface_destroy(
obj_output
->
render_context
=
NULL
;
obj_output
->
render_context
=
NULL
;
}
}
if
(
obj_output
->
parent
)
if
(
obj_output
->
parent
)
{
ASSERT
(
obj_output
->
parent
->
children_count
>
0
);
--
obj_output
->
parent
->
children_count
;
--
obj_output
->
parent
->
children_count
;
}
if
(
obj_output
->
gl_surface
)
{
if
(
obj_output
->
gl_surface
)
{
if
(
!
obj_output
->
parent
)
if
(
!
obj_output
->
parent
)
...
@@ -1953,6 +1955,7 @@ glx_output_surface_create(
...
@@ -1953,6 +1955,7 @@ glx_output_surface_create(
gl_set_current_context_cache
(
1
);
gl_set_current_context_cache
(
1
);
/* XXX: check that we don't already have a valid GLX context */
/* XXX: check that we don't already have a valid GLX context */
ASSERT
(
obj_output
->
gl_context
==
NULL
);
obj_output
->
gl_context
=
gl_create_context
(
obj_output
->
gl_context
=
gl_create_context
(
driver_data
->
x11_dpy
,
driver_data
->
x11_dpy
,
driver_data
->
x11_screen
,
driver_data
->
x11_screen
,
...
...
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