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
4e5a8878
Commit
4e5a8878
authored
Dec 13, 2012
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asyncts: ignore min_delta only if first_pts is set
parent
c0dc57f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
af_asyncts.c
libavfilter/af_asyncts.c
+2
-1
No files found.
libavfilter/af_asyncts.c
View file @
4e5a8878
...
@@ -215,7 +215,8 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *buf)
...
@@ -215,7 +215,8 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *buf)
delta
=
pts
-
s
->
pts
-
get_delay
(
s
);
delta
=
pts
-
s
->
pts
-
get_delay
(
s
);
out_size
=
avresample_available
(
s
->
avr
);
out_size
=
avresample_available
(
s
->
avr
);
if
(
labs
(
delta
)
>
s
->
min_delta
||
(
s
->
first_frame
&&
delta
))
{
if
(
labs
(
delta
)
>
s
->
min_delta
||
(
s
->
first_frame
&&
delta
&&
s
->
first_pts
!=
AV_NOPTS_VALUE
))
{
av_log
(
ctx
,
AV_LOG_VERBOSE
,
"Discontinuity - %"
PRId64
" samples.
\n
"
,
delta
);
av_log
(
ctx
,
AV_LOG_VERBOSE
,
"Discontinuity - %"
PRId64
" samples.
\n
"
,
delta
);
out_size
=
av_clipl_int32
((
int64_t
)
out_size
+
delta
);
out_size
=
av_clipl_int32
((
int64_t
)
out_size
+
delta
);
}
else
{
}
else
{
...
...
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