summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-07 14:05:34 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-07 14:05:34 +0000
commit5c225839172ce9f0a9be81dabfbbeb3190a9ff20 (patch)
tree774f7db3f4372f4d8facca71b61ad2740ba428c5 /src/lib/ffmpeg_decoder.h
parent5ff6c5b412fcd63c1a4dad88d1535fb56e457b8e (diff)
Move audio sample format stuff out of Decoder base class.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
-rw-r--r--src/lib/ffmpeg_decoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h
index 5d278ea0d..8373125cd 100644
--- a/src/lib/ffmpeg_decoder.h
+++ b/src/lib/ffmpeg_decoder.h
@@ -60,7 +60,6 @@ public:
Size native_size () const;
int audio_channels () const;
int audio_sample_rate () const;
- AVSampleFormat audio_sample_format () const;
int64_t audio_channel_layout () const;
bool has_subtitles () const;
@@ -75,6 +74,8 @@ private:
int time_base_denominator () const;
int sample_aspect_ratio_numerator () const;
int sample_aspect_ratio_denominator () const;
+ AVSampleFormat audio_sample_format () const;
+ int bytes_per_audio_sample () const;
void setup_general ();
void setup_video ();