Definition at line 70 of file VideoPlayer.h. References Impala::Core::Stream::RgbDataSrcFactory::Construct(), ILOG_ERROR, Impala::Core::Stream::RgbDataSrcFactory::Instance(), and Impala::Core::Stream::RgbDataSrc::Valid(). Referenced by Impala::Visualization::VideoTimeLine::OpenVideo(), and OpenVideo(). 00071 { 00072 #ifndef REPOSITORY_USED 00073 RgbDataSrcFactory& factory = RgbDataSrcFactory::Instance(); 00074 RgbDataSrc* rgbDataSrc = factory.Construct(videoName, videoType); 00075 #else 00076 Persistency::RgbDataSrcLocator loc("file:", "abs", videoName); 00077 RgbDataSrcFactory& factory = RgbDataSrcFactory::Instance(); 00078 RgbDataSrc* rgbDataSrc = factory.Construct(loc, videoType); 00079 #endif 00080 if (!rgbDataSrc || !rgbDataSrc->Valid()) 00081 { 00082 ILOG_ERROR("Construct Rgb [" << videoName << "] " << "failed"); 00083 if (rgbDataSrc) 00084 delete rgbDataSrc; 00085 return 0; 00086 } 00087 return rgbDataSrc; 00088 }
Here is the call graph for this function:
|