Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
72776adf
Commit
72776adf
authored
Oct 12, 2011
by
Jean First
Committed by
Marton Balint
Oct 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: avoid window resize crash on osx with libsdl 1.2.14
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
abb0e4f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
ffplay.c
ffplay.c
+0
-6
No files found.
ffplay.c
View file @
72776adf
...
...
@@ -943,13 +943,7 @@ static int video_open(VideoState *is){
if
(
screen
&&
is
->
width
==
screen
->
w
&&
screen
->
w
==
w
&&
is
->
height
==
screen
->
h
&&
screen
->
h
==
h
)
return
0
;
#ifndef __APPLE__
screen
=
SDL_SetVideoMode
(
w
,
h
,
0
,
flags
);
#else
/* setting bits_per_pixel = 0 or 32 causes blank video on OS X */
screen
=
SDL_SetVideoMode
(
w
,
h
,
24
,
flags
);
#endif
if
(
!
screen
)
{
fprintf
(
stderr
,
"SDL: could not set video mode - exiting
\n
"
);
do_exit
(
is
);
...
...
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