1. 18 12月, 2014 3 次提交
  2. 17 12月, 2014 2 次提交
    • M
      dashenc: Adjust the start time of a segment to the end of the previous segment · 456e93bf
      Martin Storsjö 提交于
      This is the same adjustment that the mp4 muxer does to the start
      timestamp of fragments, since the timestamp of a sample in an mp4
      file is implicit from the sum of earlier sample durations.
      
      This avoids gaps in the timeline (which can stop dash.js from
      playing it back), and makes sure the timestamp on the segmenter
      level matches what the mp4 muxer actually writes into the segments.
      
      This is only an issue if the AVPacket duration of the last
      packet of a segment doesn't point to the actual start timestamp
      of the next packet (the first in the next segment).
      Signed-off-by: NMartin Storsjö <martin@martin.st>
      456e93bf
    • M
      dashenc: Write segment timelines properly if the timeline has gaps · 2f628d59
      Martin Storsjö 提交于
      Write a new start time if the duration of the previous segment
      didn't match the start of the next one. Check that segments
      actually are continuous before writing a repeat count.
      
      This makes sure timestamps deduced from the timeline actually
      match the real start timestamp as written in filenames (if
      using a template containing $Time$).
      Signed-off-by: NMartin Storsjö <martin@martin.st>
      2f628d59
  3. 16 12月, 2014 1 次提交
    • M
      mov: Fix handling of zero-length metadata values · 6f4364ab
      Martin Storsjö 提交于
      Since 3cec81f4, a zero-length metadata value would try to
      allocate 2*0 bytes, where av_malloc() returns NULL.
      
      Always add one to the allocated length, to allow space for
      a null terminator in the zero-length case.
      
      Incidentally, this fixes fate-alac on RVCT 4.0, where a compiler
      bug seems to mess up the mov muxer to the point that it writes
      the wrong sort of metadata. Previously this bug was undetected,
      but since 3cec81f4 such mov files started returning
      AVERROR(ENOMEM) in the mov demuxer.
      Signed-off-by: NMartin Storsjö <martin@martin.st>
      6f4364ab
  4. 15 12月, 2014 15 次提交
  5. 11 12月, 2014 2 次提交
  6. 10 12月, 2014 6 次提交
  7. 09 12月, 2014 3 次提交
  8. 08 12月, 2014 8 次提交