Bug 313011 - phonon-gst 4.6.2 doesn't play Audio CDs with gst-plugins-cdparanoia
Summary: phonon-gst 4.6.2 doesn't play Audio CDs with gst-plugins-cdparanoia
Status: RESOLVED FIXED
Alias: None
Product: phonon-backend-gstreamer
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.6.2
Platform: Other Linux
: NOR normal
Target Milestone: 4.7
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks: 308084
  Show dependency treegraph
 
Reported: 2013-01-10 12:09 UTC by Matěj Laitl
Modified: 2013-01-10 12:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.6.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.