summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_examiner.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-01 14:13:10 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-01 14:13:10 +0100
commit45e6a6df959188bfdb8dfc4906c35d1a3c234b0a (patch)
tree4cb99aaf4d8ec3d2c6f157d5315887319de5c0d8 /src/lib/ffmpeg_examiner.cc
parent05654d0e1799746a9df3ccab040c92e0ed825cac (diff)
Add a Type to Time.
Diffstat (limited to 'src/lib/ffmpeg_examiner.cc')
-rw-r--r--src/lib/ffmpeg_examiner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc
index 949062f5b..62b909b1d 100644
--- a/src/lib/ffmpeg_examiner.cc
+++ b/src/lib/ffmpeg_examiner.cc
@@ -177,7 +177,7 @@ ContentTime
FFmpegExaminer::video_length () const
{
ContentTime const length = ContentTime::from_seconds (double (_format_context->duration - _format_context->start_time) / AV_TIME_BASE);
- return ContentTime (max (int64_t (1), length.get ()));
+ return ContentTime (max (ContentTime::Type (1), length.get ()));
}
string