Skip to content

Commit

Permalink
tvhdhomerun: Add ISDB to type check in tvhdhomerun_device_create
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
diogosalazar committed May 20, 2024
1 parent 73a6bd0 commit 0005a4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/input/mpegts/tvhdhomerun/tvhdhomerun.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0005a4c

Please sign in to comment.