projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
238ceac
)
pvr: make sure we check seekability using the dedicated function
author
Joakim Plate
<elupus@ecce.se>
Sat, 12 Oct 2013 11:19:02 +0000
(13:19 +0200)
committer
Joakim Plate
<elupus@ecce.se>
Sat, 12 Oct 2013 11:19:02 +0000
(13:19 +0200)
xbmc/filesystem/PVRFile.cpp
patch
|
blob
|
history
diff --git
a/xbmc/filesystem/PVRFile.cpp
b/xbmc/filesystem/PVRFile.cpp
index
4df5448
..
d223a4d
100644
(file)
--- a/
xbmc/filesystem/PVRFile.cpp
+++ b/
xbmc/filesystem/PVRFile.cpp
@@
-308,7
+308,7
@@
int CPVRFile::IoControl(EIoControl request, void *param)
{
if (!g_PVRManager.IsStarted())
return 0;
- else if (g_PVRClients->
GetStreamLength() && g_PVRClients->SeekStream(0, SEEK_CUR) >= 0
)
+ else if (g_PVRClients->
CanSeekStream()
)
return 1;
else
return 0;