Ticket #9588: 21-tvplay-vidscan.diff

File 21-tvplay-vidscan.diff, 809 bytes (added by Lawrence Rust <lvr@…>, 9 years ago)
  • mythtv/libs/libmythtv/tv_play.cpp

    # From Menu select Video:Scan which results in Qt assert in PlayerContext::UnlockDeletePlaye
    # complaining: A mutex must be unlocked in the same thread that locked it
    # Seems that there's an unmatched call to UnlockDeletePlayer in TV::FillOSDMenuVideo
    diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp
    index 685986d..39db921 100644
    void TV::FillOSDMenuVideo(const PlayerContext *ctx, OSD *osd, 
    1006810068            cur_mode = " " + cur_mode;
    1006910069            scan_type = kScan_Detect;
    1007010070        }
    10071         ctx->UnlockDeletePlayer(__FILE__, __LINE__);
    1007210071
    1007310072        osd->DialogAddButton(tr("Detect") + cur_mode, "SELECTSCAN_0", false,
    1007410073                             scan_type == kScan_Detect);