I try to get a mediacontrol_RGBPicture from the mediacontrol_snapshot function but I don't really understand the mediacontrol_Position parameter, how to use it ?
I want to retrieve in memory a frame from a stream.
Code: Select all
mediacontrol_PositionOrigin an_origin;
mediacontrol_PositionKey a_key;
mediacontrol_Position* mc_pos = mediacontrol_get_media_position( _mi, an_origin,a_key, &exception);
mediacontrol_RGBPicture * mc_rgb = mediacontrol_snapshot(_mi,mc_pos,&exception);