diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2004-04-06 06:31:12 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2004-04-06 06:31:12 +0000 |
commit | 4568325a1810ea5d829230dc5e9ef0e56c51632f (patch) | |
tree | 7285032dd6413a353e2832e33af8598a50ab60bc /libavformat/dv.c | |
parent | 8c266f0cb76b5f293f257227ba66f68c0914257d (diff) | |
download | ffmpeg-4568325a1810ea5d829230dc5e9ef0e56c51632f.tar.gz |
* 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.c | 2 |
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; |