[TTVD] Increase priority of video decoder thread 97/325097/5
authorJakub Gajownik <j.gajownik2@samsung.com>
Mon, 19 May 2025 15:52:40 +0000 (17:52 +0200)
committerBot Blink <blinkbot@samsung.com>
Tue, 3 Jun 2025 08:43:29 +0000 (08:43 +0000)
Prior to this change, video decoder thread priority was
slightly increased, however finishing requests in specific
deadline is crucial for video rendering stability.
This this CL priority is changed to realtime to ensure
thread is scheduled before any thread pool worker and other
threads.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-680
Change-Id: I3312dbef58c844a81028e024aa5f5956efd5daf8
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
media/filters/tizen/ttvd_video_decoder_impl.cc

index 19876ee593ef7d383945747864e80691263f8a42..02cfe9be0aec7e4a6898dd3a8833b55c99b44898 100644 (file)
@@ -274,7 +274,7 @@ void TTvdVideoDecoderImpl::Construct(
 #if defined(THREAD_BOOSTER_SERVICE)
   thread_booster::BoostThreadByName(thread_name_,
                                     thread_booster::MediaType::kVideo,
-                                    thread_booster::BoostingLevel::kPriority);
+                                    thread_booster::BoostingLevel::kRealtime);
 #endif
 
   mojo_decoder_buffer_reader_ =