diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-09 14:58:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-09 14:58:31 +0100 |
commit | 98a7b9ca3396de99a68df5bbb980b8a7e9e50e39 (patch) | |
tree | af31a87369a27266d6b97df0a544f5e3f2ed6dd7 /avmedia | |
parent | e3198c45d466ab2dc96c09c8d98694af20f7ed0c (diff) |
Resolves: fdo#39091 use UTF-8 encoding for gstreamer uris
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index b7a68573c3da..14cdbb579af4 100644 --- a/avmedia/source/gstreamer/gstplayer.cxx +++ b/avmedia/source/gstreamer/gstplayer.cxx @@ -269,7 +269,7 @@ void Player::preparePlaybin( const ::rtl::OUString& rURL, bool bFakeVideo ) mbFakeVideo = bFakeVideo; - rtl::OString ascURL = OUStringToOString( rURL, RTL_TEXTENCODING_ASCII_US ); + rtl::OString ascURL = OUStringToOString( rURL, RTL_TEXTENCODING_UTF8 ); g_object_set( G_OBJECT( mpPlaybin ), "uri", ascURL.getStr() , NULL ); pBus = gst_element_get_bus( mpPlaybin ); |