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
262ea965
Commit
262ea965
authored
Feb 28, 2014
by
tue46wsdgxfjrt
Committed by
Michael Niedermayer
Apr 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdutils: preserve unchanged log flags when setting AV_LOG_SKIP_REPEATED
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b217dc91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
cmdutils.c
cmdutils.c
+8
-1
No files found.
cmdutils.c
View file @
262ea965
...
...
@@ -834,10 +834,17 @@ int opt_loglevel(void *optctx, const char *opt, const char *arg)
};
char
*
tail
;
int
level
;
int
flags
;
int
i
;
flags
=
av_log_get_flags
();
tail
=
strstr
(
arg
,
"repeat"
);
av_log_set_flags
(
tail
?
0
:
AV_LOG_SKIP_REPEATED
);
if
(
tail
)
flags
&=
~
AV_LOG_SKIP_REPEATED
;
else
flags
|=
AV_LOG_SKIP_REPEATED
;
av_log_set_flags
(
flags
);
if
(
tail
==
arg
)
arg
+=
6
+
(
arg
[
6
]
==
'+'
);
if
(
tail
&&
!*
arg
)
...
...
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