mvEnableVideo(3dm) mvEnableVideo(3dm)
mvSetEnableVideo, mvGetEnableVideo - Enable/disable video playback for a
movie instance
#include <dmedia/moviefile.h>
#include <dmedia/movieplay.h>
void mvSetEnableVideo(MVid movieid, DMboolean onoff);
DMboolean mvGetEnableVideo(MVid movieid);
mvSetEnableVideo(3dm) enables or disables all video playback for a movie.
To play audio, specify DM_TRUE for the onoff parameter; to turn off the
video, specify DM_FALSE. If the movie has no IMAGE track, or is not
currently bound to a visual port or window, this call has no effect. The
default is DM_TRUE. You may disable or enable the video regardless of
whether or not the specified movie is currently playing.
mvGetEnableVideo(3dm) returns the current video playback status for the
specified movie.
mvGetEnableVideo() and mvSetEnableVideo(3dm) replace the obsolete
mvGetFrameDisplay
mvBindOpenGLWindow(3dm), mvIntro(3dm), mvPlay(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|