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/text_decoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/text_decoder.h') diff --git a/src/lib/text_decoder.h b/src/lib/text_decoder.h index a82f43f51..a320e146b 100644 --- a/src/lib/text_decoder.h +++ b/src/lib/text_decoder.h @@ -44,7 +44,7 @@ public: ContentTime first ); - ContentTime position (boost::shared_ptr) const { + boost::optional position (boost::shared_ptr) const { return _position; } -- cgit v1.2.3