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.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libdv_wrapper.cc b/lib/libdv_wrapper.cc
index 5a385b1..df624b6 100644
--- a/lib/libdv_wrapper.cc
+++ b/lib/libdv_wrapper.cc
@@ -43,7 +43,13 @@ LibDVWrapper::LibDVWrapper(DV::Quality quality,
width = 720;
height = 576;
- first = true;
+ // first = true;
+
+
+ // TESTING
+ // decoder->std = e_dv_std_smpte_314m;//e_dv_std_iec_61834;
+ decoder->num_dif_seqs = 12; // DIF sequences per frame (12 does the trick)
+
}
@@ -103,6 +109,7 @@ void LibDVWrapper::decode(char *input)
{
if(!yuv[0]) return; // outputbuffer not set!
+ /*
if(first) {
dv_parse_header(decoder, (const uint8_t*)input);
//dv_parse_packs(decoder, frame->data); // Not needed anyway!
@@ -110,6 +117,7 @@ void LibDVWrapper::decode(char *input)
decoder->num_dif_seqs = 12;
first = false;
}
+ */
dv_decode_full_frame(decoder,
(const uint8_t*)input,