24 double time,
double duration,
26 std::vector<uint8_t> buffer)
27 :
DecodedFrame(stream, time, time, duration, format, sample_count,
28 {buffer.data()}, {buffer.size()}),
29 data_(std::move(buffer)) {}
35 {
reinterpret_cast<const uint8_t*
>(img)}, {0}),
36 img_(util::acquire_ref, img) {}