summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-30 09:18:32 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-30 09:18:32 +0100
commit338aa9db0d82ceccde67e4b3dff0bfb75d2a4648 (patch)
tree1c534be6c27a35aa54825f42cfb5091ca4b2f314 /src/lib/ffmpeg_content.h
parent50683668a616de9a82928d7e0ad3724bc935ebf3 (diff)
Handle video frame rates and subtitles a bit more correctly.
Diffstat (limited to 'src/lib/ffmpeg_content.h')
-rw-r--r--src/lib/ffmpeg_content.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h
index 3159abfd1..5437c5bf3 100644
--- a/src/lib/ffmpeg_content.h
+++ b/src/lib/ffmpeg_content.h
@@ -69,6 +69,9 @@ public:
/* SubtitleContent */
bool has_text_subtitles () const;
bool has_image_subtitles () const;
+ double subtitle_video_frame_rate () const {
+ return video_frame_rate ();
+ }
void set_filters (std::vector<Filter const *> const &);