Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tvhdhomerun: the hdhomerun_device_get_tuner_status does not return st…
…atus string on error, fixes #3586
  • Loading branch information
perexg committed Feb 22, 2016
1 parent 694d37c commit f4d2362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c
Expand Up @@ -235,7 +235,7 @@ tvhdhomerun_frontend_monitor_cb( void *aux )
res = hdhomerun_device_get_tuner_status(hfe->hf_hdhomerun_tuner, &tuner_status_str, &tuner_status);
pthread_mutex_unlock(&hfe->hf_hdhomerun_device_mutex);
if(res < 1)
tvhwarn("tvhdhomerun", "tuner_status (%d): %s", res, tuner_status_str);
tvhwarn("tvhdhomerun", "tuner_status (%d)", res);

if(tuner_status.signal_present)
hfe->hf_status = SIGNAL_GOOD;
Expand Down

0 comments on commit f4d2362

Please sign in to comment.