Ticket #4877: umount-eject.patch
File umount-eject.patch, 583 bytes (added by , 16 years ago) |
---|
-
libs/libmyth/mythcdrom.cpp
119 119 if (MEDIATYPE_DATA == m_MediaType) 120 120 MythMediaDevice::onDeviceMounted(); 121 121 122 123 // Unlock the door, and if appropriate unmount the media, 124 // so the user can press the manual eject button 122 125 if (m_AllowEject) 126 { 123 127 unlock(); 128 if (m_MediaType == MEDIATYPE_DVD || m_MediaType == MEDIATYPE_VCD) 129 unmount(); 130 } 124 131 } 125 132