summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.mm
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/PictureController.mm')
-rw-r--r--macosx/PictureController.mm20
1 files changed, 20 insertions, 0 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm
index 640479b65..80952edf6 100644
--- a/macosx/PictureController.mm
+++ b/macosx/PictureController.mm
@@ -305,6 +305,16 @@ static int GetAlignedSize( int size )
job->deinterlace = 0;
}
fPictureFilterSettings.denoise = [fDenoisePopUp indexOfSelectedItem];
+ fPictureFilterSettings.vfr = [fVFRCheck state];
+ if (fPictureFilterSettings.vfr > 0)
+ {
+ [fDetelecineCheck setState:NSOnState];
+ [fDetelecineCheck setEnabled: NO];
+ }
+ else
+ {
+ [fDetelecineCheck setEnabled: YES];
+ }
fPictureFilterSettings.detelecine = [fDetelecineCheck state];
fPictureFilterSettings.deblock = [fDeblockCheck state];
job->pixel_ratio = ( [fPARCheck state] == NSOnState );
@@ -420,6 +430,16 @@ static int GetAlignedSize( int size )
fPictureFilterSettings.detelecine = setting;
}
+- (int) vfr
+{
+ return fPictureFilterSettings.vfr;
+}
+
+- (void) setVFR: (int) setting
+{
+ fPictureFilterSettings.vfr = setting;
+}
+
- (int) deinterlace
{
return fPictureFilterSettings.deinterlace;