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
d7fbe926
Commit
d7fbe926
authored
Jul 08, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: move creation_time for ffserver setting up
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a03e79ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
ffmpeg_opt.c
ffmpeg_opt.c
+10
-3
No files found.
ffmpeg_opt.c
View file @
d7fbe926
...
...
@@ -1509,9 +1509,6 @@ static int read_ffserver_streams(OptionsContext *o, AVFormatContext *s, const ch
choose_pixel_fmt
(
st
,
codec
,
st
->
codec
->
pix_fmt
);
}
/* ffserver seeking with date=... needs a date reference */
err
=
parse_option
(
o
,
"metadata"
,
"creation_time=now"
,
options
);
avformat_close_input
(
&
ic
);
return
err
;
}
...
...
@@ -1639,6 +1636,16 @@ static int open_output_file(OptionsContext *o, const char *filename)
}
}
/* ffserver seeking with date=... needs a date reference */
if
(
!
strcmp
(
file_oformat
->
name
,
"ffm"
)
&&
av_strstart
(
filename
,
"http:"
,
NULL
))
{
int
err
=
parse_option
(
o
,
"metadata"
,
"creation_time=now"
,
options
);
if
(
err
<
0
)
{
print_error
(
filename
,
err
);
exit_program
(
1
);
}
}
if
(
!
strcmp
(
file_oformat
->
name
,
"ffm"
)
&&
av_strstart
(
filename
,
"http:"
,
NULL
))
{
int
j
;
...
...
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