vcpkg/ports/live555/fix_operator_overload.patch
jim wang 61c166277f
[live555] update to 2023-06-20 (#32414)
* update version

* update version

* update version

* update version

* fix the use of operator

* update version
2023-07-07 09:04:03 -07:00

14 lines
692 B
Diff

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 {