Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2017
Shaan
vlc
Commits
696e5db0
Commit
696e5db0
authored
May 21, 2013
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vout_macosx: add error messages on failure
parent
7111671f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/video_output/macosx.m
modules/video_output/macosx.m
+2
-1
No files found.
modules/video_output/macosx.m
View file @
696e5db0
...
...
@@ -173,7 +173,7 @@ static int Open (vlc_object_t *this)
container
=
sys
->
embed
->
handle
.
nsobject
;
if
(
!
container
)
{
msg_
Dbg
(
vd
,
"No drawable-nsobject nor vout_window_t found, passing over."
);
msg_
Err
(
vd
,
"No drawable-nsobject nor vout_window_t found, passing over."
);
goto
error
;
}
}
...
...
@@ -220,6 +220,7 @@ static int Open (vlc_object_t *this)
sys
->
vgl
=
vout_display_opengl_New
(
&
vd
->
fmt
,
&
subpicture_chromas
,
&
sys
->
gl
);
if
(
!
sys
->
vgl
)
{
msg_Err
(
vd
,
"Error while initializing opengl display."
);
sys
->
gl
.
sys
=
NULL
;
goto
error
;
}
...
...
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