Commit 96095a84 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

dshow: off by one

parent 4a170b9a
......@@ -1893,7 +1893,7 @@ static int Demux( demux_t *p_demux )
i_pts = sample.i_timestamp;
p_stream->b_pts = true;
}
i_pts += (i_pts >= 0) ? +5 : -5;
i_pts += (i_pts >= 0) ? +5 : -4;
i_pts /= 10; /* 100-ns to µs conversion */
i_pts += VLC_TS_0;
}
......
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