You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playback a recording jump forward a couple commercial breaks (default Q key), then jump back a few commercial breaks (default Z key). When jumping back the OSD show the dash in front of both the minutes and seconds (-03:-03)
What do you see instead?
The OSD should only show the negative in front of the minutes. (-03:03)
The text was updated successfully, but these errors were encountered:
The issue can be easily reproduced. The formatting route does not correctly handle negative values for the number of milliseconds skipped. This can be easily fixed by first determining the sign, then doing the conversion to string and then prepending the minus sign if needed. A fix is forthcoming.
When converting a negative time value with format string "m:ss" there is
a minus sign before the minutes and also a minus sign before the seconds.
The implementation apparently only supports positive time interval values.
The implementation is now extended to support negative time interval values
by converting the absolute time value to string and then prepending a minus
sign when the time value is negative.
The implementation was introduced in commit 65b9c73
"Better fix for MythDate::formatTime to handle overflows.", committed on Mar 16, 2022.
Refs #733
When converting a negative time value with format string "m:ss" there is
a minus sign before the minutes and also a minus sign before the seconds.
The implementation apparently only supports positive time interval values.
The implementation is now extended to support negative time interval values
by converting the absolute time value to string and then prepending a minus
sign when the time value is negative.
The implementation was introduced in commit 65b9c73
"Better fix for MythDate::formatTime to handle overflows.", committed on Mar 16, 2022.
Refs #733
(cherry picked from commit c166849)
Platform: Arch Linux
MythTV version: v33.1-7f288be6
Component: Playback
What steps will reproduce the bug?
Playback a recording jump forward a couple commercial breaks (default Q key), then jump back a few commercial breaks (default Z key). When jumping back the OSD show the dash in front of both the minutes and seconds (-03:-03)
What do you see instead?
The OSD should only show the negative in front of the minutes. (-03:03)
The text was updated successfully, but these errors were encountered: