[rygel] server: LG hacks: Rewrite AVI mime type
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] server: LG hacks: Rewrite AVI mime type
- Date: Mon, 14 Jan 2019 13:25:57 +0000 (UTC)
commit 688b1bbf7647a6d62bbb226aa647741f9ce8a8f5
Author: Jens Georg <mail jensge org>
Date: Mon Jan 14 14:22:44 2019 +0100
server: LG hacks: Rewrite AVI mime type
Fixes #123
src/librygel-server/rygel-lg-tv-hacks.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/librygel-server/rygel-lg-tv-hacks.vala b/src/librygel-server/rygel-lg-tv-hacks.vala
index 8074eaf3..96204555 100644
--- a/src/librygel-server/rygel-lg-tv-hacks.vala
+++ b/src/librygel-server/rygel-lg-tv-hacks.vala
@@ -37,6 +37,8 @@ internal class Rygel.LGTVHacks : ClientHacks {
resource.mime_type = "application/ogg";
} else if (resource.mime_type == "video/x-matroska") {
resource.dlna_profile = null;
+ } else if (resource.mime_type == "video/x-msvideo") {
+ resource.mime_type = "video/avi";
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]