projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support scrambled playback.
[vuplus_dvbapp]
/
lib
/
service
/
servicem2ts.cpp
diff --git
a/lib/service/servicem2ts.cpp
b/lib/service/servicem2ts.cpp
index
e79907d
..
4c2fc80
100644
(file)
--- a/
lib/service/servicem2ts.cpp
+++ b/
lib/service/servicem2ts.cpp
@@
-17,6
+17,7
@@
public:
off_t lseek(off_t offset, int whence);
ssize_t read(off_t offset, void *buf, size_t count);
off_t length();
off_t lseek(off_t offset, int whence);
ssize_t read(off_t offset, void *buf, size_t count);
off_t length();
+ off_t offset();
int valid();
private:
int m_sync_offset;
int valid();
private:
int m_sync_offset;
@@
-309,6
+310,11
@@
off_t eM2TSFile::length()
return m_length;
}
return m_length;
}
+off_t eM2TSFile::offset()
+{
+ return m_current_offset;
+}
+
eServiceFactoryM2TS::eServiceFactoryM2TS()
{
ePtr<eServiceCenter> sc;
eServiceFactoryM2TS::eServiceFactoryM2TS()
{
ePtr<eServiceCenter> sc;