RSATom / QmlVlc

[ABANDONED] libvlc wrapper for Qt Quick 2/Qml
Other
139 stars 56 forks source link

Open a source with "qrc:/" #58

Open aureyoboss opened 8 years ago

aureyoboss commented 8 years ago

Hi RSATom,

Is it normal that I do not open a file in my Ressources ? I have this error : VLC is unable to open the MRL 'qrc: /sound/about.mp3'.

See you soon. Thank you.

danieloneill commented 8 years ago

It is normal, because the resource opening is handled by Vlc itself, which doesn't understand qt resources.

Possible workarounds include copying the resource out to a temporary file first, or implementing a handler using imem:// in qmlvlc.

Unless somebody has a better idea? This would be a very handy feature.

RSATom commented 8 years ago

@danieloneill absolutely correct 💯