mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Frame type property for ffmpeg video capture
This commit is contained in:
@@ -1695,6 +1695,8 @@ double CvCapture_FFMPEG::getProperty( int property_id ) const
|
||||
return (double)((rotation_auto && ((rotation_angle%180) != 0)) ? frame.height : frame.width);
|
||||
case CAP_PROP_FRAME_HEIGHT:
|
||||
return (double)((rotation_auto && ((rotation_angle%180) != 0)) ? frame.width : frame.height);
|
||||
case CAP_PROP_FRAME_TYPE:
|
||||
return (double)av_get_picture_type_char(picture->pict_type);
|
||||
case CAP_PROP_FPS:
|
||||
return get_fps();
|
||||
case CAP_PROP_FOURCC:
|
||||
|
||||
Reference in New Issue
Block a user