1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

videoio: add missing CAP_PROP_SAR_NUM/DEN propepties into .hpp file

reuse av_guess_sample_aspect_ratio() if available in ffmpeg
This commit is contained in:
Alexander Alekhin
2018-02-21 18:42:40 +03:00
parent f61076a5d8
commit 9819ebc095
2 changed files with 31 additions and 26 deletions
+6 -1
View File
@@ -164,7 +164,12 @@ enum VideoCaptureProperties {
CAP_PROP_IRIS =36,
CAP_PROP_SETTINGS =37, //!< Pop up video/camera filter dialog (note: only supported by DSHOW backend currently. The property value is ignored)
CAP_PROP_BUFFERSIZE =38,
CAP_PROP_AUTOFOCUS =39
CAP_PROP_AUTOFOCUS =39,
CAP_PROP_SAR_NUM =40, //!< Sample aspect ratio: num/den (num)
CAP_PROP_SAR_DEN =41, //!< Sample aspect ratio: num/den (den)
#ifndef CV_DOXYGEN
CV__CAP_PROP_LATEST
#endif
};