]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
service_mapper: move SUBSCRIPTION_PACKET from weight to flags field of subscription_c...
authorBen Fennema <fennema@google.com>
Sun, 22 Mar 2015 22:19:18 +0000 (15:19 -0700)
committerJaroslav Kysela <perex@perex.cz>
Sun, 22 Mar 2015 23:16:35 +0000 (00:16 +0100)
src/service_mapper.c

index e8e12c840cc69bd1775203f4922ed2ab8dc4fa8c..19ba5af94624d3a78991e6a1d20dce27e3e8215e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Service Mapper functions
- *  Copyright (C) 2007 Andreas Öman
+ *  Copyright (C) 2007 Andreas Öman
  *
  *  This program is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -376,11 +376,10 @@ service_mapper_thread ( void *aux )
     tvhinfo("service_mapper", "checking %s", s->s_nicename);
     prch.prch_id = s;
     sub = subscription_create_from_service(&prch, NULL,
-                                           SUBSCRIPTION_PACKET |
                                            SUBSCRIPTION_PRIO_MAPPER,
                                            "service_mapper",
-                                           0, NULL, NULL, "service_mapper",
-                                           NULL);
+                                           SUBSCRIPTION_PACKET,
+                                           NULL, NULL, "service_mapper", NULL);
 
     /* Failed */
     if (!sub) {