Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
7d5dbada
Commit
7d5dbada
authored
Jun 26, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a segfault with opengl provider.
parent
d5a5026d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
src/video_output/display.c
src/video_output/display.c
+17
-0
No files found.
src/video_output/display.c
View file @
7d5dbada
...
...
@@ -681,12 +681,29 @@ static vout_window_t *VoutDisplayNewWindow(vout_display_t *vd, const vout_window
{
vout_display_owner_sys_t
*
osys
=
vd
->
owner
.
sys
;
#ifdef ALLOW_DUMMY_VOUT
if
(
!
osys
->
vout
->
p
)
{
vout_window_cfg_t
cfg_override
=
*
cfg
;
if
(
!
var_InheritBool
(
osys
->
vout
,
"embedded-video"
))
cfg_override
.
is_standalone
=
true
;
return
vout_window_New
(
VLC_OBJECT
(
osys
->
vout
),
NULL
,
&
cfg_override
);
}
#endif
return
vout_NewDisplayWindow
(
osys
->
vout
,
vd
,
cfg
);
}
static
void
VoutDisplayDelWindow
(
vout_display_t
*
vd
,
vout_window_t
*
window
)
{
vout_display_owner_sys_t
*
osys
=
vd
->
owner
.
sys
;
#ifdef ALLOW_DUMMY_VOUT
if
(
!
osys
->
vout
->
p
)
{
if
(
window
)
vout_window_Delete
(
window
);
return
;
}
#endif
vout_DeleteDisplayWindow
(
osys
->
vout
,
vd
,
window
);
}
...
...
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