[FFmpeg-cvslog] h264: Workaround invalid MPEG-TS broadcasts

Michael Niedermayer michaelni at gmx.at
Mon Aug 20 22:27:42 CEST 2012


On Mon, Aug 20, 2012 at 01:42:46PM +0000, Joakim Plate wrote:
> 
> > 
> > +                if (h->sei_recovery_frame_cnt >= 0 && (h->frame_num != h-
> >sei_recovery_frame_cnt ||
> > hx->slice_type_nos != AV_PICTURE_TYPE_I))
> > +                    h->valid_recovery_point++;
> > +
> >                  if (   h->sei_recovery_frame_cnt >= 0
> 
> 
> Shouldn't this be reset to zero at some point, like at flush? I suppose 2million 
> recovery frames is not likely, but it feels wrong to never reset it to zero.

hmm, it would need several years of video playback to become 0
ill fix it

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20120820/4d9022f2/attachment.asc>


More information about the ffmpeg-cvslog mailing list