Ops, a few missing files from provider change.

Originally committed to SVN as r1920.
This commit is contained in:
Rodrigo Braz Monteiro 2008-03-06 19:21:18 +00:00
parent bed7f3ed8d
commit b1eb77e1b9
3 changed files with 10 additions and 2 deletions

View File

@ -138,7 +138,7 @@ void SubtitlesPreview::UpdateBitmap(int w,int h) {
// Get AegiVideoFrame // Get AegiVideoFrame
if (!vid) vid = new DummyVideoProvider(0.0,10,w,h,backColour,true); if (!vid) vid = new DummyVideoProvider(0.0,10,w,h,backColour,true);
AegiVideoFrame frame; AegiVideoFrame frame;
frame.CopyFrom(vid->GetFrame(0)); frame.CopyFrom(vid->GetFrame(0,FORMAT_RGB32));
// Try to get subtitles provider // Try to get subtitles provider
SubtitlesProvider *provider = NULL; SubtitlesProvider *provider = NULL;

View File

@ -80,7 +80,7 @@ void DVDSubtitleFormat::GetSubPictureList(std::vector<SubPicture> &pics) {
int w = 720; int w = 720;
int h = 480; int h = 480;
VideoProvider *video = new DummyVideoProvider(10,1,w,h,wxColour(255,0,0),false); VideoProvider *video = new DummyVideoProvider(10,1,w,h,wxColour(255,0,0),false);
AegiVideoFrame srcFrame = video->GetFrame(0); AegiVideoFrame srcFrame = video->GetFrame(0,FORMAT_RGB32);
delete video; delete video;
// Count and index lines // Count and index lines

View File

@ -1608,6 +1608,14 @@
RelativePath="..\..\aegisub\video_provider_avs.h" RelativePath="..\..\aegisub\video_provider_avs.h"
> >
</File> </File>
<File
RelativePath="..\..\aegisub\video_provider_cache.cpp"
>
</File>
<File
RelativePath="..\..\aegisub\video_provider_cache.h"
>
</File>
<File <File
RelativePath="..\..\aegisub\video_provider_dshow.cpp" RelativePath="..\..\aegisub\video_provider_dshow.cpp"
> >