Created
May 30, 2018 23:38
-
-
Save elmodaddyb/34f4a6ca9bf1ce676637d249f3f176e7 to your computer and use it in GitHub Desktop.
Gerbera Transcoding Ogg Patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/file_request_handler.cc b/src/file_request_handler.cc | |
index 9c64673b..0b93748d 100644 | |
--- a/src/file_request_handler.cc | |
+++ b/src/file_request_handler.cc | |
@@ -213,6 +213,7 @@ void FileRequestHandler::get_info(IN const char* filename, OUT UpnpFileInfo* inf | |
} | |
UpnpFileInfo_set_FileLength(info, -1); | |
+ header = header + _("\r\nAccept-Ranges: bytes\r\n"); | |
} else { | |
UpnpFileInfo_set_FileLength(info, statbuf.st_size); | |
// if we are dealing with a regular file we should add the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment