From f8e11fe656a360004f9874befd1d217cda407659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vanessa=20Chipirr=C3=A1s=20Naval=C3=B3n?= Date: Fri, 2 Oct 2015 19:02:26 +0100 Subject: [PATCH] cvdilate: Change gstcvdilate to C++ Change the gstcvdilate.c file extension to cpp and add it into Makefile for consistency with other elements of opencv and because Opencv not support C language in new API 2.4.11. https://bugzilla.gnome.org/show_bug.cgi?id=754148 --- ext/opencv/Makefile.am | 2 +- ext/opencv/{gstcvdilate.c => gstcvdilate.cpp} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename ext/opencv/{gstcvdilate.c => gstcvdilate.cpp} (99%) diff --git a/ext/opencv/Makefile.am b/ext/opencv/Makefile.am index df1e8e43a4..b2b75f4186 100644 --- a/ext/opencv/Makefile.am +++ b/ext/opencv/Makefile.am @@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgstopencv.la libgstopencv_la_SOURCES = gstopencv.cpp \ gstopencvvideofilter.c \ gstopencvutils.c \ - gstcvdilate.c \ + gstcvdilate.cpp \ gstcvdilateerode.c \ gstcvequalizehist.c \ gstcverode.c \ diff --git a/ext/opencv/gstcvdilate.c b/ext/opencv/gstcvdilate.cpp similarity index 99% rename from ext/opencv/gstcvdilate.c rename to ext/opencv/gstcvdilate.cpp index da1de368e7..64cecc1240 100644 --- a/ext/opencv/gstcvdilate.c +++ b/ext/opencv/gstcvdilate.cpp @@ -1,7 +1,7 @@ /* * GStreamer * Copyright (C) 2010 Thiago Santos - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation