mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
remove never used volues
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2138 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -360,7 +360,6 @@ static void* dvbsub_thread(void* /*arg*/)
|
||||
|
||||
gettimeofday(&now, NULL);
|
||||
|
||||
int ret = 0;
|
||||
now.tv_usec += (timeout == 0) ? 1000000 : timeout; // add the timeout
|
||||
while (now.tv_usec >= 1000000) { // take care of an overflow
|
||||
now.tv_sec++;
|
||||
@@ -370,7 +369,7 @@ static void* dvbsub_thread(void* /*arg*/)
|
||||
restartWait.tv_nsec = now.tv_usec * 1000; // nano seconds
|
||||
|
||||
pthread_mutex_lock( &packetMutex );
|
||||
ret = pthread_cond_timedwait( &packetCond, &packetMutex, &restartWait );
|
||||
pthread_cond_timedwait( &packetCond, &packetMutex, &restartWait );
|
||||
pthread_mutex_unlock( &packetMutex );
|
||||
|
||||
timeout = dvbSubtitleConverter->Action();
|
||||
|
Reference in New Issue
Block a user