# 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, |
10068 | 10068 | cur_mode = " " + cur_mode; |
10069 | 10069 | scan_type = kScan_Detect; |
10070 | 10070 | } |
10071 | | ctx->UnlockDeletePlayer(__FILE__, __LINE__); |
10072 | 10071 | |
10073 | 10072 | osd->DialogAddButton(tr("Detect") + cur_mode, "SELECTSCAN_0", false, |
10074 | 10073 | scan_type == kScan_Detect); |