Ticket #10220: dtvrecorder-w32.diff
File dtvrecorder-w32.diff, 510 bytes (added by , 13 years ago) |
---|
-
mythtv/libs/libmythtv/dtvrecorder.cpp
diff --git a/mythtv/libs/libmythtv/dtvrecorder.cpp b/mythtv/libs/libmythtv/dtvrecorder.cpp index 4ca6741..7787ca5 100644
a b static QDateTime ts_to_qdatetime( 330 330 uint64_t pts, uint64_t pts_first, QDateTime &pts_first_dt) 331 331 { 332 332 if (pts < pts_first) 333 pts += 0x1FFFFFFFF;333 pts += Q_UINT64_C(0x1FFFFFFFF); 334 334 QDateTime dt = pts_first_dt; 335 335 return dt.addMSecs((pts - pts_first)/90); 336 336 }