From d937bd80e7d6a5f134f86f84d20b4fbf445b2383 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 27 Jul 2011 05:36:42 +0000 Subject: [PATCH] Make opening audio from video actually work Originally committed to SVN as r5523. --- aegisub/src/command/audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/command/audio.cpp b/aegisub/src/command/audio.cpp index bb1c4145c..91e66280f 100644 --- a/aegisub/src/command/audio.cpp +++ b/aegisub/src/command/audio.cpp @@ -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); } };