Skip to content
Snippets Groups Projects
Commit 6bf0a140 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed: Committed by Felix Paul Kühne
Browse files

demux: asf: add missing subpayloads drain on EOF

refs #28716
parent 0dbfb4b9
No related branches found
No related tags found
1 merge request!5898demux: asf: add missing subpayloads drain on EOF
Pipeline #503805 passed with stage
in 13 minutes and 51 seconds
......@@ -242,7 +242,15 @@ static int Demux( demux_t *p_demux )
msg_Warn( p_demux, "found a new ASF header" );
}
else
{
p_sys->b_eof = true;
for ( int i=0; i<MAX_ASF_TRACKS; i++ )
{
asf_track_t *tk = p_sys->track[i];
if ( tk && tk->info.p_frame )
Packet_Enqueue( &p_sys->packet_sys, i, &tk->info.p_frame );
}
}
}
if ( p_sys->i_time == VLC_TICK_INVALID )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment