1. 25 6月, 2020 1 次提交
  2. 15 6月, 2020 1 次提交
  3. 27 12月, 2019 1 次提交
  4. 27 4月, 2019 1 次提交
  5. 21 3月, 2019 1 次提交
  6. 11 9月, 2015 1 次提交
  7. 09 4月, 2015 1 次提交
  8. 08 8月, 2014 1 次提交
  9. 04 3月, 2014 2 次提交
    • W
      avformat/microdvd: export the declared frame rate · b416517c
      wm4 提交于
      MicroDVD files are normally frame-based (i.e. there are no absolute
      timestamps), but can have an optional frame rate header. If this
      header is missing, the timestamps depend on the frame rate of the
      video they were created for.
      
      The demuxer will use a fallback frame rate if it's missing from the
      header. Currently, applications using libavformat can't know whether
      the time base is based on the fallback value, or if a frame rate
      header was present.
      
      This commit introduces a subfps AVOption for MicroDVD, and the
      demuxer sets it if and only if a frame rate header was present.
      Signed-off-by: NClément Bœsch <u@pkh.me>
      b416517c
    • W
      avformat/microdvd: skip BOM properly · 0786598f
      wm4 提交于
      The BOM is already skipped in the probe function, but not the header
      read function. This could cause the header to be misparsed, such as
      not interpreting the FPS line.
      0786598f
  10. 09 9月, 2013 1 次提交
    • C
      avformat/subtitles: add a next line jumper and use it. · 90fc00a6
      Clément Bœsch 提交于
      This fixes a bunch of possible overread in avformat with the idiom p +=
      strcspn(p, "\n") + 1 (strcspn() can focus on the trailing '\0' if no
      '\n' is found, so the +1 leads to an overread).
      
      Note on lavf/matroskaenc: no extra subtitles.o Makefile dependency is
      added because only the header is required for ff_subtitles_next_line().
      
      Note on lavf/mpsubdec: code gets slightly complex to avoid an infinite
      loop in the probing since there is no more forced increment.
      90fc00a6
  11. 04 9月, 2013 1 次提交
  12. 02 1月, 2013 1 次提交
  13. 31 12月, 2012 1 次提交
    • C
      microdvd: sanitize AVPackets. · 1f265f52
      Clément Bœsch 提交于
      Current MicroDVD AVPackets contain timing information and trailing line
      breaks. The data is now only composed of the markup data. Doing this
      consistently between text subtitles decoders allows to use different
      codec for various formats. For instance, MicroDVD markup is sometimes
      found in some VPlayer files. Also, generally speaking, the subtitles
      text decoders have no use of these timings (and they must not use them
      since it would break any user timing adjustment).
      
      Technically, this is a major ABI break. In practice, a mismatching
      lavf/lavc will now error out for MicroDVD decoding. Supporting both
      formats requires unnecessary complex and fragile code.
      
      FATE needs update because line breaks in the ASS file were "\n" (because
      that's what is used in the original file). ASS format expect "\r\n" line
      breaks; this commit fixes this issue. Also note that this "\r\n"
      trailing need to be moved at some point from the decoders to the ASS
      muxer.
      1f265f52
  14. 25 12月, 2012 1 次提交
  15. 02 12月, 2012 1 次提交
  16. 30 6月, 2012 1 次提交
  17. 16 6月, 2012 1 次提交
  18. 30 5月, 2012 1 次提交
  19. 28 4月, 2012 1 次提交
  20. 03 12月, 2011 1 次提交
  21. 05 11月, 2011 1 次提交
  22. 04 4月, 2011 1 次提交