mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
videoio: drop changes from legacy C-API header
This commit is contained in:
parent
23f4bff742
commit
460e9bf0af
@ -115,7 +115,7 @@ enum VideoCaptureAPIs {
|
||||
CAP_FFMPEG = 1900, //!< Open and record video file or stream using the FFMPEG library
|
||||
CAP_IMAGES = 2000, //!< OpenCV Image Sequence (e.g. img_%02d.jpg)
|
||||
CAP_ARAVIS = 2100, //!< Aravis SDK
|
||||
CAP_OCV_MJPEG = 2200, //!< Built-in MotionJPEG codec
|
||||
CAP_OPENCV_MJPEG = 2200, //!< Built-in OpenCV MotionJPEG codec
|
||||
CAP_INTEL_MFX = 2300 //!< Intel MediaSDK
|
||||
};
|
||||
|
||||
|
@ -124,8 +124,7 @@ enum
|
||||
CV_CAP_FFMPEG = 1900, // FFMPEG
|
||||
CV_CAP_IMAGES = 2000, // OpenCV Image Sequence (e.g. img_%02d.jpg)
|
||||
|
||||
CV_CAP_ARAVIS = 2100, // Aravis GigE SDK
|
||||
CV_CAP_OCV_MJPEG = 2200 // Built-in MotionJPEG codec
|
||||
CV_CAP_ARAVIS = 2100 // Aravis GigE SDK
|
||||
};
|
||||
|
||||
/** @brief start capturing frames from camera: index = camera_index + domain_offset (CV_CAP_*)
|
||||
|
@ -575,7 +575,7 @@ static Ptr<IVideoWriter> IVideoWriter_create(const String& filename, int apiPref
|
||||
}
|
||||
#endif
|
||||
|
||||
if( (apiPreference == CAP_OCV_MJPEG || apiPreference == CAP_ANY)
|
||||
if( (apiPreference == CAP_OPENCV_MJPEG || apiPreference == CAP_ANY)
|
||||
&& _fourcc == CV_FOURCC('M', 'J', 'P', 'G') )
|
||||
iwriter = createMotionJpegWriter(filename, fps, frameSize, isColor);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user