| 47 | |
| 48 | template<> |
| 49 | void TimeCodeData::save( SaveContext *context ) const |
| 50 | { |
| 51 | Data::save( context ); |
| 52 | IndexedIO *container = context->rawContainer(); |
| 53 | |
| 54 | const Imf::TimeCode &timeCode = readable(); |
| 55 | /// \todo: should we be using FILM24_PACKING rather than the default? |
| 56 | unsigned data[2] = { timeCode.timeAndFlags(), timeCode.userData() }; |
| 57 | container->write( g_valueEntry, data, 2 ); |
| 58 | } |
| 59 | |
| 60 | template<> |
| 61 | void TimeCodeData::load( LoadContextPtr context ) |
nothing calls this directly
no test coverage detected