diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/live555/fix_operator_overload.patch | |
Diffstat (limited to 'vcpkg/ports/live555/fix_operator_overload.patch')
| -rw-r--r-- | vcpkg/ports/live555/fix_operator_overload.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/live555/fix_operator_overload.patch b/vcpkg/ports/live555/fix_operator_overload.patch new file mode 100644 index 0000000..0920618 --- /dev/null +++ b/vcpkg/ports/live555/fix_operator_overload.patch @@ -0,0 +1,13 @@ +diff --git a/liveMedia/MPEGVideoStreamFramer.cpp b/liveMedia/MPEGVideoStreamFramer.cpp +index 59c4656..a705e68 100644 +--- a/liveMedia/MPEGVideoStreamFramer.cpp ++++ b/liveMedia/MPEGVideoStreamFramer.cpp +@@ -129,7 +129,7 @@ void MPEGVideoStreamFramer + fPictureTimeBase = fFrameRate == 0.0 ? 0.0 : tc.pictures/fFrameRate; + fTcSecsBase = (((tc.days*24)+tc.hours)*60+tc.minutes)*60+tc.seconds; + fHaveSeenFirstTimeCode = True; +- } else if (fCurGOPTimeCode == fPrevGOPTimeCode) { ++ } else if (fCurGOPTimeCode.TimeCode::operator==(fPrevGOPTimeCode)) { + // The time code has not changed since last time. Adjust for this: + fPicturesAdjustment += picturesSinceLastGOP; + } else { |