![]() |
![]() |
![]() |
![]() |
Get the video status
#include <mme/mme.h> int mme_video_get_status ( mme_hdl_t *hdl, mm_video_status_t *status );
mme
The function mme_video_get_status() gets status information for video playback of any format. The MME indicates that there has been a change in video status by sending a MME_EVENT_VIDEO_STATUS event.
To get DVD device status, use mme_dvd_get_status().
For more information about video dimensions and aspect ratio, see mm_video_info_t in this reference.
None delivered.
This function blocks on io-media. It returns only when it has completed.
From mmecli:
mm_video_status_t status; rc = mme_video_get_status( mmehdl, &status ); if ( rc == -1 ) { sprintf( output, "Error getting video status: %s (%d).", strerror( errno ), errno ); } else { sprintf( output, "Size: %ux%u; Aspect Ratio: %ux%u.", status.width, status.height, status.aspect_ratio.w,status.aspect_ratio.h ); }
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
mme_video_get_angle_info(), mme_video_get_audio_info(), mme_video_get_info(), mme_video_get_subtitle_info(), mme_video_set_angle(), mme_video_set_audio(), mme_video_set_properties(), mme_video_set_audio()
![]() |
![]() |
![]() |
![]() |