summaryrefslogtreecommitdiff
path: root/lib/libdv_wrapper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdv_wrapper.cc')
-rw-r--r--lib/libdv_wrapper.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libdv_wrapper.cc b/lib/libdv_wrapper.cc
index 11c641d..a056419 100644
--- a/lib/libdv_wrapper.cc
+++ b/lib/libdv_wrapper.cc
@@ -26,6 +26,8 @@
*/
#include "libdv_wrapper.h"
+#include "format.h"
+
//#define COLORSPACE_YV12
LibDVWrapper::LibDVWrapper(DV::Quality quality,
@@ -94,7 +96,7 @@ Frame *LibDVWrapper::decode(Frame *input, DV::ColorSpace c)
int size = 0;
char* buf = NULL;
- int type = VF_NONE;
+ video_format_t type = VF_NONE;
DV::ColorSpace colorspace = c;
switch(colorspace) {
case DV::YUV:
@@ -109,7 +111,6 @@ Frame *LibDVWrapper::decode(Frame *input, DV::ColorSpace c)
pitches[1] = width / 2;
pitches[2] = width / 2;
#else
- printf("!\n");
size = width*height*2;
buf = new char[size];
type = VF_YUV422;