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
35349bbb
Commit
35349bbb
authored
Nov 25, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavd/sdl: apply misc cosmetics to options
parent
b23dea27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sdl.c
libavdevice/sdl.c
+4
-4
No files found.
libavdevice/sdl.c
View file @
35349bbb
...
...
@@ -338,10 +338,10 @@ static int sdl_write_packet(AVFormatContext *s, AVPacket *pkt)
#define OFFSET(x) offsetof(SDLContext,x)
static
const
AVOption
options
[]
=
{
{
"window_title"
,
"set SDL window title"
,
OFFSET
(
window_title
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
AV_OPT_FLAG_ENCODING_PARAM
},
{
"icon_title"
,
"set SDL iconified window title"
,
OFFSET
(
icon_title
)
,
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
AV_OPT_FLAG_ENCODING_PARAM
},
{
"window_size"
,
"set SDL window forced size"
,
OFFSET
(
window_width
),
AV_OPT_TYPE_IMAGE_SIZE
,
{.
str
=
NULL
},
0
,
0
,
AV_OPT_FLAG_ENCODING_PARAM
},
{
"window_fullscreen"
,
"set SDL window fullscreen"
,
OFFSET
(
window_fullscreen
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
INT_MIN
,
INT_MAX
,
AV_OPT_FLAG_ENCODING_PARAM
},
{
"window_title"
,
"set SDL window title"
,
OFFSET
(
window_title
),
AV_OPT_TYPE_STRING
,
{
.
str
=
NULL
},
0
,
0
,
AV_OPT_FLAG_ENCODING_PARAM
},
{
"icon_title"
,
"set SDL iconified window title"
,
OFFSET
(
icon_title
)
,
AV_OPT_TYPE_STRING
,
{
.
str
=
NULL
},
0
,
0
,
AV_OPT_FLAG_ENCODING_PARAM
},
{
"window_size"
,
"set SDL window forced size"
,
OFFSET
(
window_width
),
AV_OPT_TYPE_IMAGE_SIZE
,
{
.
str
=
NULL
},
0
,
0
,
AV_OPT_FLAG_ENCODING_PARAM
},
{
"window_fullscreen"
,
"set SDL window fullscreen"
,
OFFSET
(
window_fullscreen
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
INT_MIN
,
INT_MAX
,
AV_OPT_FLAG_ENCODING_PARAM
},
{
NULL
},
};
...
...
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