SYNOPSIS

#include <dtk_video.h>

int dtk_video_getstate(dtk_htex vid);

DESCRIPTION

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

RETURN VALUE

This function returns the state of the video in case of success, -1 otherwise.

RELATED TO dtk_video_getstate…