[mythtv-commits] Ticket #1660: database updates in *recorder.cpp cause dropped data

MythTV mythtv at cvs.mythtv.org
Tue Apr 11 02:28:30 UTC 2006

#1660: database updates in *recorder.cpp cause dropped data
 Reporter:  ajlill at ajlc.waterloo.on.ca  |       Owner:  ijr
     Type:  defect                      |      Status:  new
 Priority:  minor                       |   Milestone:     
Component:  mythtv                      |     Version:     
 Severity:  medium                      |  
 I've been fighting the

 kernel: ivtv0: All encoder MPEG stream buffers are full. Dropping data.
 kernel: ivtv0: Cause: the application is not reading fast enough.

 problem for months now. It turns out the biggest problem is updating the
 filesize and recordedmarkup in the same thread that reads from /dev/video.
 The attached patch creates a separate thread to run theses, redoes the
 multilple inserts to be more efficient, as well as changes to up the
 priority of the reader and writer threads. With these changes, the
 frequency of these errors have dropped from once per program to once per

Ticket URL: <http://svn.mythtv.org/trac/ticket/1660>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list