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
7f9369b7
Commit
7f9369b7
authored
Dec 15, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: update rfps debug code.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
d19ca77f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utils.c
libavformat/utils.c
+2
-2
No files found.
libavformat/utils.c
View file @
7f9369b7
...
@@ -2494,8 +2494,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
...
@@ -2494,8 +2494,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
double
dts
=
pkt
->
dts
*
av_q2d
(
st
->
time_base
);
double
dts
=
pkt
->
dts
*
av_q2d
(
st
->
time_base
);
int64_t
duration
=
pkt
->
dts
-
last
;
int64_t
duration
=
pkt
->
dts
-
last
;
// if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO)
//
if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO)
//
av_log(NULL, AV_LOG_ERROR, "%f\n", dur
);
//
av_log(NULL, AV_LOG_ERROR, "%f\n", dts
);
for
(
i
=
1
;
i
<
FF_ARRAY_ELEMS
(
st
->
info
->
duration_error
[
0
][
0
]);
i
++
)
{
for
(
i
=
1
;
i
<
FF_ARRAY_ELEMS
(
st
->
info
->
duration_error
[
0
][
0
]);
i
++
)
{
int
framerate
=
get_std_framerate
(
i
);
int
framerate
=
get_std_framerate
(
i
);
double
sdts
=
dts
*
framerate
/
(
1001
*
12
);
double
sdts
=
dts
*
framerate
/
(
1001
*
12
);
...
...
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