Skip to content

Commit 1509051

Browse files
author
Clement Champetier
committed
FileProperties: added file size and packet size when access properties
1 parent a2b16ad commit 1509051

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AvTranscoder/properties/FileProperties.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ PropertyVector& FileProperties::fillVector(PropertyVector& data) const
257257
addProperty(data, "startTime", &FileProperties::getStartTime);
258258
addProperty(data, "duration", &FileProperties::getDuration);
259259
addProperty(data, "bitrate", &FileProperties::getBitRate);
260+
addProperty(data, "fileSize", &FileProperties::getFileSize);
261+
addProperty(data, "packetSize", &FileProperties::getPacketSize);
260262
addProperty(data, "numberOfStreams", &FileProperties::getNbStreams);
261263
addProperty(data, "numberOfPrograms", &FileProperties::getProgramsCount);
262264

0 commit comments

Comments
 (0)