After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 636120 - AVTransportURI and CurrentURI are not evented
AVTransportURI and CurrentURI are not evented
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.32
Other Linux
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-30 12:17 UTC by Henry Hoegelow
Modified: 2012-11-29 11:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A test app demonstrating the issue (413 bytes, text/x-csrc)
2010-12-09 21:46 UTC, Zeeshan Ali
Details

Description Henry Hoegelow 2010-11-30 12:17:18 UTC
When calling setAVTransportURI the evented variables 'AVTransportURI' and 'CurrentTrackURI' are not set. Also getMediaInfo returns empty strings in the accordant fields. This prevents Raumfeld devices from dealing properly with rygel.
Comment 1 Zeeshan Ali 2010-12-09 21:21:41 UTC
This commit in git master fixes AVTransportURI and CurrentTrackURI in LastChange events:

commit: 2826482 2826482d3e1e1002901901db68f4f1b4d21c608f
Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
Date:   Thu Dec 9 23:13:40 2010 +0200

    core: Don't trust player to set URI immediately
    
    This is problematic in case of playbin plugin where the underlying
    playbin2 element doesn't set URI immediately so when we read the 'uri'
    property immediately after writing to it, we get an empty string.
Comment 2 Zeeshan Ali 2010-12-09 21:45:04 UTC
Turns out that you always get a NULL from 'uri' property of playbin2 element. Moving to GStreamer..
Comment 3 Zeeshan Ali 2010-12-09 21:46:38 UTC
Created attachment 176154 [details]
A test app demonstrating the issue
Comment 4 Tim-Philipp Müller 2012-11-29 11:20:57 UTC
I think this is obsolete now. playbin now has two properties:

  uri                 : URI of the media to play
                        flags: readable, writable
                        String. Default: null

  current-uri    : The currently playing URI
                        flags: readable
                        String. Default: null

Please re-open if not, thanks!