diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-21 17:32:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-21 17:32:28 +0100 |
| commit | 2255aedd15f985796d2e6f7fcc7fb412a5d98812 (patch) | |
| tree | 744d52adfdd226ce5b0220d62612710873fa77f4 /src/lib/ffmpeg_decoder.h | |
| parent | 2de990b0155fcb5c3dac821ef8c2659e903d2f6e (diff) | |
Various more hacks; basically trying to remove Regions as an unnecessary complexity.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
| -rw-r--r-- | src/lib/ffmpeg_decoder.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index 760fc084d..f3f6b126b 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -1,3 +1,5 @@ +/* -*- c-basic-offset: 8; default-tab-width: 8; -*- */ + /* Copyright (C) 2012 Carl Hetherington <cth@carlh.net> @@ -68,11 +70,11 @@ public: int sample_aspect_ratio_numerator () const; int sample_aspect_ratio_denominator () const; - std::vector<FFmpegSubtitleStream> subtitle_streams () const { + std::vector<boost::shared_ptr<FFmpegSubtitleStream> > subtitle_streams () const { return _subtitle_streams; } - std::vector<FFmpegAudioStream> audio_streams () const { + std::vector<boost::shared_ptr<FFmpegAudioStream> > audio_streams () const { return _audio_streams; } @@ -126,8 +128,8 @@ private: std::list<boost::shared_ptr<FilterGraph> > _filter_graphs; boost::mutex _filter_graphs_mutex; - std::vector<FFmpegSubtitleStream> _subtitle_streams; - std::vector<FFmpegAudioStream> _audio_streams; + std::vector<boost::shared_ptr<FFmpegSubtitleStream> > _subtitle_streams; + std::vector<boost::shared_ptr<FFmpegAudioStream> > _audio_streams; bool _decode_video; bool _decode_audio; |
