mpegts: ensure that service name is properly init'd
This commit is contained in:
parent
73d671af3f
commit
c336c012eb
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue