]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
set the default priorit to DVR_PRIO_NORMAL instead of 0 with creating a DVR entry...
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 31 Mar 2011 21:53:32 +0000 (05:53 +0800)
committerAndreas Öman <andreas@lonelycoder.com>
Sun, 3 Apr 2011 20:25:49 +0000 (04:25 +0800)
src/htsp.c

index c6d6be25f6a89cdbe7eec0830eb2a89f68aa7619..9d916ec43d5361ac75e21d61eace3c498d28738b 100644 (file)
@@ -529,7 +529,7 @@ htsp_method_addDvrEntry(htsp_connection_t *htsp, htsmsg_t *in)
 
     // get the optional attributes
     if (htsmsg_get_u32(in, "priority", &iPriority))
-      iPriority = 0;
+      iPriority = DVR_PRIO_NORMAL;
 
     if ((strDescription = htsmsg_get_str(in, "description")) == NULL)
       strDescription = "";