[rygel/rygel-0-20] renderer: Accept missing mime type in AVTransport.is_playlist()
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-20] renderer: Accept missing mime type in AVTransport.is_playlist()
- Date: Mon, 11 Nov 2013 19:42:13 +0000 (UTC)
commit 71ec02208d2bfb73c2c283a27c3add1235f4b5c5
Author: Jussi Kukkonen <jussi kukkonen intel com>
Date: Fri Nov 8 15:24:47 2013 +0200
renderer: Accept missing mime type in AVTransport.is_playlist()
"assertion 'mime != NULL' failed" is not useful here.
https://bugzilla.gnome.org/show_bug.cgi?id=711661
src/librygel-renderer/rygel-av-transport.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-av-transport.vala b/src/librygel-renderer/rygel-av-transport.vala
index 75d8ff0..89afa56 100644
--- a/src/librygel-renderer/rygel-av-transport.vala
+++ b/src/librygel-renderer/rygel-av-transport.vala
@@ -752,7 +752,7 @@ internal class Rygel.AVTransport : Service {
return result;
}
- private bool is_playlist (string mime, string? features) {
+ private bool is_playlist (string? mime, string? features) {
return mime == "text/xml" && features != null &&
features.has_prefix ("DLNA.ORG_PN=DIDL_S");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]