Skip to content

Commit

Permalink
Fix too long video/audio thread names
Browse files Browse the repository at this point in the history
Only max of 16 characters is allowed.
  • Loading branch information
pesintta committed Mar 18, 2018
1 parent 677c8c8 commit daa9aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,7 @@ static void AudioInitThread(void)
pthread_mutex_init(&ReadAdvance_mutex, NULL);
pthread_cond_init(&AudioStartCond, NULL);
pthread_create(&AudioThread, NULL, AudioPlayHandlerThread, NULL);
pthread_setname_np(AudioThread, "vaapidevice audio");
pthread_setname_np(AudioThread, "vaapi audio");
}

/**
Expand Down
2 changes: 1 addition & 1 deletion video.c
Original file line number Diff line number Diff line change
Expand Up @@ -4563,7 +4563,7 @@ static void VideoThreadInit(void)
pthread_mutex_init(&VideoLockMutex, NULL);
pthread_cond_init(&VideoWakeupCond, NULL);
pthread_create(&VideoThread, NULL, VideoDisplayHandlerThread, NULL);
pthread_setname_np(VideoThread, "vaapidevice video");
pthread_setname_np(VideoThread, "vaapi video");
}

///
Expand Down

0 comments on commit daa9aa0

Please sign in to comment.