mpegts: ensure that service name is properly init'd

This commit is contained in:
Adam Sutton 2013-04-30 14:58:42 +01:00
parent 73d671af3f
commit c336c012eb
2 changed files with 2 additions and 2 deletions

View file

@ -271,7 +271,7 @@ mpegts_service_create0
#endif
pthread_mutex_lock(&s->s_stream_mutex);
// TODO: nice name
service_make_nicename((service_t*)s);
pthread_mutex_unlock(&s->s_stream_mutex);
return s;

View file

@ -116,7 +116,7 @@ tsfile_input_thread ( void *aux )
if (len == st.st_size) {
len = 0;
c -= rem;
//tvhtrace("tsfile", "adapter %d reached eof, resetting", mi->mi_instance);
tvhtrace("tsfile", "adapter %d reached eof, resetting", mi->mi_instance);
lseek(fd, 0, SEEK_SET);
pcr_last = PTS_UNSET;
}