Commit 0cc21550 authored by michael's avatar michael

10l to whoever wrote this (wrong fps, fixes nirvana.nuv)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7781 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d695c0ee
...@@ -154,7 +154,7 @@ static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) { ...@@ -154,7 +154,7 @@ static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) {
vst->codec->height = height; vst->codec->height = height;
vst->codec->bits_per_sample = 10; vst->codec->bits_per_sample = 10;
vst->codec->sample_aspect_ratio = av_d2q(aspect, 10000); vst->codec->sample_aspect_ratio = av_d2q(aspect, 10000);
vst->r_frame_rate = av_d2q(1.0 / fps, 10000); vst->r_frame_rate = av_d2q(fps, 60000);
av_set_pts_info(vst, 32, 1, 1000); av_set_pts_info(vst, 32, 1, 1000);
} else } else
ctx->v_id = -1; ctx->v_id = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment