[vlc-commits] demux: ts: flag sections transport to kill warnings
Francois Cartegnie
git at videolan.org
Sat Feb 27 13:46:50 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Feb 27 13:22:55 2016 +0100| [821e27ed47a04ca56901cc37dc75bab1229d1a0e] | committer: Francois Cartegnie
demux: ts: flag sections transport to kill warnings
Otherwise, goes through PES handlers which screams
about invalid header.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=821e27ed47a04ca56901cc37dc75bab1229d1a0e
---
modules/demux/mpeg/ts_psi.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index 7f23b08..a6268c6 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1322,6 +1322,9 @@ static void FillPESFromDvbpsiES( demux_t *p_demux,
switch( p_dvbpsies->i_type )
{
+ case 0x05: /* Private data in sections */
+ p_pes->data_type = TS_ES_DATA_TABLE_SECTION;
+ break;
case 0x06:
/* Handle PES private data */
PMTSetupEs0x06( p_demux, p_pes, p_dvbpsies );
More information about the vlc-commits
mailing list