From 25a827c0a9aa0f14cd09a5b45d43a39e4f62ef8d Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 18 Apr 2006 12:59:18 +0000 Subject: *** empty log message *** --- lib/libdv_wrapper.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3