blob: 09206185cca1f9cbac9c7e12e69daeb478c2b138 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 {
|