diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-02 20:06:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-02 20:06:58 +0100 |
| commit | 2f61270d2726445f562efc0e4b33fa19ba235183 (patch) | |
| tree | 01420c5e3a5aa06217300ddfcb20b16569a727c0 /src/lib/video_decoder.cc | |
| parent | 2587e198b0bab725db51808a414713915cd3f3fb (diff) | |
Comments.
Diffstat (limited to 'src/lib/video_decoder.cc')
| -rw-r--r-- | src/lib/video_decoder.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc index 146120fe1..1b6da8a91 100644 --- a/src/lib/video_decoder.cc +++ b/src/lib/video_decoder.cc @@ -53,6 +53,11 @@ VideoDecoder::decoded_video (VideoFrame frame) return output; } +/** Get all frames which exist in the content at a given frame index. + * @param frame Frame index. + * @param accurate true to try hard to return frames at the precise time that was requested, otherwise frames nearby may be returned. + * @return Frames; there may be none (if there is no video there), 1 for 2D or 2 for 3D. + */ list<ContentVideo> VideoDecoder::get_video (VideoFrame frame, bool accurate) { |
