dtk_video_getstate man page

dtk_video_getstate ā€” returns the current state of a video texture


#include <dtk_video.h>

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

Return Value

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

See Also

dtk_load_video_file(3), dtk_load_video_gst(3), dtk_load_video_test(3), dtk_load_video_udp(3), dtk_load_video_tcp(3), dtk_video_exec(3)

Referenced By

dtk_load_video_file(3), dtk_load_video_gst(3), dtk_load_video_tcp(3), dtk_load_video_test(3), dtk_load_video_udp(3).

2011 EPFL Draw Toolkit manual