summaryrefslogtreecommitdiff
path: root/libavformat/dv.c
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2004-04-06 06:31:12 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2004-04-06 06:31:12 +0000
commit4568325a1810ea5d829230dc5e9ef0e56c51632f (patch)
tree7285032dd6413a353e2832e33af8598a50ab60bc /libavformat/dv.c
parent8c266f0cb76b5f293f257227ba66f68c0914257d (diff)
* making it possible to specify recording date and time in a stream
Originally committed as revision 2971 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/dv.c')
-rw-r--r--libavformat/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dv.c b/libavformat/dv.c
index 6ff94a7ff8..71033d2718 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -685,7 +685,7 @@ DVMuxContext* dv_init_mux(AVFormatContext* s)
/* 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;