From 1121fb0b32566bfb33f02a7ac5c8935fc0732314 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 16 Oct 2015 19:03:16 +0300 Subject: [PATCH] Remove handling of the progress event It seems to be mostly useful for network streams and those are not supported at the moment. --- source/xinestream.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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; } } -- 2.45.2