[mythtv-commits] mythtv commit: r26920 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Oct 21 02:15:43 UTC 2010


      Author: markk
        Date: 2010-10-21 02:15:43 +0000 (Thu, 21 Oct 2010)
New Revision: 26920
   Changeset: http://svn.mythtv.org/trac/changeset/26920

Log:

Fix playback of some DVDs.

When we initially open a DVD and scan it for av streams, we
intentionally ignore certain dvdnav events and continue reading from the
disk. Sometimes this means libdvdnav emits a DVDNAV_STOP event
(equivalent to an EOF), a state which does not seem to be cleared when
we reset the device for actual playback. libdvdnav will not return any
more packets for decoding.

We now close and re-open the disc if a DVDNAV_STOP event has been
emitted during the initial scan, which appears to work in the limited
number of discs that have this problem.


Modified:

   trunk/mythtv/libs/libmythtv/DVDRingBuffer.cpp
   trunk/mythtv/libs/libmythtv/DVDRingBuffer.h
   trunk/mythtv/libs/libmythtv/avformatdecoder.cpp




More information about the mythtv-commits mailing list