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:32:37 (GMT)
commit534945895ead72b147f3d695c8f77c9486a48f46 (patch)
tree9e5cd06b7b222aedaea834417f11a9a2fac693f4
parentaa2be4e20001f1b763705476f862937bc8d653d7 (diff)
TV: Fix unlocking of the player context in the main playback loop.
-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 1ba677f..9bfbc25 100644
--- a/mythtv/libs/libmythtv/tv_play.cpp
+++ b/mythtv/libs/libmythtv/tv_play.cpp
@@ -318,8 +318,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);
}