summaryrefslogtreecommitdiff
path: root/src/wx/content_menu.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-15 01:58:54 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-15 23:24:56 +0200
commitae92bd2fbd2a74d14e2635003554aa76016ab425 (patch)
tree404bdba42eba94a9bb377c25b6c58e5072eacad2 /src/wx/content_menu.cc
parent8df0d52eb09043ac9f156f2886123a4888911d57 (diff)
Make video frame rate option respect OK/Cancel.
Diffstat (limited to 'src/wx/content_menu.cc')
-rw-r--r--src/wx/content_menu.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc
index 6e903397d..3dfb2f282 100644
--- a/src/wx/content_menu.cc
+++ b/src/wx/content_menu.cc
@@ -480,6 +480,12 @@ ContentMenu::advanced ()
if (ffmpeg) {
ffmpeg->set_filters(dialog->filters());
}
+
+ if (dialog->video_frame_rate()) {
+ content->set_video_frame_rate(*dialog->video_frame_rate());
+ } else {
+ content->unset_video_frame_rate();
+ }
}