]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
tvhdhomerun: Add ISDB to type check in tvhdhomerun_device_create
authordiogosalazar <daq.malazasam@gmail.com>
Mon, 20 May 2024 20:42:50 +0000 (16:42 -0400)
committerFlole <Flole998@users.noreply.github.com>
Wed, 5 Jun 2024 21:50:23 +0000 (23:50 +0200)
This commit adds support for ISDB in the type check of the tvhdhomerun_device_create function in tvhdhomerun.c.
This allows the function to handle ISDB type devices, which previously would have been changed to a DVB device on startup every time despite overrides.

src/input/mpegts/tvhdhomerun/tvhdhomerun.c

index bbd2a1e206b1a7e461ff1746f652145c20b1b2ad..f8914d61bc113f2351d67a3bcca5c981496dc926 100644 (file)
@@ -329,6 +329,7 @@ static void tvhdhomerun_device_create(struct hdhomerun_discover_device_t *dInfo)
       type = dvb_str2type(override_type);
       if ( ! ( type == DVB_TYPE_C || type == DVB_TYPE_T ||
                type == DVB_TYPE_ATSC_T || type == DVB_TYPE_ATSC_C ||
+               type == DVB_TYPE_ISDB_T || type == DVB_TYPE_ISDB_C ||
                type == DVB_TYPE_CABLECARD ) ) {
         type = DVB_TYPE_C;
       }