Skip to content

Commit

Permalink
test select audio track id
Browse files Browse the repository at this point in the history
  • Loading branch information
thawtes committed Mar 12, 2019
1 parent a091d26 commit b935e16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/serviceapp/exteplayer3.cpp
Expand Up @@ -161,6 +161,11 @@ std::vector<std::string> ExtEplayer3::buildCommand()
continue;
headersStr += i->first + ":" + i->second + "\r\n";
}
if (!headersStr.find("AudioTrackID"))
{
args.push_back("-t");
args.push_back(headersStr);
}
if (!headersStr.empty())
{
args.push_back("-h");
Expand Down

0 comments on commit b935e16

Please sign in to comment.