aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/vrt_packet_handler.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/transport/vrt_packet_handler.hpp b/host/lib/transport/vrt_packet_handler.hpp
index 0507ae328..c535edd04 100644
--- a/host/lib/transport/vrt_packet_handler.hpp
+++ b/host/lib/transport/vrt_packet_handler.hpp
@@ -238,7 +238,7 @@ template <typename T> UHD_INLINE T get_context_code(
){
uhd::convert::function_type converter(
uhd::convert::get_converter_otw_to_cpu(
- io_type, otw_type, 1, buffs.size()
+ io_type, otw_type, 1, chans_per_otw_buff
));
switch(recv_mode){
@@ -374,7 +374,7 @@ template <typename T> UHD_INLINE T get_context_code(
){
uhd::convert::function_type converter(
uhd::convert::get_converter_cpu_to_otw(
- io_type, otw_type, buffs.size(), 1
+ io_type, otw_type, chans_per_otw_buff, 1
));
//translate the metadata to vrt if packet info