[rhythmbox] generic-player: set playlist formats correctly
- From: Jonathan Matthew <jmatthew src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rhythmbox] generic-player: set playlist formats correctly
- Date: Thu, 24 Dec 2009 13:50:18 +0000 (UTC)
commit 4296f971de1f1661dad8a78dea504b6c6614fef6
Author: Jonathan Matthew <jonathan d14n org>
Date: Thu Dec 24 23:47:27 2009 +1000
generic-player: set playlist formats correctly
Somehow the test used to tell the playlist parser to ignore unsupported
formats was backwards, so we were ignoring all supported formats.
plugins/generic-player/rb-generic-player-source.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/generic-player/rb-generic-player-source.c b/plugins/generic-player/rb-generic-player-source.c
index a9f7f7f..b7c7bad 100644
--- a/plugins/generic-player/rb-generic-player-source.c
+++ b/plugins/generic-player/rb-generic-player-source.c
@@ -1146,7 +1146,7 @@ rb_generic_player_source_set_supported_formats (RBGenericPlayerSource *source, T
if (playlist_formats != NULL && g_strv_length (playlist_formats) > 0) {
int i;
for (i = 0; i < G_N_ELEMENTS (check); i++) {
- if (strv_contains (playlist_formats, check[i])) {
+ if (strv_contains (playlist_formats, check[i]) == FALSE) {
totem_pl_parser_add_ignored_mimetype (parser, check[i]);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]