mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 20:09:00 +08:00
14 lines
692 B
Diff
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 {
|