int dtk_video_getstate(dtk_htex vid);
This function returns the state of a video texture referenced by vid created by one of the functions dtk_create_video_*(3) and is a BITOR combination of the following flags:
- DTKV_PLAYING : Indicates whether the video is paused or playing
- DTKV_EOS : Indicates that the end of the video stream has been reached
This function returns the state of the video in case of success, -1 otherwise.