LEADTOOLS Media Foundation Help > Programming with LEADTOOLS Media Foundation > C++ Code > IltmfPlay::put_AllowedStreams Example for C++ |
void SetPlayerAllowedStreams(IltmfPlay *pPlay) { long lAllowedStreams = ltmfPlay_Stream_Video; // set the allowed player streams to Video pPlay->put_AllowedStreams(lAllowedStreams); // start the player pPlay->Run(); // get the allowed play streams pPlay->get_AllowedStreams(&lAllowedStreams); }