projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't bother decoding video frames when we're seeking around trying to find subtitles.
[dcpomatic.git]
/
src
/
lib
/
subrip_decoder.h
diff --git
a/src/lib/subrip_decoder.h
b/src/lib/subrip_decoder.h
index ad9d04e4003029f6a9b99b62714b4fbdd0a13a6f..264ca88996b2b93dafd4b1521f4c4f3a98f8f609 100644
(file)
--- a/
src/lib/subrip_decoder.h
+++ b/
src/lib/subrip_decoder.h
@@
-32,10
+32,11
@@
public:
protected:
void seek (ContentTime time, bool accurate);
protected:
void seek (ContentTime time, bool accurate);
- bool pass ();
+ bool pass (
PassReason
);
private:
private:
- std::list<ContentTimePeriod> subtitles_during (ContentTimePeriod, bool starting) const;
+ std::list<ContentTimePeriod> image_subtitles_during (ContentTimePeriod, bool starting) const;
+ std::list<ContentTimePeriod> text_subtitles_during (ContentTimePeriod, bool starting) const;
size_t _next;
};
size_t _next;
};