summaryrefslogtreecommitdiff
path: root/database/object.h
diff options
context:
space:
mode:
authorDenis Loh <denis.loh@gmail.com>2009-12-29 19:34:50 +0100
committerDenis Loh <denis.loh@gmail.com>2009-12-29 19:34:50 +0100
commit60db82604cd0ab407e857b9f11d9588f9076333b (patch)
tree11cc9c5f4a5b4a784727eccfecb9e5cca2c69ac3 /database/object.h
parent2d245fcabb385347359759de8e6c40ce16e43cab (diff)
downloadvdr-plugin-upnp-60db82604cd0ab407e857b9f11d9588f9076333b.tar.gz
vdr-plugin-upnp-60db82604cd0ab407e857b9f11d9588f9076333b.tar.bz2
Added mpeg4 p2 profiles
Diffstat (limited to 'database/object.h')
-rw-r--r--database/object.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/database/object.h b/database/object.h
index 245a617..9c2c133 100644
--- a/database/object.h
+++ b/database/object.h
@@ -137,7 +137,7 @@ private:
cString mProtocolInfo;
cString mContentType;
cString mImportURI;
- unsigned long mSize;
+ off64_t mSize;
unsigned int mBitrate;
unsigned int mSampleFrequency;
unsigned int mBitsPerSample;
@@ -212,14 +212,6 @@ public:
*/
int getResourceType() const { return this->mResourceType; }
/**
- * Get the size
- *
- * Returns the resource size or -1 if its unknown
- *
- * @return the resource size or -1 if unknown
- */
- unsigned long getSize() const { return this->mSize; }
- /**
* Get the file size
*
* Returns the file size in bytes of the resource or 0 if its unknown or a
@@ -227,7 +219,7 @@ public:
*
* @return the file size
*/
- off64_t getFileSize() const;
+ off64_t getFileSize() const { return this->mSize; };
/**
* Get the last modification
*