<html><head></head><body>Nihao,<br>
<br>
It is not such a big deal in VLC as in FFmpeg, as C++ ABI can be restricted to plugins with C++ dependencies - although some devs have taken the unilateral freedom to use C++ even without dependency X-(<br>
<br>
What matters is if somebody steps up to update the OpenCV plugin or not. If not, then we should eventually remove it.<br><br><div class="gmail_quote">Le 24 mai 2018 10:01:20 GMT+03:00, Zhao Zhili <quinkblack@foxmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br><br>On 2018年04月27日 10:10, Zhao Zhili wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> ---<br>   modules/video_filter/opencv_example.cpp | 4 ++--<br>   1 file changed, 2 insertions(+), 2 deletions(-)<br><br> diff --git a/modules/video_filter/opencv_example.cpp b/modules/video_filter/opencv_example.cpp<br> index a7a0bd7..c3a5fe9 100644<br> --- a/modules/video_filter/opencv_example.cpp<br> +++ b/modules/video_filter/opencv_example.cpp<br> @@ -129,7 +129,7 @@ static int OpenFilter( vlc_object_t *p_this )<br>   static void CloseFilter( vlc_object_t *p_this )<br>   {<br>       filter_t *p_filter = (filter_t*)p_this;<br> -    filter_sys_t *p_sys = p_filter->p_sys;<br> +    filter_sys_t *p_sys = static_cast<filter_sys_t *>(p_filter->p_sys);<br>   <br>       if( p_sys->p_cascade )<br>           cvReleaseHaarClassifierCascade( &p_sys->p_cascade );<br> @@ -151,7 +151,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )<br>       IplImage** p_img = NULL;<br>       CvPoint pt1, pt2;<br>       int scale = 1;<br> -    filter_sys_t *p_sys = p_filter->p_sys;<br> +    filter_sys_t *p_sys = static_cast<filter_sys_t *>(p_filter->p_sys);<br>    <br>       if ((!p_pic) )<br>       {<br></blockquote><br>Since we have the same issue as FFmpeg<br><a href="http://ffmpeg.org/pipermail/ffmpeg-devel/2018-March/226872.html">http://ffmpeg.org/pipermail/ffmpeg-devel/2018-March/226872.html</a><br>How to deal with the module?<br>1. Update to C++ API?<br>2. Fix the build issue and hope it works as long as possible?<br>3. Remove the module?<br><br><br><hr><br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>