[mythtv] [PATCH] Realtime scheduling of video output thread
Doug Larrick
doug at ties.org
Tue Sep 7 07:30:20 EDT 2004
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/NuppelVideoPlayer.cpp,v
retrieving revision 1.368
diff -u -r1.368 NuppelVideoPlayer.cpp
--- libs/libmythtv/NuppelVideoPlayer.cpp 7 Sep 2004 02:26:30 -0000 1.368
+++ libs/libmythtv/NuppelVideoPlayer.cpp 7 Sep 2004 10:28:50 -0000
@@ -1677,6 +1677,9 @@
pthread_t output_video;
pthread_create(&output_video, NULL, kickoffOutputVideoLoop, this);
+ // Request that the video output thread run with realtime priority.
+ // If mythyv/mythfrontend was installed SUID root, this will work.
+ gContext->addPrivRequest(MythPrivRequest::MythRealtime, &output_video);
// Request that the video output thread run with realtime priority.
// If mythyv/mythfrontend was installed SUID root, this will work.
--------------090904040104080206070301--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040907/40735ec8/signature.pgp
More information about the mythtv-dev
mailing list