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
6c117d43
Commit
6c117d43
authored
May 26, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVOptions: set string default values.
parent
aaea1490
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
opt.c
libavutil/opt.c
+3
-1
No files found.
libavutil/opt.c
View file @
6c117d43
...
@@ -443,8 +443,10 @@ void av_opt_set_defaults2(void *s, int mask, int flags)
...
@@ -443,8 +443,10 @@ void av_opt_set_defaults2(void *s, int mask, int flags)
}
}
break
;
break
;
case
FF_OPT_TYPE_STRING
:
case
FF_OPT_TYPE_STRING
:
av_set_string3
(
s
,
opt
->
name
,
opt
->
default_val
.
str
,
1
,
NULL
);
break
;
case
FF_OPT_TYPE_BINARY
:
case
FF_OPT_TYPE_BINARY
:
/* Cannot set default for
string as default_val is of type * double
*/
/* Cannot set default for
binary
*/
break
;
break
;
default:
default:
av_log
(
s
,
AV_LOG_DEBUG
,
"AVOption type %d of option %s not implemented yet
\n
"
,
opt
->
type
,
opt
->
name
);
av_log
(
s
,
AV_LOG_DEBUG
,
"AVOption type %d of option %s not implemented yet
\n
"
,
opt
->
type
,
opt
->
name
);
...
...
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