ImageDecoder::ImageDecoder (shared_ptr<const ImageContent> c)
: VideoDecoder (c)
, _image_content (c)
+ , _video_position (0)
{
}
bool
-ImageDecoder::pass ()
+ImageDecoder::pass (PassReason)
{
- if (_video_position >= _image_content->video_length().frames (_image_content->video_frame_rate ())) {
+ if (_video_position >= _image_content->video_length()) {
return true;
}