summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2016-06-03 19:33:51 -0400
committerBradley Sepos <[email protected]>2016-06-03 19:33:51 -0400
commit6c6524adf93e530d8be5b53e23e678de34a66606 (patch)
tree0d0c5162166f4e9091644fb3da8b40d6d13b279c /test
parente24020fdcc906b9c88f4bd68df34873d2df47631 (diff)
cli: Fix frame rate mode when not explicitly set.
Diffstat (limited to 'test')
-rw-r--r--test/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test.c b/test/test.c
index 822e4d849..4133d2144 100644
--- a/test/test.c
+++ b/test/test.c
@@ -3517,10 +3517,12 @@ static hb_dict_t * PreparePreset(const char *preset_name)
if (vrate != NULL)
{
hb_dict_set(preset, "VideoFramerate", hb_value_string(vrate));
+ hb_dict_set(preset, "VideoFramerateMode", hb_value_string("pfr"));
}
else
{
hb_dict_set(preset, "VideoFramerate", hb_value_string("auto"));
+ hb_dict_set(preset, "VideoFramerateMode", hb_value_string("vfr"));
}
if (cfr != -1)
{