Commit 60c1f0cd authored by Christophe Massiot's avatar Christophe Massiot

* modules/demux/ts.c: When a packet is lost, flag a discontinuity, do not

  trash the PES packet (the rest of the PES can still be used, and anyway
  the decoder must be aware that a discontinuity happened).
parent 9c11fac3
......@@ -1032,8 +1032,7 @@ static vlc_bool_t GatherPES( demux_t *p_demux, ts_pid_t *pid, block_t *p_bk )
if( pid->es->p_pes )
block_ChainRelease( pid->es->p_pes );
pid->es->p_pes = NULL;
pid->es->p_pes->i_flags |= BLOCK_FLAG_DISCONTINUITY;
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