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
78972a69
Commit
78972a69
authored
Sep 30, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/utils: ignore subtitle timestamps in timings calculation
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
dacf0766
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils.c
libavformat/utils.c
+1
-1
No files found.
libavformat/utils.c
View file @
78972a69
...
...
@@ -1898,7 +1898,7 @@ static void update_stream_timings(AVFormatContext *ic)
st
=
ic
->
streams
[
i
];
if
(
st
->
start_time
!=
AV_NOPTS_VALUE
&&
st
->
time_base
.
den
)
{
start_time1
=
av_rescale_q
(
st
->
start_time
,
st
->
time_base
,
AV_TIME_BASE_Q
);
if
(
st
->
codec
->
codec_id
==
CODEC_ID_DVB_TELETEXT
)
{
if
(
st
->
codec
->
codec_id
==
CODEC_ID_DVB_TELETEXT
||
st
->
codec
->
codec_type
==
AVMEDIA_TYPE_SUBTITLE
)
{
if
(
start_time1
<
start_time_text
)
start_time_text
=
start_time1
;
}
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