[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdemultimedia/dragonplayer/src/app
From: Christian Weilbach <christian () whiletaker ! homeip ! net>
Date: 2008-07-21 6:08:34
Message-ID: 1216620514.186537.29175.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 835724 by weilbach:
Load directories as DVD's as well. Works here via drag and drop, but might need a new gui option.
M +2 -2 videoWindow.cpp
--- trunk/KDE/kdemultimedia/dragonplayer/src/app/videoWindow.cpp #835723:835724
@@ -195,8 +195,8 @@
eject();
KMimeType::Ptr mimeType = KMimeType::findByUrl( url );
- kDebug() << "detected mimetype: " << mimeType->name();
- if( mimeType->is( "application/x-cd-image" ) )
+ debug() << "detected mimetype: " << mimeType->name();
+ if( mimeType->is( "application/x-cd-image" ) || mimeType->is( "inode/directory" ) )
m_media->setCurrentSource( Phonon::MediaSource( Phonon::Dvd, url.path() ) );
else
m_media->setCurrentSource( url );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic