summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AVIDump.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-01-21 13:32:35 +0100
committerPierre Bourdon <delroth@gmail.com>2016-01-21 13:32:35 +0100
commitfa785d70b1e5e802a37eea99cb26546851d1ca95 (patch)
tree2a8d1648c1c3ea3f2b4a4ba697bcf46fc4d5784c /Source/Core/VideoCommon/AVIDump.cpp
parent3a12dccac7f743b92ef1ca0fb9130453bb4ef031 (diff)
parent82147f42af4d2caeb62d5403e9757f4806f150b1 (diff)
Merge pull request #3540 from lioncash/vi
VideoInterface: Change a global into a translation-unit local variable
Diffstat (limited to 'Source/Core/VideoCommon/AVIDump.cpp')
-rw-r--r--Source/Core/VideoCommon/AVIDump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/AVIDump.cpp b/Source/Core/VideoCommon/AVIDump.cpp
index e12a21ce6a..f6f7783b16 100644
--- a/Source/Core/VideoCommon/AVIDump.cpp
+++ b/Source/Core/VideoCommon/AVIDump.cpp
@@ -108,7 +108,7 @@ bool AVIDump::CreateFile()
s_stream->codec->width = s_width;
s_stream->codec->height = s_height;
s_stream->codec->time_base.num = 1;
- s_stream->codec->time_base.den = VideoInterface::TargetRefreshRate;
+ s_stream->codec->time_base.den = VideoInterface::GetTargetRefreshRate();
s_stream->codec->gop_size = 12;
s_stream->codec->pix_fmt = g_Config.bUseFFV1 ? AV_PIX_FMT_BGRA : AV_PIX_FMT_YUV420P;