spark: fix invalid debug calls

This commit is contained in:
Stefan Seyfried
2012-02-25 13:10:10 +01:00
parent 639b538a99
commit 703c416e83
2 changed files with 2 additions and 2 deletions

View File

@@ -423,7 +423,7 @@ bool cDemux::pesFilter(const unsigned short pid)
p_flt.output = DMX_OUT_TSDEMUX_TAP; p_flt.output = DMX_OUT_TSDEMUX_TAP;
break; break;
default: default:
lt_info("%s:%d invalid dmx_type %d!\n", dmx_type); lt_info("%s #%d invalid dmx_type %d!\n", __func__, num, dmx_type);
return false; return false;
} }
return (ioctl(fd, DMX_SET_PES_FILTER, &p_flt) >= 0); return (ioctl(fd, DMX_SET_PES_FILTER, &p_flt) >= 0);

View File

@@ -267,7 +267,7 @@ int cVideo::SetVideoSystem(int video_system, bool remember)
if (video_system > VIDEO_STD_MAX) if (video_system > VIDEO_STD_MAX)
{ {
lt_info("%s: video_system (%d) > VIDEO_STD_MAX (%d)\n", video_system, VIDEO_STD_MAX); lt_info("%s: video_system (%d) > VIDEO_STD_MAX (%d)\n", __func__, video_system, VIDEO_STD_MAX);
return -1; return -1;
} }
hdmi_out(false); hdmi_out(false);