Added ASA subtitles for lavc provider

Originally committed to SVN as r367.
This commit is contained in:
Rodrigo Braz Monteiro 2006-05-06 01:56:27 +00:00
parent 949245c5a5
commit 24f889af56
1 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,8 @@
#include "video_provider_lavc.h"
#include "utils.h"
#include "vfr.h"
#include "subtitle_provider.h"
#include "ass_file.h"
#if 0
#include "mkv_wrap.h"
#endif
@ -68,6 +70,9 @@ LAVCVideoProvider::LAVCVideoProvider(wxString filename, wxString subfilename) {
// Load
LoadVideo(filename);
// Attach subtitles
SubtitleProvider::Class::GetProvider(_T("asa"), AssFile::top)->Bind(this);
}