[mythtv-commits] [MythTV/mythtv] 99a6e0: Fix fileinfo.xml generation in mytharchivehelper

rcrdnalor noreply at github.com
Mon Jul 25 16:49:32 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 99a6e078027db5df7353dc2883d57dbb380acb92
      https://github.com/MythTV/mythtv/commit/99a6e078027db5df7353dc2883d57dbb380acb92
  Author: Roland Ernst <rcrernst at gmail.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp

  Log Message:
  -----------
  Fix fileinfo.xml generation in mytharchivehelper

Plugin mytharchive:
When ffmpeg cannot determine the codec of the provided stream,
the whole buffer provided by `avcodec_string` is taken in the function
`getFileInfo` to create an xml entry. Cleanup this buffer by removing
'\0' characters. Otherwise, the return codec in the xml sequence will
hold 256 zeros and mythburn.py fails to read this xml file.

Refs #609




More information about the mythtv-commits mailing list