[rygel] server: Fix mime type for LG subtitle hack
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] server: Fix mime type for LG subtitle hack
- Date: Mon, 13 Jan 2020 17:56:31 +0000 (UTC)
commit 047397f46fc5ee51d22bf40eb7ae4848aabfb7dd
Author: Jens Georg <mail jensge org>
Date: Mon Jan 13 18:55:53 2020 +0100
server: Fix mime type for LG subtitle hack
src/librygel-server/rygel-lg-tv-hacks.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/librygel-server/rygel-lg-tv-hacks.vala b/src/librygel-server/rygel-lg-tv-hacks.vala
index 1b75c901..f69be01b 100644
--- a/src/librygel-server/rygel-lg-tv-hacks.vala
+++ b/src/librygel-server/rygel-lg-tv-hacks.vala
@@ -41,7 +41,7 @@ internal class Rygel.LGTVHacks : ClientHacks {
resource.mime_type = "video/avi";
} else if (resource.mime_type == "video/mp4") {
resource.dlna_profile = null;
- } else if (resource.mime_type == "application/subrip") {
+ } else if (resource.mime_type == "application/x-subrip") {
resource.mime_type = "text/srt";
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]