[vlc-commits] Revert "packetizer: mpeg4audio: 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:13 2016 +0200| [a1980cfcaeb0b9ff4010fb1074effb408f047cb0] | committer: Francois Cartegnie

Revert "packetizer: mpeg4audio: flag discontinuity on timebase change"

This reverts commit ef6dd48f8ef753c87d445ec6853baf0b61b573ca.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a1980cfcaeb0b9ff4010fb1074effb408f047cb0
---

 modules/packetizer/mpeg4audio.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/packetizer/mpeg4audio.c b/modules/packetizer/mpeg4audio.c
index da79a65..73e4bdf 100644
--- a/modules/packetizer/mpeg4audio.c
+++ b/modules/packetizer/mpeg4audio.c
@@ -1038,11 +1038,7 @@ static block_t *PacketizeStreamBlock(decoder_t *p_dec, block_t **pp_block)
         p_sys->i_pts = p_sys->bytestream.p_block->i_pts;
         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_discontuinity = true;
             date_Set(&p_sys->end_date, p_sys->i_pts);
-        }
         p_sys->i_state = STATE_HEADER;
         break;
 



More information about the vlc-commits mailing list