Commit ddcfc435 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig

filmQT4L: report full number of video-frames (rather than len-1)

parent 307be698
......@@ -102,7 +102,7 @@ bool filmQT4L :: open(const std::string&filename,
// Get the number of tracks
m_numTracks = quicktime_video_tracks(m_quickfile);
// Get the length of the movie (on track current track)
m_numFrames = quicktime_video_length(m_quickfile, m_curTrack) - 1;
m_numFrames = quicktime_video_length(m_quickfile, m_curTrack);
// Get the frame-rate
m_fps = quicktime_frame_rate(m_quickfile, m_curTrack);
// Get the video dimensions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment