Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
tsfix: add check and correction for wrong DVBSUB dts/pts
- Loading branch information
Showing
1 changed file
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f632da3There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this fix any timeshifting issues? I remember that you touched this code last time to fix timeshifting?
f632da3There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That commit broke subtitles, subtitles are shown, but looks like a complete mess, some subtitles get skipped others are shown for a very short time, also some stay for few minutes.
Also following messages are in syslog:
Oct 17 11:28:32 localhost tvheadend[5281]: parser: The timediff for DVBSUB is big (452265), using audio dts
Oct 17 11:28:32 localhost tvheadend[5281]: parser: The timediff for DVBSUB is big (452265), using audio dts
Oct 17 11:28:32 localhost tvheadend[5281]: parser: The timediff for DVBSUB is big (452265), using audio dts
Oct 17 11:35:06 localhost tvheadend[5281]: parser: The timediff for DVBSUB is big (416010), using audio dts
Oct 17 11:49:59 localhost tvheadend[6085]: parser: The timediff for DVBSUB is big (405465), using audio dts
Oct 17 11:49:59 localhost tvheadend[6085]: parser: The timediff for DVBSUB is big (405465), using audio dts
Oct 17 11:49:59 localhost tvheadend[6085]: parser: The timediff for DVBSUB is big (405465), using audio dts
After reverting that commit, everything is back to normal.
f632da3There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tarvip : Could you try to change added 'if (diff > 2 * 90000) {' to 'if (diff > 10 * 90000) {' ?
f632da3There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tarvip : Forgot my request, please. It will resolve your issue but not other... I need to look into this more deeply.
f632da3There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tarvip : Fixed in 091c10d . It was just thinko. The time must be compared against actual audio time, not the reference (start) time .