diff options
author | Nicholas Young <nicholas.young@nokia.com> | 2010-02-16 02:13:41 (GMT) |
---|---|---|
committer | Nicholas Young <nicholas.young@nokia.com> | 2010-02-16 02:13:41 (GMT) |
commit | 4374a796e1986b0b7f50256aefce4e9859fc4703 (patch) | |
tree | 4d9078a362af9441f8607edd4833e2724c2739af /src/plugins/mediaservices | |
parent | e91af4016e8482a9b1437b8edc71347b5cfd2a83 (diff) | |
download | Qt-4374a796e1986b0b7f50256aefce4e9859fc4703.zip Qt-4374a796e1986b0b7f50256aefce4e9859fc4703.tar.gz Qt-4374a796e1986b0b7f50256aefce4e9859fc4703.tar.bz2 |
Always pass encoded URLs to GStreamer. Fixes issue with spaces in
filenames.
Diffstat (limited to 'src/plugins/mediaservices')
-rw-r--r-- | src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayersession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayersession.cpp b/src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayersession.cpp index 355df2f..6945c2a 100644 --- a/src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayersession.cpp +++ b/src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayersession.cpp @@ -116,7 +116,7 @@ void QGstreamerPlayerSession::load(const QUrl &url) m_tags.clear(); emit tagsChanged(); - g_object_set(G_OBJECT(m_playbin), "uri", m_url.toString().toLocal8Bit().constData(), NULL); + g_object_set(G_OBJECT(m_playbin), "uri", m_url.toEncoded().constData(), NULL); // if (!m_streamTypes.isEmpty()) { // m_streamProperties.clear(); |