From 4fb0a5ab9eebc0f07981edc3a6813102520b8233 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 4 Nov 2012 15:58:22 +0000 Subject: Various work on range setting. --- src/lib/decoder.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/decoder.h') diff --git a/src/lib/decoder.h b/src/lib/decoder.h index e8e73cc9f..0741c4f54 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -81,7 +81,7 @@ public: void go (); /** @return the index of the last video frame to be processed */ - int video_frame_index () const { + SourceFrame video_frame_index () const { return _video_frame_index; } @@ -94,11 +94,11 @@ public: } /** Emitted when a video frame is ready. - * First parameter is the frame. + * First parameter is the frame within the source. * Second parameter is its index within the content. * Third parameter is either 0 or a subtitle that should be on this frame. */ - boost::signals2::signal, int, boost::shared_ptr)> Video; + boost::signals2::signal, SourceFrame, boost::shared_ptr)> Video; /** Emitted when some audio data is ready */ boost::signals2::signal)> Audio; @@ -133,7 +133,7 @@ private: void emit_audio (uint8_t* data, int size); /** last video frame to be processed */ - int _video_frame_index; + SourceFrame _video_frame_index; std::list > _filter_graphs; -- cgit v1.2.3