Use correct WARN log

obed
Kieran Kunhya 2013-11-26 20:17:12 +00:00
rodzic 4a956199b3
commit 34546bdb03
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1764,14 +1764,14 @@ int ts_write_frames( ts_writer_t *w, ts_frame_t *frames, int num_frames, uint8_t
if( pcr_stop < cur_pcr )
{
syslog( LOG_WARN, "muxDtsIsLessThanPCR: PCR error - Check bitrate of components fits within muxrate \n" );
syslog( LOG_WARNING, "muxDtsIsLessThanPCR: PCR error - Check bitrate of components fits within muxrate \n" );
//fprintf( stderr, "\n pcr_stop is less than pcr pid: %i pcr_stop: %"PRIi64" pcr: %"PRIi64" \n", pes->stream->pid, pcr_stop, cur_pcr );
}
// FIXME complain less
if( pes->dts * 300 < cur_pcr )
{
syslog( LOG_WARN, "muxDtsIsLessThanPCR: PCR error - Check bitrate of components fits within muxrate \n" );
syslog( LOG_WARNING, "muxDtsIsLessThanPCR: PCR error - Check bitrate of components fits within muxrate \n" );
//fprintf( stderr, "\n dts is less than pcr pid: %i dts: %"PRIi64" pcr: %"PRIi64" \n", pes->stream->pid, pes->dts*300, cur_pcr );
}