Commit c762c138 authored by François Cartegnie's avatar François Cartegnie 🤞

access: dvb: scan: update stats if no data

parent 7e8b61de
......@@ -884,12 +884,13 @@ int scan_Run( scan_t *p_scan )
i_timeout - i_remaining,
SCAN_READ_BUFFER_COUNT,
(uint8_t *) &packet, &i_packet_count );
if ( i_ret != VLC_SUCCESS )
break;
if( p_scan->pf_stats )
p_scan->pf_stats( p_scan, p_scan->p_cbdata, &session->i_snr );
if ( i_ret != VLC_SUCCESS )
break;
for( size_t i=0; i< i_packet_count; i++ )
{
if( scan_session_Push( session,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment