Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Reimar Döffinger authored on 2011/08/04 03:05:59... | ... |
@@ -346,6 +346,8 @@ static int gxf_header(AVFormatContext *s, AVFormatParameters *ap) { |
346 | 346 |
avio_skip(pb, 0x30); // payload description |
347 | 347 |
fps = fps_umf2avr(avio_rl32(pb)); |
348 | 348 |
if (!main_timebase.num || !main_timebase.den) { |
349 |
+ av_log(s, AV_LOG_WARNING, "No FPS track tag, using UMF fps tag." |
|
350 |
+ " This might give wrong results.\n"); |
|
349 | 351 |
// this may not always be correct, but simply the best we can get |
350 | 352 |
main_timebase.num = fps.den; |
351 | 353 |
main_timebase.den = fps.num * 2; |