summaryrefslogtreecommitdiff
path: root/libavformat/electronicarts.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-03-01 21:24:16 +0100
committerAnton Khirnov <anton@khirnov.net>2012-03-02 11:11:38 +0100
commitefec3bc65a5a1ea92de2ba6229c6bef43887d094 (patch)
tree30a2f078942404d361f7d1b9159d06218419e470 /libavformat/electronicarts.c
parente39400c3a817bde969e44f8ebfc7ebe4dae3f09f (diff)
electronicarts: set timebase for tgv video.
The container has no timestamps and the framerate isn't stored in the data either. The decoder sets codec timebase to experimentally found value 1/15. Do the same for the demuxer too, it should at least be better than the default 1/90000.
Diffstat (limited to 'libavformat/electronicarts.c')
-rw-r--r--libavformat/electronicarts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index a7beefd01b..6a07dac7e8 100644
--- a/libavformat/electronicarts.c
+++ b/libavformat/electronicarts.c
@@ -349,7 +349,7 @@ static int process_ea_header(AVFormatContext *s) {
case kVGT_TAG:
ea->video_codec = CODEC_ID_TGV;
- ea->time_base = (AVRational){0,0};
+ ea->time_base = (AVRational){1, 15};
break;
case mTCD_TAG :