Skip to content
Snippets Groups Projects
Commit 90eaa7a1 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix init of streampacket bug

parent 92e76247
No related branches found
No related tags found
1 merge request!127Implements #196 stream capturing
Pipeline #15263 passed
...@@ -528,6 +528,7 @@ void Streamer::_process(ftl::rgbd::FrameSet &fs) { ...@@ -528,6 +528,7 @@ void Streamer::_process(ftl::rgbd::FrameSet &fs) {
void Streamer::_transmitPacket(StreamSource *src, const ftl::codecs::Packet &pkt, int chan, bool hasChan2, Quality q) { void Streamer::_transmitPacket(StreamSource *src, const ftl::codecs::Packet &pkt, int chan, bool hasChan2, Quality q) {
ftl::codecs::StreamPacket spkt = { ftl::codecs::StreamPacket spkt = {
frame_no_, frame_no_,
0,
static_cast<uint8_t>((chan & 0x1) | ((hasChan2) ? 0x2 : 0x0)) static_cast<uint8_t>((chan & 0x1) | ((hasChan2) ? 0x2 : 0x0))
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment