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
1816addc
Commit
1816addc
authored
Aug 03, 2011
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warn when falling back to unreliable UMF fps tag.
Signed-off-by:
Reimar Döffinger
<
Reimar.Doeffinger@gmx.de
>
parent
46eaaad8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
gxf.c
libavformat/gxf.c
+2
-0
No files found.
libavformat/gxf.c
View file @
1816addc
...
...
@@ -346,6 +346,8 @@ static int gxf_header(AVFormatContext *s, AVFormatParameters *ap) {
avio_skip
(
pb
,
0x30
);
// payload description
fps
=
fps_umf2avr
(
avio_rl32
(
pb
));
if
(
!
main_timebase
.
num
||
!
main_timebase
.
den
)
{
av_log
(
s
,
AV_LOG_WARNING
,
"No FPS track tag, using UMF fps tag."
" This might give wrong results.
\n
"
);
// this may not always be correct, but simply the best we can get
main_timebase
.
num
=
fps
.
den
;
main_timebase
.
den
=
fps
.
num
*
2
;
...
...
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