summaryrefslogtreecommitdiffstats
path: root/gtk/src/preview.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2013-05-03 20:37:47 +0000
committerjstebbins <[email protected]>2013-05-03 20:37:47 +0000
commitfb4d48ae4f68461147c1c99b311435391e81ac60 (patch)
tree9d977a6133fc246baee5fa5893dec8005e1a21a0 /gtk/src/preview.h
parent3091abaeaf79534fa22adefa1ad79448cc11b40b (diff)
LinGui: Fix live preview reset for previews > 10
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5439 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/preview.h')
-rw-r--r--gtk/src/preview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/preview.h b/gtk/src/preview.h
index 089d60d1c..56d62415b 100644
--- a/gtk/src/preview.h
+++ b/gtk/src/preview.h
@@ -16,6 +16,8 @@
#if !defined(_GHB_PREVIEW_H_)
#define _GHB_PREVIEW_H_
+#define GHB_PREVIEW_MAX 60
+
#define MOD_ROUND(v,m) ((m==1)?v:(m * ((v + (m>>1)) / m)))
#define MOD_DOWN(v,m) (m * (v / m))
#define MOD_UP(v,m) (m * ((v + m - 1) / m))