From 2f61270d2726445f562efc0e4b33fa19ba235183 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 2 May 2014 20:06:58 +0100 Subject: Comments. --- src/lib/video_decoder.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/video_decoder.cc') 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 VideoDecoder::get_video (VideoFrame frame, bool accurate) { -- cgit v1.2.3