[rygel] server: Fix rewriting of subtitle uris in pv tags
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] server: Fix rewriting of subtitle uris in pv tags
- Date: Sun, 9 Aug 2015 11:33:32 +0000 (UTC)
commit 542e5d295be67518fd628e17d25999dad622eab4
Author: Jens Georg <mail jensge org>
Date: Sat Aug 8 09:01:04 2015 +0200
server: Fix rewriting of subtitle uris in pv tags
Signed-off-by: Jens Georg <mail jensge org>
https://bugzilla.gnome.org/show_bug.cgi?id=753314
src/librygel-server/rygel-video-item.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-server/rygel-video-item.vala b/src/librygel-server/rygel-video-item.vala
index dd1ce25..df06221 100644
--- a/src/librygel-server/rygel-video-item.vala
+++ b/src/librygel-server/rygel-video-item.vala
@@ -167,13 +167,13 @@ public class Rygel.VideoItem : AudioItem, VisualItem {
index,
null);
subtitle.add_didl_node (didl_item);
- subtitle.uri = uri; // Now restore the original URI
if (main_subtitle == null) {
main_subtitle = new Subtitle (subtitle.mime_type,
subtitle.caption_type);
- main_subtitle.uri = uri;
+ main_subtitle.uri = subtitle.uri;
}
+ subtitle.uri = uri; // Now restore the original URI
} else if (main_subtitle == null) {
main_subtitle = subtitle;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]