diff --git a/plugins/samplesource/remoteinput/remoteinputbuffer.cpp b/plugins/samplesource/remoteinput/remoteinputbuffer.cpp index ad25b7d11..49656bd67 100644 --- a/plugins/samplesource/remoteinput/remoteinputbuffer.cpp +++ b/plugins/samplesource/remoteinput/remoteinputbuffer.cpp @@ -93,8 +93,8 @@ void RemoteInputBuffer::setNbDecoderSlots(int nbDecoderSlots) m_decoderSlots = new DecoderSlot[m_nbDecoderSlots]; m_frames = new BufferFrame[m_nbDecoderSlots]; - m_frameHead = -1; + initReadIndex(); } void RemoteInputBuffer::setBufferLenSec(const RemoteMetaDataFEC& metaData)