diff dv.c @ 420:e440fb884442 libavformat

* making it possible to specify recording date and time in a stream
author romansh
date Tue, 06 Apr 2004 06:31:12 +0000
parents 5a89e49ff688
children 6624afe8bf65
line wrap: on
line diff
--- a/dv.c	Mon Apr 05 22:00:59 2004 +0000
+++ b/dv.c	Tue Apr 06 06:31:12 2004 +0000
@@ -685,7 +685,7 @@
     /* Ok, everything seems to be in working order */
     c->frames = 0;
     c->has_audio = c->has_video = 0;
-    c->start_time = 0;
+    c->start_time = (time_t)s->timestamp;
     c->aspect = 0; /* 4:3 is the default */
     if ((int)(av_q2d(vst->codec.sample_aspect_ratio) * vst->codec.width / vst->codec.height * 10) == 17) /* 16:9 */ 
         c->aspect = 0x07;