diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-20 19:30:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-20 19:30:04 +0100 |
| commit | 58f53485bb112896a9446771acfa2abe0a528cec (patch) | |
| tree | f34f14aa40f8ce0854f104fbabccd4f756bafd3d /src/lib/decoder.h | |
| parent | 6e8e4f7ae9a9ae243a1b7d9e17f6b6cacae277b3 (diff) | |
Try to clean up stream handling wrt audio channel counts.
Diffstat (limited to 'src/lib/decoder.h')
| -rw-r--r-- | src/lib/decoder.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h index 85b256f5b..2285cf4f9 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -81,17 +81,14 @@ public: return _video_frame; } - virtual std::vector<Stream> audio_streams () const { - return std::vector<Stream> (); + virtual std::vector<AudioStream> audio_streams () const { + return std::vector<AudioStream> (); } - virtual std::vector<Stream> subtitle_streams () const { - return std::vector<Stream> (); + virtual std::vector<SubtitleStream> subtitle_streams () const { + return std::vector<SubtitleStream> (); } - virtual void set_audio_stream (Stream s) {} - virtual void set_subtitle_stream (Stream s) {} - /** Emitted when a video frame is ready. * First parameter is the frame. * Second parameter is its index within the content. |
