summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2006-04-18 12:59:18 +0000
committerdeva <deva>2006-04-18 12:59:18 +0000
commit25a827c0a9aa0f14cd09a5b45d43a39e4f62ef8d (patch)
tree99744a8230e1196d2060239c0cd84b44d97ba9e3
parent2cb888629f5c78507eaa544fc1dbd6404b7327b7 (diff)
*** empty log message ***
-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,