1DTK_VIDEO_GETSTATE(3)         Draw Toolkit manual        DTK_VIDEO_GETSTATE(3)
2
3
4

NAME

6       dtk_video_getstate - returns the current state of a video texture
7

SYNOPSIS

9       #include <dtk_video.h>
10
11       int dtk_video_getstate(dtk_htex vid);
12

DESCRIPTION

14       This  function  returns  the state of a video texture referenced by vid
15       created by one of the functions dtk_create_video_*(3) and  is  a  BITOR
16       combination of the following flags:
17
18       DTKV_PLAYING : Indicates whether the video is paused or playing
19
20       DTKV_EOS : Indicates that the end of the video stream has been reached
21

RETURN VALUE

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

SEE ALSO

27       dtk_load_video_file(3), dtk_load_video_gst(3),  dtk_load_video_test(3),
28       dtk_load_video_udp(3), dtk_load_video_tcp(3), dtk_video_exec(3)
29
30
31
32
33
34EPFL                                 2011                DTK_VIDEO_GETSTATE(3)
Impressum