Add a comment.
authorCarl Hetherington <cth@carlh.net>
Tue, 22 Jul 2014 12:16:12 +0000 (13:16 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 22 Jul 2014 12:16:12 +0000 (13:16 +0100)
src/lib/ffmpeg_decoder.cc

index dd47d306a6e54c0611e0abde6b6ab802cab4e77b..0390418be8693d1d0d84e8815c2fe922105eaf41 100644 (file)
@@ -300,6 +300,8 @@ FFmpegDecoder::seek (ContentTime time, bool accurate)
                time = ContentTime (0);
        }
 
+       /* XXX: it seems debatable whether PTS should be used here... */
+       
        ContentTime const u = time - _pts_offset;
        int64_t s = u.seconds() / av_q2d (_format_context->streams[_video_stream]->time_base);