summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2011-03-28 13:32:37 (GMT)
committer Mark Kendall <mkendall@mythtv.org>2011-03-28 13:33:31 (GMT)
commitc375a8650b6c8ae203e7a65a376dda6ebf37c63a (patch)
tree4d3d7288d490c78f2ff9a0dc223b0f2a54c2809d
parent464fa2837373d5f0c9277482a06bbb871369f7b7 (diff)
TV: Fix unlocking of the player context in the main playback loop.
(cherry picked from commit 534945895ead72b147f3d695c8f77c9486a48f46)
-rw-r--r--mythtv/libs/libmythtv/tv_play.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp
index bc42e52..baf1d23 100644
--- a/mythtv/libs/libmythtv/tv_play.cpp
+++ b/mythtv/libs/libmythtv/tv_play.cpp
@@ -386,8 +386,8 @@ bool TV::StartTV(ProgramInfo *tvrec, uint flags)
mctx->player->EventLoop();
mctx->player->VideoLoop();
}
+ mctx->UnlockDeletePlayer(__FILE__, __LINE__);
}
- mctx->UnlockDeletePlayer(__FILE__, __LINE__);
tv->ReturnPlayerLock(mctx);
}