Bug 313011

Summary: phonon-gst 4.6.2 doesn't play Audio CDs with gst-plugins-cdparanoia
Product: [Frameworks and Libraries] phonon-backend-gstreamer Reporter: Matěj Laitl <matej>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED FIXED    
Severity: normal CC: myriam, romain.perier, tdfischer
Priority: NOR    
Version: 4.6.2   
Target Milestone: 4.7   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 4.6.3
Bug Depends on:    
Bug Blocks: 308084    

Description Matěj Laitl 2013-01-10 12:09:01 UTC
A bug entry for a problem already fixed in git.

Harald, Trever, this is a request for phonon-gsteamer 4.6.3!
Comment 1 Harald Sitter 2013-01-10 12:11:06 UTC
waiting for QA feedback, you can poke me on IRC if you want to help with that ;)

same goes for pvlc btw
Comment 2 Matěj Laitl 2013-01-10 12:18:21 UTC
Okay, good. Just some more info so that this bug is searchable.
This got fixed by Harald in http://commits.kde.org/phonon-gstreamer/d4c688e9

With 4.6.2:
PHONON-GST             BEGIN: virtual void Phonon::Gstreamer::MediaObject::play() 
PHONON-GST               BEGIN: void Phonon::Gstreamer::MediaObject::requestState(Phonon::State) 
PHONON-GST                 2 
PHONON-GST                 BEGIN: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState) 
PHONON-GST                   Transitioning to state "playing" 
PHONON-GST                   BEGIN: static void Phonon::Gstreamer::Pipeline::cb_setupSource(GstElement*, GParamSpec*, void*) 
PHONON-GST                   END__: static void Phonon::Gstreamer::Pipeline::cb_setupSource(GstElement*, GParamSpec*, void*) [Took: 0s] 
PHONON-GST                   1 
PHONON-GST                   BEGIN: void Phonon::Gstreamer::MediaObject::setError(const QString&, Phonon::ErrorType) 
PHONON-GST                     "Could not open CD device for reading." 
PHONON-GST                   END__: void Phonon::Gstreamer::MediaObject::setError(const QString&, Phonon::ErrorType) [Took: 0s] 
PHONON-GST                 END__: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState) [Took: 0.012s] 
PHONON-GST               END__: void Phonon::Gstreamer::MediaObject::requestState(Phonon::State) [Took: 0.012s] 
PHONON-GST             END__: virtual void Phonon::Gstreamer::MediaObject::play() [Took: 0.013s] 
amarok:             [EngineController] m_media->error: 0 ""

^^^ BTW, the last line seems to be an unrelated error, the error doesn't seem to be propagated to MediaObject that Amarok sees?

With v4.6.2-6-ga2be115:
PHONON-GST             BEGIN: virtual void Phonon::Gstreamer::MediaObject::play() 
PHONON-GST               BEGIN: void Phonon::Gstreamer::MediaObject::requestState(Phonon::State) 
PHONON-GST                 2 
PHONON-GST                 BEGIN: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState) 
PHONON-GST                   Transitioning to state "playing" 
PHONON-GST                   BEGIN: static void Phonon::Gstreamer::Pipeline::cb_setupSource(GstElement*, GParamSpec*, void*) 
PHONON-GST                     setting device prop to "/dev/sr0" 
PHONON-GST                   END__: static void Phonon::Gstreamer::Pipeline::cb_setupSource(GstElement*, GParamSpec*, void*) [Took: 0s] 
PHONON-GST                   Duration message 
PHONON-GST                 END__: GstStateChangeReturn Phonon::Gstreamer::Pipeline::setState(GstState) [Took: 0.051s] 
PHONON-GST               END__: void Phonon::Gstreamer::MediaObject::requestState(Phonon::State) [Took: 0.051s] 
PHONON-GST             END__: virtual void Phonon::Gstreamer::MediaObject::play() [Took: 0.051s]

Works with gst-plugins-cdio, perhaps it doesn't need device path or has some sane default.