Merge pull request #20801 from JonasVautherin:fix-gst-error-handling
* Fix gst error handling
* Use the return value instead of the error, which gives no guarantee of being NULL in case of error
* Test err pointer before accessing it
* Remove unreachable code
* videoio(gstreamer): restore check in writer code
Co-authored-by: NAlexander Alekhin <alexander.a.alekhin@gmail.com>
Showing
想要评论请 注册 或 登录