GNOME Bugzilla – Bug 686093
playbin: player properties not available - get 'uri' returns NULL once playback has started, not current uri
Last modified: 2012-10-15 13:15:54 UTC
Created attachment 226380 [details] test case under introspection for 1.0.1 there seems to be a bug thats not present under 0.10 its exposed by the code below works fine under 0.10 introspection so its a regression i guess
get_property seems to only see certain properties though they all seem available in Gst-1.0.gir
Last I brought this up with Wim it was not a bug, but a feature. I'll let him explain the rationale and close the bug :)
be interested to see the rationale, i mean its not hard to workaround, simply assign the property to something else at the time of setting for later use, but still, but i cant see the reason for the change.
There are 2 states, the next uri (uri property) and the currently playing uri (current-uri). in 0.10 it's all mapped to the uri property which causes problems because then, during playback, setting and getting a uri returns different results. In 1.0 it was made into 2 properties to get the full functionality. You probably want to use the current-uri property. Ideas for improvements are welcome, though.
ok i see, i think that does make sense to me actually, especially in the context of things like crossfading when it would be convenient to have access to the playing and next stream uri, thanks for clearing that up :)