[rygel] server: LG hacks: Remove MP4 DLNA profile
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] server: LG hacks: Remove MP4 DLNA profile
- Date: Mon, 14 Jan 2019 13:26:02 +0000 (UTC)
commit 55a9e3315881f93a70c843e8118815d2e86c71cb
Author: Jens Georg <mail jensge org>
Date: Mon Jan 14 14:23:57 2019 +0100
server: LG hacks: Remove MP4 DLNA profile
LG devices seem to be a bit picky regarding the DLNA profiles they
accept for MP4, but will accept MP4 files without any profile just fine.
So just drop the DLNA profile if facing a LG device
Fixes #122
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 96204555..e19cfc80 100644
--- a/src/librygel-server/rygel-lg-tv-hacks.vala
+++ b/src/librygel-server/rygel-lg-tv-hacks.vala
@@ -39,6 +39,8 @@ internal class Rygel.LGTVHacks : ClientHacks {
resource.dlna_profile = null;
} else if (resource.mime_type == "video/x-msvideo") {
resource.mime_type = "video/avi";
+ } else if (resource.mime_type == "video/mp4") {
+ resource.dlna_profile = null;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]