[vlc-commits] Revert "packetizer: mlp: flag discontinuity on timebase change"
Francois Cartegnie
git at videolan.org
Thu Oct 27 13:11:29 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Oct 27 13:06:57 2016 +0200| [74685e422f4cdeeafee7e2512929e7aae51721d5] | committer: Francois Cartegnie
Revert "packetizer: mlp: flag discontinuity on timebase change"
This reverts commit 81703617662aa32a173d5758bf7327a8502c1541.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=74685e422f4cdeeafee7e2512929e7aae51721d5
---
modules/packetizer/mlp.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/modules/packetizer/mlp.c b/modules/packetizer/mlp.c
index ba2a843..6cfbf9b 100644
--- a/modules/packetizer/mlp.c
+++ b/modules/packetizer/mlp.c
@@ -334,8 +334,6 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
if( p_sys->i_pts > VLC_TS_INVALID &&
p_sys->i_pts != date_Get( &p_sys->end_date ) )
{
- if( date_Get( &p_sys->end_date ) != VLC_TS_INVALID )
- p_sys->b_discontinuity = true;
date_Set( &p_sys->end_date, p_sys->i_pts );
}
p_sys->i_state = STATE_HEADER;
@@ -430,8 +428,6 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
const mtime_t i_end_date = date_Get( &p_sys->end_date );
date_Init( &p_sys->end_date, p_sys->mlp.i_rate, 1 );
date_Set( &p_sys->end_date, i_end_date );
- if( i_end_date != VLC_TS_INVALID )
- p_sys->b_discontinuity = true;
}
}
More information about the vlc-commits
mailing list