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

View file

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