| 53 | public: |
| 54 | |
| 55 | FileSource(const string& path): ifile(path, ios::in | ios::binary), filename_copy(path) |
| 56 | { |
| 57 | if ( !ifile ) |
| 58 | throw std::runtime_error(path + ": Can't open file for reading"); |
| 59 | } |
| 60 | |
| 61 | int Read(size_t chunk, MediaPacket& pkt, ostream & ignored SRT_ATR_UNUSED = cout) override |
| 62 | { |
nothing calls this directly
no outgoing calls
no test coverage detected