documentation and folded item delegates from old code back in

This commit is contained in:
itsmattkc
2019-07-02 03:01:46 -07:00
parent 1d05d6571a
commit 85b5bbd5d6
22 changed files with 293 additions and 3 deletions
+4
View File
@@ -169,6 +169,10 @@ bool FFmpegDecoder::Probe(Footage *f)
// Retrieve metadata about the media
av_dump_format(fmt_ctx_, stream()->index(), filename, 0);
// Set duration
f->set_duration(rational(fmt_ctx_->duration, AV_TIME_BASE));
qDebug() << "Found duration:" << f->duration().ToDouble();
// Dump it into the Footage object
for (unsigned int i=0;i<fmt_ctx_->nb_streams;i++) {