﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
10794	[PATCH] ffmpeg: Dont discard PES sections split across a TS packet	Lawrence Rust <lvr@…>	danielk	"In libavformat/mpegts.c, if a TS packet has a pointer field which marks the boundary of a PES section then the first section will be discarded if a second section is started in the remainder of the TS packet.

This fix adds a check for a completed section and if present, appends the 2nd section table to the 1st.

This bug is most noticeable on the BBC MHEG text (red button) service which often will not start because the boot application or essential files have missing blocks.  Currently, it is often impossible to view the BBC 'red button' service on FreeSat because of this bug.

The attached patch is for fixes/0.25 and is also applicable to fixes/0.24.  The same bug also affects git master but ffmpeg has been updated since and has changed considerably in this area.  

I take it that this bug has been around for a long time and has caused problems for text and subtitle users for a similarly long time.

The bug and fix can be tested on this sample (16MB) recorded from Freesat BBC1 on the 25-May with mythtv fixes/0.24:
ftp://guest@ftp.softsystem.co.uk/nomheg.mpg"	Patch - Bug Fix	closed	minor	0.26	MythTV - DVB	0.25-fixes	medium	fixed	MHEG 'red button'		0
