dtk_video_getstate(3)

dtk_video_getstate3

Returns the current state of a video texture

Usage

#include <dtk_video.h>

int dtk_video_getstate(dtk_htex vid);

Overview

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.

Releases

Unchanged in 2 releases since Debian 7 (Wheezy).

  1. 7–8

From libdrawtk-dev 2.0-2.1 in Debian 8 (Jessie). Parsed by carta from the page's man source.