diff --git a/components/streams/src/filestream.cpp b/components/streams/src/filestream.cpp index a9003dd04c3d5c6747d4c171e690b6ceddf2e3a5..3d96b6659086ab3ed56897317d07f2c2a04852d6 100644 --- a/components/streams/src/filestream.cpp +++ b/components/streams/src/filestream.cpp @@ -45,6 +45,10 @@ bool File::post(const ftl::codecs::StreamPacket &s, const ftl::codecs::Packet &p available(s.streamID) += s.channel; + // Discard all data channel packets for now + // TODO: Allow saving of data channels once formats have solidified. + if (static_cast<int>(s.channel) >= static_cast<int>(ftl::codecs::Channel::Data)) return true; + ftl::codecs::StreamPacket s2 = s; // Adjust timestamp relative to start of file. s2.timestamp -= timestart_;