1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

videoio(ffmpeg): fix VIDEO_ACCELERATION_ANY handling

- default is VIDEO_ACCELERATION_NONE
This commit is contained in:
Alexander Alekhin
2021-03-03 08:41:30 +00:00
parent 6af20d3907
commit 7ac6abe02a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -572,7 +572,7 @@ void CvCapture_FFMPEG::init()
memset(&packet_filtered, 0, sizeof(packet_filtered));
av_init_packet(&packet_filtered);
bsfc = NULL;
va_type = cv::VIDEO_ACCELERATION_ANY;
va_type = cv::VIDEO_ACCELERATION_NONE; // TODO OpenCV 5.0: change to _ANY?
hw_device = -1;
}