Ticket #10220: dtvrecorder-w32.diff

File dtvrecorder-w32.diff, 510 bytes (added by Lawrence Rust <lvr@…>, 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( 
    330330    uint64_t pts, uint64_t pts_first, QDateTime &pts_first_dt)
    331331{
    332332    if (pts < pts_first)
    333         pts += 0x1FFFFFFFF;
     333        pts += Q_UINT64_C(0x1FFFFFFFF);
    334334    QDateTime dt = pts_first_dt;
    335335    return dt.addMSecs((pts - pts_first)/90);
    336336}