[vlc-devel] [PATCH 0/1] Update rawvideo demux and codec

davidf+nntp at woaf.net davidf+nntp at woaf.net
Wed Nov 5 01:01:49 CET 2008


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

The previous version didn't do a very good job of setting timestamps,
infact it was partially hard coded at 25fps.  The primary point of this
patch was to fix that, however i've also ended up sanitizing the module
options, to have a sensible ordering, ie anything learnt from YUV4MPEG2
is better than aything guessed from file extension; and the module opts
override both.

Interlace is more tricky, advice needed:
 - for interlace as a module option, it should be possible
   for the decoder to read the option and set the flag.
 - however, for YUV4MPEG, the demuxer has swallowed the headers
   that are required to determine the interlaced state, so the
   decoder has nothing to go on.

David Flynn (1):
  [rawvideo] Fix timestamps & input options

 modules/codec/rawvideo.c |   38 +++-----
 modules/demux/rawvid.c   |  244 ++++++++++++++++++++++++++--------------------
 2 files changed, 150 insertions(+), 132 deletions(-)




More information about the vlc-devel mailing list