summaryrefslogtreecommitdiff
path: root/Xext/xvmain.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-04-04 18:01:07 +0100
committerEric Anholt <eric@anholt.net>2014-08-06 20:12:20 -0700
commit4a095902a37cb98d7954d0873dcf1376cbab54b8 (patch)
treec87ecec041dc013709ad8ea02449bc1e927c893d /Xext/xvmain.c
parente7dde86f2343832c52ef74f5c4fe44a72054c79b (diff)
xv: Drop unused XvdiPreemptVideo().
Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext/xvmain.c')
-rw-r--r--Xext/xvmain.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/Xext/xvmain.c b/Xext/xvmain.c
index 9084e40f3..ea3771f9b 100644
--- a/Xext/xvmain.c
+++ b/Xext/xvmain.c
@@ -992,28 +992,6 @@ XvdiStopVideo(ClientPtr client, XvPortPtr pPort, DrawablePtr pDraw)
}
int
-XvdiPreemptVideo(ClientPtr client, XvPortPtr pPort, DrawablePtr pDraw)
-{
- int status;
-
- /* IF PORT ISN'T ACTIVE THEN WE'RE DONE */
-
- if (!pPort->pDraw || (pPort->pDraw != pDraw))
- return Success;
-
- XvdiSendVideoNotify(pPort, pPort->pDraw, XvPreempted);
-
- status = (*pPort->pAdaptor->ddStopVideo) (client, pPort, pPort->pDraw);
-
- pPort->pDraw = NULL;
- pPort->client = (ClientPtr) client;
- pPort->time = currentTime;
-
- return status;
-
-}
-
-int
XvdiMatchPort(XvPortPtr pPort, DrawablePtr pDraw)
{