[vlc-commits] demux: ts: set seen flag when probing start/end
Francois Cartegnie
git at videolan.org
Mon Feb 23 23:21:59 CET 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 23 23:21:01 2015 +0100| [8fe3d1719712cc3ab112a768cd997bb4a1e3e05c] | committer: Francois Cartegnie
demux: ts: set seen flag when probing start/end
Helps picking a missing/untrusted PCR
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8fe3d1719712cc3ab112a768cd997bb4a1e3e05c
---
modules/demux/ts.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 6e3ce09..4603f2d 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -2812,6 +2812,7 @@ static int ProbeChunk( demux_t *p_demux, int i_program, bool b_end, int64_t *pi_
}
int i_pid = PIDGet( p_pkt );
+ p_sys->pid[i_pid].b_seen = true;
if( i_pid != 0x1FFF && p_sys->pid[i_pid].b_valid && p_sys->pid[i_pid].p_owner &&
(p_pkt->p_buffer[1] & 0xC0) == 0x40 && /* Payload start but not corrupt */
More information about the vlc-commits
mailing list