Ticket #11895: tv_rec.cpp.diff

File tv_rec.cpp.diff, 864 bytes (added by Simon Munton <simon.j.munton@…>, 13 years ago)

Patch

  • mythtv/libs/libmythtv/tv_rec.cpp

    diff --git a/mythtv/libs/libmythtv/tv_rec.cpp b/mythtv/libs/libmythtv/tv_rec.cpp
    index ced991b..51cb634 100644
    a b void TVRec::FinishedRecording(RecordingInfo *curRec, RecordingQuality *recq)  
    904904        VID_1080 | VID_720 | VID_DAMAGED | VID_WIDESCREEN,
    905905        ((avg_height > 1000) ? VID_1080 : ((avg_height > 700) ? VID_720 : 0)) |
    906906        ((is_good) ? 0 : VID_DAMAGED) |
    907             ((aspectRatio == MARK_ASPECT_16_9) ||
    908              (aspectRatio == MARK_ASPECT_2_21_1)) ? VID_WIDESCREEN : 0);
     907            (((aspectRatio == MARK_ASPECT_16_9) ||
     908              (aspectRatio == MARK_ASPECT_2_21_1)) ? VID_WIDESCREEN : 0));
    909909
    910910    // Make sure really short recordings have positive run time.
    911911    if (curRec->GetRecordingEndTime() <= curRec->GetRecordingStartTime())