Commit cdcd6c9a authored by Francois Cartegnie's avatar Francois Cartegnie

demux: asf: fix preroll deadline

parent cd8fd586
...@@ -801,7 +801,7 @@ static int DemuxPayload(demux_t *p_demux, struct asf_packet_t *pkt, int i_payloa ...@@ -801,7 +801,7 @@ static int DemuxPayload(demux_t *p_demux, struct asf_packet_t *pkt, int i_payloa
goto skip; goto skip;
} }
bool b_preroll_done = ( pkt->send_time > p_sys->i_preroll_start/1000 ); bool b_preroll_done = ( pkt->send_time > (p_sys->i_preroll_start/1000 + p_sys->p_fp->i_preroll) );
if (i_base_pts < 0) i_base_pts = 0; // FIXME? if (i_base_pts < 0) i_base_pts = 0; // FIXME?
i_base_pts *= 1000; i_base_pts *= 1000;
......
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