xv: Drop unused XvdiVideoStopped().

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Eric Anholt 2014-04-04 18:02:14 +01:00
parent 4a095902a3
commit 6a71ee79aa
2 changed files with 0 additions and 25 deletions

View File

@ -235,7 +235,6 @@ extern _X_EXPORT DevPrivateKey XvGetScreenKey(void);
extern _X_EXPORT unsigned long XvGetRTPort(void);
extern _X_EXPORT void XvFreeAdaptor(XvAdaptorPtr pAdaptor);
extern _X_EXPORT int XvdiSendPortNotify(XvPortPtr, Atom, INT32);
extern _X_EXPORT int XvdiVideoStopped(XvPortPtr, int);
extern _X_EXPORT int XvdiPutVideo(ClientPtr, DrawablePtr, XvPortPtr, GCPtr,
INT16, INT16, CARD16, CARD16,

View File

@ -425,30 +425,6 @@ XvDestroyWindow(WindowPtr pWin)
}
/* The XvdiVideoStopped procedure is a hook for the device dependent layer.
It provides a way for the dd layer to inform the di layer that video has
stopped in a port for reasons that the di layer had no control over; note
that it doesn't call back into the dd layer */
int
XvdiVideoStopped(XvPortPtr pPort, int reason)
{
/* IF PORT ISN'T ACTIVE THEN WE'RE DONE */
if (!pPort->pDraw)
return Success;
XvdiSendVideoNotify(pPort, pPort->pDraw, reason);
pPort->pDraw = NULL;
pPort->client = NULL;
pPort->time = currentTime;
return Success;
}
static int
XvdiDestroyPort(void *pPort, XID id)
{