From: Mikko Rasa Date: Fri, 16 Oct 2015 16:03:16 +0000 (+0300) Subject: Remove handling of the progress event X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=1121fb0b32566bfb33f02a7ac5c8935fc0732314;p=xinema.git Remove handling of the progress event It seems to be mostly useful for network streams and those are not supported at the moment. --- diff --git a/source/xinestream.cpp b/source/xinestream.cpp index 619ec58..02fd316 100644 --- a/source/xinestream.cpp +++ b/source/xinestream.cpp @@ -1,4 +1,4 @@ -#include +#include #include "xineengine.h" #include "xinestream.h" @@ -123,12 +123,6 @@ void XineStream::handle_event(const xine_event_t &event) case XINE_EVENT_UI_PLAYBACK_FINISHED: set_state(STOPPED); break; - case XINE_EVENT_PROGRESS: - { - xine_progress_data_t *data = reinterpret_cast(event.data); - IO::print("%s [%d%%]\n", data->description, data->percent); - } - break; } }