Skip to content

Commit bf126bd

Browse files
author
shimat
committed
Merge remote-tracking branch 'remotes/origin/master' into CPlusPlus-Improvement-stitching
2 parents 34d8ed9 + c123740 commit bf126bd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If you have Visual Studio 2012 or later, it is recommended to use [NuGet](http:/
1313
If you do not use NuGet, get DLL files from the [release page](https://github.com/shimat/opencvsharp/releases).
1414

1515
## Requirements
16-
* [OpenCV 2.4.8](http://opencv.org/)
16+
* [OpenCV 2.4.9](http://opencv.org/)
1717
* [Visual C++ 2012 Redistributable Package](http://www.microsoft.com/en-US/download/details.aspx?id=30679)
1818
* [.NET Framework 2.0](http://www.microsoft.com/ja-jp/download/details.aspx?id=1639) or later / [Mono](http://www.mono-project.com/Main_Page)
1919

src/OpenCvSharp.CPlusPlus/modules/highgui/VideoCapture.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ public VideoCapture()
5252
}
5353
catch (AccessViolationException e)
5454
{
55-
throw new OpenCvSharpException("Failed to create CvCapture", e);
55+
throw new OpenCvSharpException("Failed to create VideoCapture", e);
5656
}
5757
if (ptr == IntPtr.Zero)
58-
throw new OpenCvSharpException("Failed to create CvCapture");
58+
throw new OpenCvSharpException("Failed to create VideoCapture");
5959

6060
captureType = CaptureType.NotSpecified;
6161
}
@@ -84,11 +84,11 @@ public VideoCapture(int index)
8484
}
8585
catch (AccessViolationException e)
8686
{
87-
throw new OpenCvSharpException("Failed to create CvCapture", e);
87+
throw new OpenCvSharpException("Failed to create VideoCapture", e);
8888
}
8989
if (ptr == IntPtr.Zero)
9090
{
91-
throw new OpenCvSharpException("Failed to create CvCapture");
91+
throw new OpenCvSharpException("Failed to create VideoCapture");
9292
}
9393
captureType = CaptureType.Camera;
9494
}
@@ -221,7 +221,7 @@ public VideoCapture(string fileName)
221221
ptr = NativeMethods.highgui_VideoCapture_new_fromFile(fileName);
222222

223223
if (ptr == IntPtr.Zero)
224-
throw new OpenCvSharpException("Failed to create CvCapture");
224+
throw new OpenCvSharpException("Failed to create VideoCapture");
225225

226226
captureType = CaptureType.File;
227227
}

0 commit comments

Comments
 (0)