aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/live555/fix_operator_overload.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/live555/fix_operator_overload.patch')
-rw-r--r--vcpkg/ports/live555/fix_operator_overload.patch13
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 {