Make opening audio from video actually work

Originally committed to SVN as r5523.
This commit is contained in:
Thomas Goyne 2011-07-27 05:36:42 +00:00
parent 0cc902487d
commit d937bd80e7

View file

@ -140,7 +140,7 @@ struct audio_open_video : public Command {
}
void operator()(agi::Context *c) {
c->audioController->OpenAudio(_T("audio-video:cache"));
c->audioController->OpenAudio(c->videoController->videoName);
}
};