projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tidy up image/text subtitle distinction with FFmpeg sources.
[dcpomatic.git]
/
src
/
lib
/
ffmpeg_subtitle_stream.h
diff --git
a/src/lib/ffmpeg_subtitle_stream.h
b/src/lib/ffmpeg_subtitle_stream.h
index c03004b3259d374cc0beebf3132f056e503155d1..f79e7aca7429b92f830939f37562331991bc96a4 100644
(file)
--- a/
src/lib/ffmpeg_subtitle_stream.h
+++ b/
src/lib/ffmpeg_subtitle_stream.h
@@
-42,6
+42,9
@@
public:
void set_colour (RGBA from, RGBA to);
std::map<RGBA, RGBA> colours () const;
+ bool has_text () const;
+ bool has_image () const;
+
private:
typedef std::map<std::string, ContentTimePeriod> PeriodMap;