summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-02-14 11:37:12 -0800
committerJosh Blum <josh@joshknows.com>2012-02-14 11:37:12 -0800
commit2f21932ae1e8f7cc584eff791dcd67a8ea2ca144 (patch)
tree2098f342b05b9c9d37dea3553e50cb14ed02a82b /host
parentdf946523010929944cab487669defec2059951d4 (diff)
downloaduhd-2f21932ae1e8f7cc584eff791dcd67a8ea2ca144.tar.gz
uhd-2f21932ae1e8f7cc584eff791dcd67a8ea2ca144.tar.bz2
uhd-2f21932ae1e8f7cc584eff791dcd67a8ea2ca144.zip
dsp rework: minor fix sph, set has time spec for tsf only
Diffstat (limited to 'host')
-rw-r--r--host/lib/transport/super_recv_packet_handler.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/transport/super_recv_packet_handler.hpp b/host/lib/transport/super_recv_packet_handler.hpp
index 939e7aeb3..74fbe82fb 100644
--- a/host/lib/transport/super_recv_packet_handler.hpp
+++ b/host/lib/transport/super_recv_packet_handler.hpp
@@ -408,7 +408,7 @@ private:
case PACKET_INLINE_MESSAGE:
std::swap(curr_info, next_info); //save progress from curr -> next
- curr_info.metadata.has_time_spec = next_info[index].ifpi.has_tsi and next_info[index].ifpi.has_tsf;
+ curr_info.metadata.has_time_spec = next_info[index].ifpi.has_tsf;
curr_info.metadata.time_spec = next_info[index].time;
curr_info.metadata.more_fragments = false;
curr_info.metadata.fragment_offset = 0;
@@ -469,7 +469,7 @@ private:
}
//set the metadata from the buffer information at index zero
- curr_info.metadata.has_time_spec = curr_info[0].ifpi.has_tsi and curr_info[0].ifpi.has_tsf;
+ curr_info.metadata.has_time_spec = curr_info[0].ifpi.has_tsf;
curr_info.metadata.time_spec = curr_info[0].time;
curr_info.metadata.more_fragments = false;
curr_info.metadata.fragment_offset = 0;