Skip to content

Commit 60d084e

Browse files
committed
Closes #7991. Implement patch in a slightly different way.
Now just raises an informational if the number of buffers we get back is less than what we requested. git-svn-id: http://svn.mythtv.org/svn/trunk@23384 7dbf422c-18fa-0310-86e9-fd20926502f2
1 parent c1490bf commit 60d084e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mythtv/libs/libmythtv/NuppelVideoRecorder.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,11 +1389,9 @@ void NuppelVideoRecorder::DoV4L2(void)
13891389
return;
13901390
}
13911391

1392-
if (vrbuf.count < 5)
1392+
if (vrbuf.count < numbuffers)
13931393
{
1394-
VERBOSE(VB_IMPORTANT, LOC_ERR + "Not enough buffer memory, exiting");
1395-
errored = true;
1396-
return;
1394+
VERBOSE(VB_IMPORTANT, LOC + QString("Requested %1 buffers, but only %2 are available. Proceeding anyway").arg(numbuffers).arg(vrbuf.count));
13971395
}
13981396

13991397
numbuffers = vrbuf.count;

0 commit comments

Comments
 (0)