summaryrefslogtreecommitdiffstats
path: root/src/input/Udp.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-01-29 10:55:49 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-01-29 10:55:49 +0100
commite010d6a4e8342cf3042fb96a94ef3df766eeda3d (patch)
tree034d62af7509663380f09f60ddaf87d5d17ab5e7 /src/input/Udp.cpp
parenta82b7af30885175c66691a4e8b95bff9b11514db (diff)
downloaddabmux-e010d6a4e8342cf3042fb96a94ef3df766eeda3d.tar.gz
dabmux-e010d6a4e8342cf3042fb96a94ef3df766eeda3d.tar.bz2
dabmux-e010d6a4e8342cf3042fb96a94ef3df766eeda3d.zip
Prepare v1.2.1v1.2.1
Diffstat (limited to 'src/input/Udp.cpp')
-rw-r--r--src/input/Udp.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/Udp.cpp b/src/input/Udp.cpp
index a7f9013..2cb49e7 100644
--- a/src/input/Udp.cpp
+++ b/src/input/Udp.cpp
@@ -289,13 +289,15 @@ void Sti_d_Rtp::receive_packet()
index += NST*4+4;
const size_t dataSize = STL - 2*CRCSTF;
+
const size_t frameNumber = DFCTH*250 + DFCTL;
+ (void)frameNumber;
// TODO must align framenumber with ETI
+ // TODO reordering
vec_u8 data(dataSize);
copy(buf+index, buf+index+dataSize, data.begin());
- // TODO reordering
m_queue.push_back(data);
}