Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
dce47e91
Commit
dce47e91
authored
May 18, 2005
by
sigmunau
Browse files
wx/video.cpp: Don't crash with --no-wxwin-embed
parent
24dfb6fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/wxwindows/video.cpp
View file @
dce47e91
...
...
@@ -104,7 +104,7 @@ wxWindow *CreateVideoWindow( intf_thread_t *p_intf, wxWindow *p_parent )
void
UpdateVideoWindow
(
intf_thread_t
*
p_intf
,
wxWindow
*
p_window
)
{
#if (wxCHECK_VERSION(2,5,0))
if
(
mdate
()
-
((
VideoWindow
*
)
p_window
)
->
i_creation_date
<
2000000
)
if
(
p_window
&&
mdate
()
-
((
VideoWindow
*
)
p_window
)
->
i_creation_date
<
2000000
)
return
;
/* Hack to prevent saving coordinates if window is not yet
* properly created. Yuck :( */
...
...
Write
Preview
Supports
Markdown
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