From c259c459f5d326e7c42806b41de06c71ad4a3ad8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 10 Nov 2019 22:59:39 +0100 Subject: Don't trust video timestamps from FFmpegDecoder. Back-ported from 98342fb53eae4d32440fc69c279f2ca0fef785b5 in v2.15.x. --- src/lib/decoder_part.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/decoder_part.h') diff --git a/src/lib/decoder_part.h b/src/lib/decoder_part.h index 7ba2cb2eb..e763b7313 100644 --- a/src/lib/decoder_part.h +++ b/src/lib/decoder_part.h @@ -34,7 +34,7 @@ public: DecoderPart (Decoder* parent); virtual ~DecoderPart () {} - virtual ContentTime position (boost::shared_ptr film) const = 0; + virtual boost::optional position (boost::shared_ptr film) const = 0; virtual void seek () = 0; void set_ignore (bool i) { -- cgit v1.2.3