summaryrefslogtreecommitdiff
path: root/src/lib/decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-15 20:27:44 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-15 20:27:44 +0000
commit4e5a8ec686e3fda5c550cf535cb1e0037ea7ec71 (patch)
tree843be44a12a0b47eb699ce29e6f32894343c7b93 /src/lib/decoder.cc
parent374bf4bf68109c52868c30e1a180d4ff91cc99dd (diff)
Fix thinko in video signalling.
Diffstat (limited to 'src/lib/decoder.cc')
-rw-r--r--src/lib/decoder.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc
index 8e1e4e3c5..8d087b6ee 100644
--- a/src/lib/decoder.cc
+++ b/src/lib/decoder.cc
@@ -74,7 +74,7 @@ Decoder::go ()
}
/** 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
@@ -85,7 +85,7 @@ Decoder::emit_video (shared_ptr<Image> image)
sub = _timed_subtitle->subtitle ();
}
- Video (image, sub);
+ signal_video (image, sub);
}
void
@@ -96,11 +96,11 @@ Decoder::repeat_last_video ()
_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);