[mythtv-commits] Ticket #4718: DVD playback: don't assume that device name starts with /

MythTV mythtv at cvs.mythtv.org
Sat Jun 21 16:32:26 UTC 2008


#4718: DVD playback: don't assume that device name starts with /
-----------------------------+----------------------------------------------
 Reporter:  andrei at tanas.ca  |        Owner:  ijr    
     Type:  patch            |       Status:  new    
 Priority:  minor            |    Milestone:  unknown
Component:  mythtv           |      Version:  head   
 Severity:  medium           |   Resolution:         
  Mlocked:  0                |  
-----------------------------+----------------------------------------------
Changes (by skamithi):

  * status:  closed => new
  * resolution:  fixed =>


Comment:

 playback of dvd in mythvideo gallery fails. the following change resolves
 the problem for me.
 {{{
 Index: RingBuffer.cpp
 ===================================================================
 --- RingBuffer.cpp      (revision 17526)
 +++ RingBuffer.cpp      (working copy)
 @@ -182,7 +182,7 @@
          dvdPriv = new DVDRingBufferPriv();
          startreadahead = false;

 -        filename.remove(0,5);     // MythVideo calls with "dvd:/" +
 device
 +        filename.remove(0, 4);     // MythVideo calls with "dvd:/" +
 device
          if (filename.length())
          {
              QFile checkFile(filename);

 }}}

 the first "/" is been removed.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4718#comment:4>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list