projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hand-apply 6a3cd511559433554ab40ed72ff94b7d8dc2c5bd from master;
[dcpomatic.git]
/
src
/
lib
/
ffmpeg_content.h
diff --git
a/src/lib/ffmpeg_content.h
b/src/lib/ffmpeg_content.h
index 1a30fb60693db7683c18efc00b47a642848f1019..fca3bf8beb3e52afff2494b0b5addbdfd198c2fd 100644
(file)
--- a/
src/lib/ffmpeg_content.h
+++ b/
src/lib/ffmpeg_content.h
@@
-33,7
+33,7
@@
struct AVStream;
class Filter;
class FFmpegSubtitleStream;
class FFmpegAudioStream;
class Filter;
class FFmpegSubtitleStream;
class FFmpegAudioStream;
-
class
ffmpeg_pts_offset_test;
+
struct
ffmpeg_pts_offset_test;
class FFmpegContentProperty : public VideoContentProperty
{
class FFmpegContentProperty : public VideoContentProperty
{
@@
-56,7
+56,7
@@
public:
return boost::dynamic_pointer_cast<FFmpegContent> (Content::shared_from_this ());
}
return boost::dynamic_pointer_cast<FFmpegContent> (Content::shared_from_this ());
}
- void examine (boost::shared_ptr<Job>);
+ void examine (boost::shared_ptr<Job>
, bool calculate_digest
);
std::string summary () const;
std::string technical_summary () const;
std::string information () const;
std::string summary () const;
std::string technical_summary () const;
std::string information () const;
@@
-74,7
+74,7
@@
public:
boost::filesystem::path audio_analysis_path () const;
/* SubtitleContent */
boost::filesystem::path audio_analysis_path () const;
/* SubtitleContent */
- bool has_subtitle
_during (ContentTimePeriod
) const;
+ bool has_subtitle
s (
) const;
void set_filters (std::vector<Filter const *> const &);
void set_filters (std::vector<Filter const *> const &);
@@
-111,8
+111,10
@@
public:
return _first_video;
}
return _first_video;
}
+ std::list<ContentTimePeriod> subtitles_during (ContentTimePeriod, bool starting) const;
+
private:
private:
- friend
class
ffmpeg_pts_offset_test;
+ friend
struct
ffmpeg_pts_offset_test;
std::vector<boost::shared_ptr<FFmpegSubtitleStream> > _subtitle_streams;
boost::shared_ptr<FFmpegSubtitleStream> _subtitle_stream;
std::vector<boost::shared_ptr<FFmpegSubtitleStream> > _subtitle_streams;
boost::shared_ptr<FFmpegSubtitleStream> _subtitle_stream;