issue with DVD on gstreamer backend

Luc Menut Luc.Menut at supagro.inra.fr
Sun May 10 20:06:38 CEST 2009


Hello,

Currently, the gstreamer backend tries audio extraction ("cdda://") to 
read all optical discs.

in gstreamer/mediaobject.cpp:

case MediaSource::Disc: // CD tracks can be specified..
     {
         QUrl cdurl(QLatin1String("cdda://"));
         if (createPipefromURL(cdurl))
             m_loading = true;
         else
             setError(tr("Could not open media source."));
     }
     break;

This prevents to read DVD with gstreamer; DVD should be read by "dvd://".
"cdda://" should be used only for Phonon::Cd discType.

I've tested the attached patch with audio cd and dvd under Linux.

regards,

Luc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gstreamer-MediaSource-Disc.patch
Type: text/x-patch
Size: 1516 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/phonon-backends/attachments/20090510/8a5edf7d/attachment.patch 


More information about the Phonon-backends mailing list