From 24f889af560cc91e144bb6e1b4871b07264bfab6 Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Sat, 6 May 2006 01:56:27 +0000 Subject: [PATCH] Added ASA subtitles for lavc provider Originally committed to SVN as r367. --- core/video_provider_lavc.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/video_provider_lavc.cpp b/core/video_provider_lavc.cpp index 2b269de88..7bb76e764 100644 --- a/core/video_provider_lavc.cpp +++ b/core/video_provider_lavc.cpp @@ -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); }