From 542a026b9b74805f576f3d5222190e674b2412ab Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 1 Apr 2012 17:51:48 +0200 Subject: [PATCH] spark: return true for EOF in cPlayback::GetPosition --- libspark/playback_libeplayer3.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libspark/playback_libeplayer3.cpp b/libspark/playback_libeplayer3.cpp index 2cd1dfa..d3fbaee 100644 --- a/libspark/playback_libeplayer3.cpp +++ b/libspark/playback_libeplayer3.cpp @@ -288,9 +288,8 @@ bool cPlayback::GetPosition(int &position, int &duration) printf("cPlayback::%s !!!!EOF!!!! < -1\n", __func__); position = duration + 1000; // duration = 0; - // this is stupid - return false; + return true; } unsigned long long int vpts = 0;