Commit 8a8bb058 authored by gbazin's avatar gbazin

* modules/demux/ts.c: small video artefacts are usually better than dropping whole frames.

parent b28de531
......@@ -1404,8 +1404,10 @@ static vlc_bool_t GatherPES( demux_t *p_demux, ts_pid_t *pid, block_t *p_bk )
pid->i_cc = i_cc;
if( pid->es->p_pes )
if( pid->es->p_pes && pid->es->fmt.i_cat != VIDEO_ES )
{
/* Small video artifacts are usually better then
* dropping full frames */
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