[mythtv-commits] [MythTV/mythtv] 995149: Seek table rebuild for videos with mythcommflag

kmdewaal noreply at github.com
Tue Nov 4 15:48:47 UTC 2025


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 9951493f8e9190192f924e2d536e3a38b63b9c48
      https://github.com/MythTV/mythtv/commit/9951493f8e9190192f924e2d536e3a38b63b9c48
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M mythtv/libs/libmythbase/programinfo.cpp

  Log Message:
  -----------
  Seek table rebuild for videos with mythcommflag

The markup data for videos in database table filemarkup
can be created with "mythcommflag --rebuild".
This data is needed for cutlist editing and the presence of this
data may possibly also speed up navigating in playback of a video file.

The rebuild creates a record type 33, MARK_DURATION_MS, for each GOP,
each GOP identified by the mark value. The total duration of the file
is also stored as record type 33 but with mark value 0.

The problem is that the code that writes the total duration deletes many
of the type 33 records in the table. This causes problems navigating in
playback of a video file. It also causes cutlist editing to fail.

The solution as implemented does replace only the record type 33 for
mark 0 and it leaves all other records with type 33 intact.



To unsubscribe from these emails, change your notification settings at https://github.com/MythTV/mythtv/settings/notifications


More information about the mythtv-commits mailing list