Skip to content

Commit 586646a

Browse files
Fixed incorrect asset path (#70)
1 parent 239ede6 commit 586646a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dartvlc/mediasource/media.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Media: public MediaSource {
5555
Media* media = new Media();
5656
media->id = id;
5757
media->resource = path;
58-
media->location = "file:///" + std::filesystem::temp_directory_path().u8string() + path;
58+
media->location = "file:///" + std::filesystem::temp_directory_path().u8string() + "/" + path;
5959
media->mediaType = "MediaType.asset";
6060
if (parse) media->parse(timeout);
6161
return media;

0 commit comments

Comments
 (0)