aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/electronicarts.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-08-20 06:06:41 +0000
committerAnton Khirnov <anton@khirnov.net>2014-08-22 11:15:20 +0000
commitcb7b1a2dfb547ab78342a7a9d5cd729d77d90421 (patch)
treeb56faef45dceed584374a209c685073149ec4b9c /libavformat/electronicarts.c
parent7b6aae23e12f41cdfac7f1069debfe44d9a3d136 (diff)
downloadffmpeg-cb7b1a2dfb547ab78342a7a9d5cd729d77d90421.tar.gz
electronicarts: set the framerate for TGQ/TQI
It is hardcoded to 15fps.
Diffstat (limited to 'libavformat/electronicarts.c')
-rw-r--r--libavformat/electronicarts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index 255bb7b6ce..7c1fabee0f 100644
--- a/libavformat/electronicarts.c
+++ b/libavformat/electronicarts.c
@@ -394,10 +394,12 @@ static int process_ea_header(AVFormatContext *s)
case pQGT_TAG:
case TGQs_TAG:
ea->video_codec = AV_CODEC_ID_TGQ;
+ ea->time_base = (AVRational) { 1, 15 };
break;
case pIQT_TAG:
ea->video_codec = AV_CODEC_ID_TQI;
+ ea->time_base = (AVRational) { 1, 15 };
break;
case MADk_TAG: