Skip to content

Commit 586449a

Browse files
committed
access: dvdread: fix invalid PCR on title start
1 parent 89070a7 commit 586449a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/access/dvdread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ static int DemuxBlock( demux_t *p_demux, const uint8_t *p, int len )
602602
int i_mux_rate;
603603
if( !ps_pkt_parse_pack( p_pkt, &i_scr, &i_mux_rate ) )
604604
{
605-
es_out_SetPCR( p_demux->out, i_scr );
605+
es_out_SetPCR( p_demux->out, VLC_TICK_0 + i_scr );
606606
if( i_mux_rate > 0 ) p_sys->i_mux_rate = i_mux_rate;
607607
}
608608
block_Release( p_pkt );

0 commit comments

Comments
 (0)