summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2011-01-18 05:21:00 (GMT)
committer Mark Kendall <mkendall@mythtv.org>2011-01-18 05:21:00 (GMT)
commit40df4b66c825e7148a44f47f6a940c3af90e51dc (patch)
treea682f69fa2001aaada587984acf86463d12dbeeb
parentf25787fa55a639371417cfc26413211b513535f0 (diff)
Disable XvMC when playing DVDs in fixes/0.24
-rw-r--r--mythtv/libs/libmythtv/avformatdecoder.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
index 23719d1..dadf87d 100644
--- a/mythtv/libs/libmythtv/avformatdecoder.cpp
+++ b/mythtv/libs/libmythtv/avformatdecoder.cpp
@@ -1804,8 +1804,7 @@ int AvFormatDecoder::ScanStreams(bool novideo)
if (dec.left(4) == "xvmc")
dvd_xvmc_enabled = true;
- if (ringBuffer->InDVDMenuOrStillFrame() &&
- dvd_xvmc_enabled)
+ if (ringBuffer->IsDVD())
{
force_xv = true;
enc->pix_fmt = PIX_FMT_YUV420P;