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
b881a2e2
Commit
b881a2e2
authored
Sep 04, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_drawtext: Fix reinit to allow color changes.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
09c5f990
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
vf_drawtext.c
libavfilter/vf_drawtext.c
+4
-1
No files found.
libavfilter/vf_drawtext.c
View file @
b881a2e2
...
@@ -408,8 +408,11 @@ static int config_input(AVFilterLink *inlink)
...
@@ -408,8 +408,11 @@ static int config_input(AVFilterLink *inlink)
static
int
command
(
AVFilterContext
*
ctx
,
const
char
*
cmd
,
const
char
*
arg
,
char
*
res
,
int
res_len
,
int
flags
)
static
int
command
(
AVFilterContext
*
ctx
,
const
char
*
cmd
,
const
char
*
arg
,
char
*
res
,
int
res_len
,
int
flags
)
{
{
if
(
!
strcmp
(
cmd
,
"reinit"
)){
if
(
!
strcmp
(
cmd
,
"reinit"
)){
int
ret
;
uninit
(
ctx
);
uninit
(
ctx
);
return
init
(
ctx
,
arg
,
NULL
);
if
((
ret
=
init
(
ctx
,
arg
,
NULL
))
<
0
)
return
ret
;
return
config_input
(
ctx
->
inputs
[
0
]);
}
}
return
AVERROR
(
ENOSYS
);
return
AVERROR
(
ENOSYS
);
...
...
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