1. 26 May, 2020 1 commit
  2. 25 May, 2020 7 commits
  3. 23 May, 2020 12 commits
  4. 22 May, 2020 6 commits
  5. 21 May, 2020 5 commits
  6. 20 May, 2020 3 commits
  7. 19 May, 2020 6 commits
    • Paul B Mahol's avatar
      avcodec: add NotchLC decoder · cdd06db5
      Paul B Mahol authored
      cdd06db5
    • Steven Liu's avatar
      avformat/url: check the result of the strrchr · b707abf0
      Steven Liu authored
      because it need be check for success, is should not
      change the old way if it failure.
      fix ticket: 8674
      Signed-off-by: 's avatarSteven Liu <liuqi05@kuaishou.com>
      b707abf0
    • Andreas Rheinhardt's avatar
      avformat/matroskadec: Export FileDescription as title tag · 3bd26b28
      Andreas Rheinhardt authored
      Each AttachedFile in Matroska can have a FileDescription element that
      contains a human-friendly name for the attached file; yet this element
      has been ignored up until now. This commit changes this and exports it
      as title tag instead (the Matroska muxer mapped the title tag to the
      AttachedFile element since support for Attachments was added).
      Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
      3bd26b28
    • Andreas Rheinhardt's avatar
      avformat/matroskaenc: Don't ignore tags of chapters written late · 4ebfc13c
      Andreas Rheinhardt authored
      The Matroska muxer writes the Chapters early when chapters were already
      available when writing the header; in this case any tags pertaining to
      these chapters get written, too.
      
      Yet if no chapters had been supplied before writing the header, Chapters
      can also be written when writing the trailer if any are supplied. Tags
      belonging to these chapters were up until now completely ignored.
      
      This commit changes this: Writing the tags belonging to chapters has
      been moved to mkv_write_chapters(). If mkv_write_tags() has not been
      called yet (i.e. when chapters are written when writing the header),
      the AVIOContext for writing the ordinary Tags element is used, but not
      output, as this is left to mkv_write_tags() in order to only write one
      Tags element. Yet if mkv_write_tags() has already been called,
      mkv_write_chapters() will output a Tags element of its own which only
      contains the tags for chapters.
      
      When chapters are available initially, the corresponding tags will now
      be the first tags in the Tags element; but the ordering of tags in Tags
      is irrelevant anyway.
      
      This commit also makes chapter_id_offset local to mkv_write_chapters()
      as it is used only there and not reused at all.
      
      Potentially writing a second Tags element means that the maximum number
      of SeekHead entries had to be incremented. All the changes to FATE
      result from the ensuing increase in the amount of space reserved for the
      SeekHead (21 bytes more).
      Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
      4ebfc13c
    • Andreas Rheinhardt's avatar
      avformat/matroskaenc: Move mkv_write_chapters() · 19e189b1
      Andreas Rheinhardt authored
      This is needed so that it can access mkv_write_tag() and mkv_check_tag()
      without using forward declarations (which are unnecessary here).
      Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
      19e189b1
    • Andreas Rheinhardt's avatar
      avformat/matroskaenc: Allow a custom destination for writing Tags · 4992bfe8
      Andreas Rheinhardt authored
      Up until now, the Matroska muxer writes only one Tags level 1 element
      and therefore using a certain place to store the dynamic buffer used for
      writing it was hardcoded; yet the Matroska specifications allow an
      unlimited amount of Tags elements and we have reason to write a second
      one: If chapters are provided after writing the header, they are written
      when writing the trailer; yet the corresponding tags are ignored. This
      can be fixed by writing them in a second Tags element.
      
      Also use a MatroskaMuxContext * instead of an AVFormatContext * as
      parameter in mkv_write_tag() and mkv_write_tag_targets() as that is all
      these functions use.
      Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
      4992bfe8