}
/** Called by subclasses to tell the world that some video data is ready.
- * We do some post-processing / filtering then emit it for listeners.
+ * We find a subtitle then emit it for listeners.
* @param frame to decode; caller manages memory.
*/
void
sub = _timed_subtitle->subtitle ();
}
- Video (image, sub);
+ signal_video (image, sub);
}
void
_last_image->make_black ();
}
- emit_video (_last_image, _last_subtitle);
+ signal_video (_last_image, _last_subtitle);
}
void
-Decoder::emit_video (shared_ptr<Image> image, shared_ptr<Subtitle> sub)
+Decoder::signal_video (shared_ptr<Image> image, shared_ptr<Subtitle> sub)
{
TIMING ("Decoder emits %1", _video_frame);
Video (image, sub);
std::vector<SubtitleStream> _subtitle_streams;
private:
- void emit_video (boost::shared_ptr<Image>, boost::shared_ptr<Subtitle>);
+ void signal_video (boost::shared_ptr<Image>, boost::shared_ptr<Subtitle>);
SourceFrame _video_frame;