diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-03 22:58:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-03 22:58:46 +0100 |
| commit | 82926443230084739cb673a83b2ab1f9d733a07b (patch) | |
| tree | 72ff6a2564bc5950f52730b9d00151a5ebbbe00f /src/lib/content.h | |
| parent | 5ff10668facca32723efae3f08dfaab8a3d8bd44 (diff) | |
All audio content should resample if the output frame rate and content
frame rates differ; make Sndfile sources use the video-frame-rate-based
calculation for output frame rate (like FFmpeg sources do). Also, fix
small problems when flushing Resamplers used to get fed back to
Resamplers again.
Diffstat (limited to 'src/lib/content.h')
| -rw-r--r-- | src/lib/content.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/content.h b/src/lib/content.h index 596a0a905..3cea93cfc 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -65,6 +65,8 @@ public: virtual void as_xml (xmlpp::Node *) const; virtual Time full_length () const = 0; virtual std::string identifier () const; + /** @return the video frame rate that this content has or was prepared to be used with */ + virtual float video_frame_rate () const = 0; boost::shared_ptr<Content> clone () const; |
