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
8b79a458
Commit
8b79a458
authored
Aug 29, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_fps: fix ABI compatibility with AV_NOPTS starttime
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
88262e1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vf_fps.c
libavfilter/vf_fps.c
+1
-1
No files found.
libavfilter/vf_fps.c
View file @
8b79a458
...
@@ -184,7 +184,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
...
@@ -184,7 +184,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
if
(
ret
<
0
)
if
(
ret
<
0
)
return
ret
;
return
ret
;
if
(
s
->
start_time
!=
DBL_MAX
)
{
if
(
s
->
start_time
!=
DBL_MAX
&&
s
->
start_time
!=
AV_NOPTS_VALUE
)
{
double
first_pts
=
s
->
start_time
*
AV_TIME_BASE
;
double
first_pts
=
s
->
start_time
*
AV_TIME_BASE
;
first_pts
=
FFMIN
(
FFMAX
(
first_pts
,
INT64_MIN
),
INT64_MAX
);
first_pts
=
FFMIN
(
FFMAX
(
first_pts
,
INT64_MIN
),
INT64_MAX
);
s
->
first_pts
=
s
->
pts
=
av_rescale_q
(
first_pts
,
AV_TIME_BASE_Q
,
s
->
first_pts
=
s
->
pts
=
av_rescale_q
(
first_pts
,
AV_TIME_BASE_Q
,
...
...
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