[vlc-devel] [PATCH 0/5] mpeg ts updated for dirac support

davidf+nntp at woaf.net davidf+nntp at woaf.net
Fri Nov 14 22:46:35 CET 2008

From: David Flynn <davidf at rd.bbc.co.uk>

This patch set has been updated to reflect nefrir's initial comments:
  - bother to include limits.h and use INT_MAX for i_max_pes_size
  - encapsulate stream_id_extension in the same way done for private_id
  - fix docs error.
  - detail on when unbounded packets are produced

nefrir, there are a couple of extra bits too:
  - added macro PES_EXTENDED_STREAM_ID
  - simplified calculation of i_pes_payload (moved part that is constant
    for all iterations outside of loop)
  - moved sanity check that unbounded pes is video_es from PESHeader
    into EStoPES.  This makes more sense as if there were a fault, it
    won't produce invalid output.
  - added patch 5 which moves all calculations on stream_id to inside
    PESHeader (all in one place)

David Flynn (5):
  mux/mpeg/pes: Add documentation stub
  mux/mpeg/pes: Add support for unbounded VIDEO_ES
  mux/mpeg/pes: Add support for stream_id_extension
  mux/mpeg/ts: Add dirac muxing support
  mux/mpeg/pes: move PES_PRIVATE_STREAM_1 id handling into PESHeader()

 modules/mux/mpeg/pes.c |  137 +++++++++++++++++++++++++++++++++++++++--------
 modules/mux/mpeg/pes.h |    1 +
 modules/mux/mpeg/ts.c  |   27 +++++++++-
 3 files changed, 140 insertions(+), 25 deletions(-)

More information about the vlc-devel mailing list