mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3: optimizations (untested)
This commit is contained in:
@@ -368,7 +368,7 @@ bool Player::GetChapters(std::vector<int> &positions, std::vector<std::string> &
|
||||
input.UpdateTracks();
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> m_lock(chapterMutex);
|
||||
for (std::vector<Chapter>::iterator it = chapters.begin(); it != chapters.end(); ++it) {
|
||||
positions.push_back(1000 * it->start);
|
||||
positions.push_back(it->start/1000);
|
||||
titles.push_back(it->title);
|
||||
}
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user