mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
change libeplayer3 to own thread class
Origin commit data
------------------
Branch: master
Commit: 9ed0a0d244
Author: smogm <smogm@vh0st.me>
Date: 2015-01-12 (Mon, 12 Jan 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -370,7 +370,7 @@ bool Player::GetChapters(std::vector<int> &positions, std::vector<std::string> &
|
||||
positions.clear();
|
||||
titles.clear();
|
||||
input.UpdateTracks();
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> m_lock(chapterMutex);
|
||||
ScopedLock m_lock(chapterMutex);
|
||||
for (std::vector<Chapter>::iterator it = chapters.begin(); it != chapters.end(); ++it) {
|
||||
positions.push_back(it->start/1000);
|
||||
titles.push_back(it->title);
|
||||
@@ -380,7 +380,7 @@ bool Player::GetChapters(std::vector<int> &positions, std::vector<std::string> &
|
||||
|
||||
void Player::SetChapters(std::vector<Chapter> &Chapters)
|
||||
{
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> m_lock(chapterMutex);
|
||||
ScopedLock m_lock(chapterMutex);
|
||||
chapters = Chapters;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user