comparison data/fileio/QuickTimeFileReader.cpp @ 317:c324d410b096

* RemoteFile -> FileSource now it's used all over the place for local files as well.
author Chris Cannam
date Thu, 18 Oct 2007 16:20:26 +0000
parents 3a6725f285d6
children 1d656dcda8ef
comparison
equal deleted inserted replaced
316:3a6725f285d6 317:c324d410b096
46 Movie movie; 46 Movie movie;
47 size_t blockSize; 47 size_t blockSize;
48 }; 48 };
49 49
50 50
51 QuickTimeFileReader::QuickTimeFileReader(RemoteFile source, 51 QuickTimeFileReader::QuickTimeFileReader(FileSource source,
52 DecodeMode decodeMode, 52 DecodeMode decodeMode,
53 CacheMode mode, 53 CacheMode mode,
54 size_t targetRate) : 54 size_t targetRate) :
55 CodedAudioFileReader(mode, targetRate), 55 CodedAudioFileReader(mode, targetRate),
56 m_source(source), 56 m_source(source),
355 type == "video/mp4" || 355 type == "video/mp4" ||
356 type == "video/quicktime"); 356 type == "video/quicktime");
357 } 357 }
358 358
359 bool 359 bool
360 QuickTimeFileReader::supports(RemoteFile &source) 360 QuickTimeFileReader::supports(FileSource &source)
361 { 361 {
362 return (supportsExtension(source.getExtension()) || 362 return (supportsExtension(source.getExtension()) ||
363 supportsContentType(source.getContentType())); 363 supportsContentType(source.getContentType()));
364 } 364 }
365 365