mirror of https://github.com/odrling/Aegisub
Ops, a few missing files from provider change.
Originally committed to SVN as r1920.
This commit is contained in:
parent
bed7f3ed8d
commit
b1eb77e1b9
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue