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
53ddd43f
Commit
53ddd43f
authored
Jul 04, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv: use only meaningful timestamps in start time check.
parent
b98c8f4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
avconv.c
avconv.c
+5
-4
No files found.
avconv.c
View file @
53ddd43f
...
...
@@ -1560,7 +1560,7 @@ static int poll_filters(void)
break
;
avfilter_copy_buf_props
(
filtered_frame
,
picref
);
if
(
picref
->
pts
!=
AV_NOPTS_VALUE
)
if
(
picref
->
pts
!=
AV_NOPTS_VALUE
)
{
filtered_frame
->
pts
=
av_rescale_q
(
picref
->
pts
,
ost
->
filter
->
filter
->
inputs
[
0
]
->
time_base
,
ost
->
st
->
codec
->
time_base
)
-
...
...
@@ -1568,9 +1568,10 @@ static int poll_filters(void)
AV_TIME_BASE_Q
,
ost
->
st
->
codec
->
time_base
);
if
(
of
->
start_time
&&
filtered_frame
->
pts
<
0
)
{
avfilter_unref_buffer
(
picref
);
continue
;
if
(
of
->
start_time
&&
filtered_frame
->
pts
<
0
)
{
avfilter_unref_buffer
(
picref
);
continue
;
}
}
switch
(
ost
->
filter
->
filter
->
inputs
[
0
]
->
type
)
{
...
...
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