[MPlayer-users] New patch for TS without PMT
Nico Sabbi
nicola.sabbi at poste.it
Wed Sep 3 23:33:42 CEST 2008
Il giorno mer, 03/09/2008 alle 17.25 -0400, The Wanderer ha scritto:
> Marco Munderloh wrote:
>
> > I've improved the stream type recognition. Works for all of my ~120
> > M2V and H264/AVC TS files. Recognition is much faster now and does
> > not rely on the very ugly count of leading zeros. Nevertheless I'm
> > not sure if it is valid for all H264/M2V TS files available. But TS
> > without proper PAT/PMT is not standard conform anyway, and the patch
> > is only touching this part. Sequence header parsing is only done once
> > and choice is only made on the first NAL/GOP received to improve
> > speed.
>
> Patches for possible inclusion should be sent to mplayer-dev-eng,
> following the guidelines in DOCS/tech/patches.txt (which at a glance I
> think you mostly have).
>
indeed, and the code is not acceptable: you should factorize and reuse
the parsing code in demux_mpg_ps_open() in demux_mpg.c
More information about the MPlayer-users
mailing list