summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Thor Kristjansson <danielk@cuymedia.net>2012-03-06 20:35:31 (GMT)
committer Daniel Thor Kristjansson <danielk@cuymedia.net>2012-03-06 20:35:31 (GMT)
commita9bf1d341f2e890ca4e51f061133bd5124fce662 (patch)
tree4d0dfc3d0f7664738cd7cd3277e5d025592722e5
parent9e6206728a29ba9c4b1c981d56e83aedaf804a7c (diff)
Rename vdpaubuffersize option to vdpaubuffercount.
If someone set this before [5e04d57] the number of buffers we try to allocate would be too high when they upgrade to 0.25.
-rw-r--r--mythtv/libs/libmythtv/videoout_vdpau.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmythtv/videoout_vdpau.cpp b/mythtv/libs/libmythtv/videoout_vdpau.cpp
index 25447ea..33b8f29 100644
--- a/mythtv/libs/libmythtv/videoout_vdpau.cpp
+++ b/mythtv/libs/libmythtv/videoout_vdpau.cpp
@@ -1219,7 +1219,7 @@ void VideoOutputVDPAU::ParseOptions(void)
if (!name.contains("vdpau"))
continue;
- if (name.contains("vdpaubuffersize"))
+ if (name.contains("vdpaubuffercount"))
{
uint num = opts.toUInt();
if (MIN_PROCESS_BUFFER <= num && num <= MAX_PROCESS_BUFFER)