summaryrefslogtreecommitdiff
path: root/decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'decoder.c')
-rw-r--r--decoder.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/decoder.c b/decoder.c
index eaa3160..08e5f53 100644
--- a/decoder.c
+++ b/decoder.c
@@ -8,7 +8,7 @@
#include <stdlib.h>
#include "decoder.h"
-#include "config.h"
+#include "setup.h"
int cDecoder::Open()
@@ -98,3 +98,9 @@ int cDecoder::ConvertToRGB()
return 0;
}
+double cDecoder::AspectRatio()
+{
+ //printf("%d %d %f\n", m_Context->width, m_Context->height, m_Context->aspect_ratio);
+ return m_Context->aspect_ratio;
+}
+