]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Mux scan: Log correction
authorPablo <trujulu@gmail.com>
Wed, 27 Mar 2019 23:28:38 +0000 (00:28 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 15 Oct 2019 07:12:30 +0000 (09:12 +0200)
src/input/mpegts/mpegts_mux.c

index b5a313f91d63f34564a85d103f4e4f987ce91c81..310175fb7374ad9c0f70d8bee578279ee3a025ee 100644 (file)
@@ -1132,10 +1132,10 @@ mpegts_mux_scan_done ( mpegts_mux_t *mm, const char *buf, int res )
   if (res < 0) {
     /* is threshold 3 missing tables enough? */
     if (incomplete > 0 && total > incomplete && incomplete <= 3) {
-      tvhinfo(LS_MPEGTS, "%s - scan complete (partial - %d/%d tables)", buf, total, incomplete);
+      tvhinfo(LS_MPEGTS, "%s - scan complete (partial - %d/%d tables)", buf, incomplete, total);
       mpegts_network_scan_mux_partial(mm);
     } else {
-      tvhwarn(LS_MPEGTS, "%s - scan timed out (%d/%d tables)", buf, total, incomplete);
+      tvhwarn(LS_MPEGTS, "%s - scan timed out (%d/%d tables)", buf, incomplete, total);
       mpegts_network_scan_mux_fail(mm);
     }
   } else if (res) {