[mythtv-commits] mythtv commit: r8703 by danielk

mythtv@cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Jan 24 14:25:00 UTC 2006


      Author: danielk
        Date: 2006-01-24 14:24:59 +0000 (Tue, 24 Jan 2006)
New Revision: 8703
   Changeset: http://cvs.mythtv.org/trac/changeset/8703

Modified:

   trunk/mythtv/libs/libmythtv/NuppelVideoPlayer.cpp
   trunk/mythtv/libs/libmythtv/RingBuffer.cpp
   trunk/mythtv/libs/libmythtv/livetvchain.cpp

Log:

Fixes a ringbuffer switching problem when the stream format changes.

When OpenFile() is called due to a stream change and the ringbuffer is paused it can get stuck waiting for more data which will never come.

Also, if the stream is coming from a DTV type recorder we need to mark all discontinuous streams as being stream format changes, since the format may have changed drastically. Doing a format change while opening the file causes an additional slew of problems which this fixes by just reiniting the decoder with the new format during the ringbuffer switch.






More information about the mythtv-commits mailing list