Sebastian Dröge [Thu, 22 Oct 2015 16:20:24 +0000 (19:20 +0300)]
mxfmux: Set GC essence element UL version to 0x01
ffmpeg otherwise rejects it and the spec is not 100% clear about that.
Santiago Carot-Nemesio [Tue, 20 Oct 2015 15:09:22 +0000 (17:09 +0200)]
srtp: Fix critical warning trying to retrieve SSRC from a non fb message
https://bugzilla.gnome.org/show_bug.cgi?id=756876
Sebastian Dröge [Thu, 22 Oct 2015 16:24:34 +0000 (19:24 +0300)]
mxf: Reorder CFLAGS and LIBS
Sebastian Dröge [Fri, 23 Oct 2015 12:42:24 +0000 (15:42 +0300)]
aggregator: Add create_new_pad() vfunc to allow subclasses to override the default behaviour
Not all aggregator subclasses will have a single pad template called sink_%u
and might do something special depending on what the application requests.
https://bugzilla.gnome.org/show_bug.cgi?id=757018
Sebastian Dröge [Wed, 21 Oct 2015 16:00:41 +0000 (19:00 +0300)]
mxfmux: Set KAG size to 1
We're not aligning our output in any way, and 0 is invalid.
Sebastian Dröge [Wed, 21 Oct 2015 15:58:06 +0000 (18:58 +0300)]
mxfmux: Don't let the header partition's prev_partition point forward to the footer
Sebastian Dröge [Wed, 21 Oct 2015 15:32:09 +0000 (18:32 +0300)]
mxftypes: Fix generation of operational pattern UL
Sebastian Dröge [Wed, 21 Oct 2015 15:31:43 +0000 (18:31 +0300)]
mxfdemux-structure: Sync fakesink state with the bin to make the application work at all
Sebastian Dröge [Wed, 21 Oct 2015 15:20:16 +0000 (18:20 +0300)]
mxfmpeg: h264 is always byte-stream inside MXF
Sebastian Dröge [Wed, 21 Oct 2015 15:06:11 +0000 (18:06 +0300)]
mxf: Add unit tests for H264/PCM
Sebastian Dröge [Wed, 21 Oct 2015 14:47:00 +0000 (17:47 +0300)]
mxfmux: Don't leak SEEK events when dropping them
Sebastian Dröge [Wed, 21 Oct 2015 14:21:09 +0000 (17:21 +0300)]
mxfvc3: The wrapping is the 15th byte of the essence container UL, not the 16th
In other mappings it is the 16th though.
Sebastian Dröge [Wed, 21 Oct 2015 14:11:03 +0000 (17:11 +0300)]
mxfdemux: If seeking to the remaining parts of the file fails on EOS, consider the stream done
Without this we would run this while loop forever, always seeking again for
the same stream.
Sebastian Dröge [Wed, 21 Oct 2015 12:07:23 +0000 (15:07 +0300)]
mxf: Properly enable unit tests again
Sebastian Dröge [Tue, 20 Oct 2015 22:22:11 +0000 (01:22 +0300)]
mxf: Re-enable mxfmux element
Sebastian Dröge [Tue, 20 Oct 2015 22:21:37 +0000 (01:21 +0300)]
mxfjpeg2000: Fix caps
There is no fields field anymore.
Sebastian Dröge [Tue, 20 Oct 2015 22:17:04 +0000 (01:17 +0300)]
mxfmux: Don't fail SEGMENT events
Sebastian Dröge [Tue, 20 Oct 2015 22:02:46 +0000 (01:02 +0300)]
mxfmux: Push stream-start and caps event before segment event
And don't push the caps event during instance initialization already.
Sebastian Dröge [Tue, 20 Oct 2015 21:45:19 +0000 (00:45 +0300)]
mxfaes-bwf: Format is unsigned if it's 1 byte per channel
... not 1 byte per block.
Luis de Bethencourt [Wed, 21 Oct 2015 15:51:10 +0000 (16:51 +0100)]
opencv: handdetect: no need to get a writable buffer
No need to get a writable buffer inside cv_trans_func of opencv video
filter. GstBaseTransform takes care of this.
Tim-Philipp Müller [Wed, 21 Oct 2015 13:35:11 +0000 (14:35 +0100)]
Automatic update of common submodule
From b99800a to b319909
Sebastian Dröge [Tue, 20 Oct 2015 14:29:42 +0000 (17:29 +0300)]
Use new GST_ENABLE_EXTRA_CHECKS #define
https://bugzilla.gnome.org/show_bug.cgi?id=756870
Sebastian Dröge [Wed, 21 Oct 2015 11:26:01 +0000 (14:26 +0300)]
Automatic update of common submodule
From 9aed1d7 to b99800a
Matthew Waters [Tue, 20 Oct 2015 18:34:18 +0000 (05:34 +1100)]
glshaderelement: free the vertex and fragment strings on finalize
Fixes a memory leak when using the vertex/fragment properties.
Matthew Waters [Tue, 20 Oct 2015 18:33:13 +0000 (05:33 +1100)]
androidmedia: fix build errors
printf %lld instead of G_GINT64_FORMAT.
Double ret variable declaration.
Matthew Waters [Tue, 20 Oct 2015 18:00:11 +0000 (05:00 +1100)]
glshaderelement: remove unneeded reference to <gst/gl/gstglshadervariables.h>
Matthew Waters [Tue, 20 Oct 2015 17:44:50 +0000 (04:44 +1100)]
gl: fix usage of string.h and stdio.h functions without including the headers
e.g:
gstglcontext_egl.c:613:7: error: implicit declaration of function 'strcmp'
[-Werror=implicit-function-declaration]
if (strcmp (G_MODULE_SUFFIX, "so") == 0)
Matthew Waters [Thu, 15 Oct 2015 20:03:06 +0000 (07:03 +1100)]
glimagesink: create a context in NULL_READY
So that it's possible for decoders et al. to request the OpenGL context
in their READY_PAUSED transition with decodebin/playbin.
Matthew Waters [Thu, 15 Oct 2015 13:34:22 +0000 (00:34 +1100)]
amcviddec: use gstcontext to retreive the OpenGL context
Matthieu Bouron [Mon, 20 Apr 2015 11:46:58 +0000 (13:46 +0200)]
androidmedia: Only allow GL output if the decoder has unknown color formats
If GST_AMC_IGNORE_UNKNOWN_COLOR_FORMATS is set to yes, non-GL output
is still allowed.
https://bugzilla.gnome.org/show_bug.cgi?id=731204
Matthieu Bouron [Thu, 5 Jun 2014 08:33:56 +0000 (10:33 +0200)]
androidmedia: Add support for GL output in amcvideodec
https://bugzilla.gnome.org/show_bug.cgi?id=731204
Matthieu Bouron [Thu, 30 Apr 2015 10:33:58 +0000 (12:33 +0200)]
androidmedia: Do not flush codec if it is not started
Matthieu Bouron [Mon, 13 Apr 2015 11:10:10 +0000 (13:10 +0200)]
androidmedia: Allow object to be NULL in gst_amc_jni_*unref functions
Edward Hervey [Fri, 13 Mar 2015 15:13:08 +0000 (16:13 +0100)]
androidmedia: Fix debug statement (%d for a gsize argument)
Matthieu Bouron [Thu, 2 Apr 2015 14:28:14 +0000 (16:28 +0200)]
androidmedia: Improve color format debug messages
Matthieu Bouron [Tue, 31 Mar 2015 14:24:40 +0000 (16:24 +0200)]
androidmedia: Improve debug messages
Matthieu Bouron [Tue, 31 Mar 2015 15:48:59 +0000 (17:48 +0200)]
androidmedia: Do not warn we do not support COLOR_FormatSurface
Matthew Waters [Tue, 20 Oct 2015 16:59:33 +0000 (03:59 +1100)]
gl: remove unneeded shader variable parsing code
Matthew Waters [Tue, 20 Oct 2015 16:23:30 +0000 (03:23 +1100)]
glshaderelement: implement setting arbitrary uniforms
Currently float and int are supported by default. vec2, vec3, vec4
and mat4 are supported if graphene is used. Of course if one wants
to set custom uniforms they can also be set using the create-shader
signal.
Luis de Bethencourt [Tue, 20 Oct 2015 11:24:11 +0000 (12:24 +0100)]
opencv: handdetect: free best_r with delete
best_r is a cv::Rect, so it should be freed with delete and not with
g_free()
Luis de Bethencourt [Tue, 20 Oct 2015 11:08:59 +0000 (12:08 +0100)]
opencv: motioncells: remove unnecessary check
We know that the gchar arrays contain at least one string. Furthermore,
g_strfreev() checks if the array is NULL and simply returns if it is.
Hence, there is no need to check if the array is empty before using
g_strfreev().
CID 1327412-1327415
Edward Hervey [Wed, 8 Jul 2015 15:17:12 +0000 (17:17 +0200)]
hls/m3u8: Update current position in all cases
In order to ensure the sequence_position will always be consistently updated,
store the current file duration.
This way, when we advance, we can always increment the position based on what
was previously outputted.
https://bugzilla.gnome.org/show_bug.cgi?id=752132
plamot [Wed, 14 Oct 2015 16:35:00 +0000 (18:35 +0200)]
dshowvideosink: Fix 64bit compatibility issue
SetWindowLong works only for 32 bit systems, thus windows events (move/resize)
where not interpreted on 64 bit systems
https://bugzilla.gnome.org/show_bug.cgi?id=756617
Matthew Waters [Mon, 19 Oct 2015 04:15:30 +0000 (15:15 +1100)]
gl: be consistent in gobject boilerpate
GST_GL_IS_* vs GST_IS_GL_*
git grep -l 'GST_GL_IS_' | xargs sed -i 's/GST_GL_IS_/GST_IS_GL_/g'
Matthew Waters [Mon, 19 Oct 2015 04:02:10 +0000 (15:02 +1100)]
add glliveshader program to .gitignore
Reynaldo H. Verdejo Pinochet [Sat, 17 Oct 2015 19:48:11 +0000 (12:48 -0700)]
pnmdec: drop frame in case of _handle() failure
Allows baseclass to handle it from there
Related to:
https://bugzilla.gnome.org/show_bug.cgi?id=756563
Reynaldo H. Verdejo Pinochet [Sat, 17 Oct 2015 08:51:24 +0000 (01:51 -0700)]
pnmdec: propagate input state after parsing
Store and copy input state fields when setting the
output state of the decoder. Avoids problems like
the framerate set by an upstream element being ignored
Related to:
https://bugzilla.gnome.org/show_bug.cgi?id=756563
Reynaldo H. Verdejo Pinochet [Sat, 17 Oct 2015 03:45:42 +0000 (20:45 -0700)]
pnmdec: completely reset parsing state at flush
Makes sure the mngr struct reflects a clean state
for the next frame, avoiding failures like:
https://bugzilla.gnome.org/show_bug.cgi?id=756563
Matthew Waters [Sat, 17 Oct 2015 04:26:46 +0000 (15:26 +1100)]
glshaderelement: implement on-demand create-shader signalling
One may not have an GstGLContext available or current in the thread where one
would need to update the shader. Support this by signalling create-shader
whenever the one-shot 'update-shader' is set to TRUE.
Matthew Waters [Fri, 16 Oct 2015 15:42:47 +0000 (02:42 +1100)]
gl/calayer: don't leak a gl shader object
We will always overwrite the ca_sink->redisplay_shader without freeing the
object.
Matthew Waters [Fri, 16 Oct 2015 15:40:50 +0000 (02:40 +1100)]
gtk: separate out the widget/window destroy callbacks
Fixes assertion due to the sink_finalize() being run before the widget destroy
callback.
https://bugzilla.gnome.org/show_bug.cgi?id=755969
Matthew Waters [Fri, 16 Oct 2015 14:08:29 +0000 (01:08 +1100)]
gl/examples: add a live shader demo using the new GstGLSLStage
Implemented with videotestsrc ! glshader ! glupload ! gtkglsink
Errors on an invalid shader compilation are ignored however any error
provided by the glsl compiler is printed to stdout.
Miguel París Díaz [Thu, 15 Oct 2015 22:23:56 +0000 (00:23 +0200)]
srtpdec: skip padding when mapping RTP packets
https://bugzilla.gnome.org/show_bug.cgi?id=756653
Sebastian Dröge [Wed, 14 Oct 2015 16:32:07 +0000 (19:32 +0300)]
amcvideodec: Properly forward the return value of gst_video_decoder_negotiate()
https://bugzilla.gnome.org/show_bug.cgi?id=756578
Sebastian Dröge [Wed, 14 Oct 2015 16:24:22 +0000 (19:24 +0300)]
amcvideodec: Implement support for COLOR_QCOM_FormatYVU420SemiPlanar32mMultiView for decoding
https://bugzilla.gnome.org/show_bug.cgi?id=756578
Matthew Waters [Thu, 15 Oct 2015 15:57:19 +0000 (02:57 +1100)]
glslstage: add brackets around pointer dereference referencing an array
While technically, i is always 0 and *vertex_sources[i++] is equivalant
to (*vertex_sources)[i++]. Be future-proof in the case of code
moves/changes/etc.
CID 1327406
Matthew Waters [Thu, 15 Oct 2015 12:47:11 +0000 (23:47 +1100)]
gl/caopengllayersink: port to new GstGLShader API
fixes build error:
"undefined symbols for architecture:
gst_gl_shader_compile_with_default_vf_and_check"
Matthew Waters [Thu, 15 Oct 2015 11:42:26 +0000 (22:42 +1100)]
gl/tests: port glcontext test to opengl
Now uses vao's and vbo's when possible like the rest of the gstgl library.
Matthew Waters [Fri, 4 Sep 2015 06:16:51 +0000 (16:16 +1000)]
glshader: port element to GstGLSLStage
- Provide a shader property to set the full shader pipeline
- Provide vertex and fragment properties for just providing simple
shader sources.
Matthew Waters [Fri, 4 Sep 2015 06:02:32 +0000 (16:02 +1000)]
glshader: port to using GstGLSLStage objects for string management
A GstGLShader is now simply a collection of stages that are
compiled and linked together into a program. The uniform/attribute
interface has remained the same.
Matthew Waters [Fri, 4 Sep 2015 04:36:47 +0000 (14:36 +1000)]
glsl: add a shader stage object GstGLSLStage
Represents a stage (vertex, geometry, fragment, etc) in the shader
pipeline.
Matthew Waters [Thu, 3 Sep 2015 14:09:09 +0000 (00:09 +1000)]
gl/shader/variables: include generic gl.h header
Otherwise we may miss some forward declarations
Fixes build error: undefined reference to GstGLSLStage
Matthew Waters [Thu, 20 Aug 2015 05:11:06 +0000 (15:11 +1000)]
gl: add some GLSL utility functions
Specifically parsing/setting GLSL versions and the shader related
function table.
Paul Arzelier [Wed, 14 Oct 2015 20:51:29 +0000 (22:51 +0200)]
dtls: Fix name conflict with openssl on win32
https://bugzilla.gnome.org/show_bug.cgi?id=756592
Thiago Santos [Fri, 4 Sep 2015 21:40:18 +0000 (18:40 -0300)]
hls: if media sequence is not specified, use 0
Allows playlists that are missing the mediasequence information to
be correctly parsed. If the playlist was updated without reseting
the mediasequence it would constantly increase over subsequent updates,
leading to issues during playback.
George Kiagiadakis [Sun, 30 Aug 2015 12:56:57 +0000 (14:56 +0200)]
waylandsink: fix fallback buffer allocation
Copy-paste mistake; the wl_buffer was attached on the wrong buffer...
George Kiagiadakis [Sun, 30 Aug 2015 12:55:11 +0000 (14:55 +0200)]
waylandsink: rename GstWlDisplay::formats array to shm_formats
These formats are specific to the wl_shm interface. We are going
to add dmabuf formats later as well.
George Kiagiadakis [Sat, 29 Aug 2015 20:29:17 +0000 (22:29 +0200)]
waylandsink: replace the custom GstWlShmMemory with GstFdMemory
Sebastian Dröge [Wed, 14 Oct 2015 16:53:34 +0000 (19:53 +0300)]
po: Update POTFILES.in for OpenCV C++ file rename
Edward Hervey [Wed, 14 Oct 2015 15:41:05 +0000 (17:41 +0200)]
hls: Allow debugging of the playlist
Helps debugging issues
Edward Hervey [Wed, 14 Oct 2015 15:38:39 +0000 (17:38 +0200)]
hlsdemux: Avoid negative sequence numbers
For live streams, we want to make sure there's a certain distance
between the sequence to play and the last (earliest) fragment.
The problem is that it assumes there are at least 3 fragments in
the playlist, which might not always be the case (like in the case
of a server restarting and gradually adding fragments).
In order to avoid ending up with negative sequence numbers (which
will just loop forever), limit the new target sequence number to
the highest of:
* either the first sequence number of the playlist (fallback)
* or 3 fragments from the last one (standard behaviour)
Luis de Bethencourt [Wed, 14 Oct 2015 14:30:05 +0000 (15:30 +0100)]
opencv: switch remaining to C++
Switch remaining C files to C++ for consistency with other OpeCV elements,
and support of the new 2.4.11 API.
https://bugzilla.gnome.org/show_bug.cgi?id=754148
Sebastian Dröge [Wed, 14 Oct 2015 07:31:23 +0000 (10:31 +0300)]
mpdparser: Set default last_byte_pos to -1
The value is optional in the range, and if it is absent it means we should
download until the end of stream. Not until position 0.
https://bugzilla.gnome.org/show_bug.cgi?id=748316
Sebastian Dröge [Wed, 14 Oct 2015 07:34:58 +0000 (10:34 +0300)]
adaptivedemux: HTTP ranges are inclusive, GStreamer segment.stop is exclusive
Translate the values accordingly.
https://bugzilla.gnome.org/show_bug.cgi?id=748316
Luis de Bethencourt [Wed, 14 Oct 2015 13:34:32 +0000 (14:34 +0100)]
opencv: motioncells: Switch to C++
Switch gstmotioncells to C++ for consistency with other OpenCV elements,
and support of the new 2.4.11 API.
https://bugzilla.gnome.org/show_bug.cgi?id=754148
Matthew Waters [Wed, 14 Oct 2015 11:35:26 +0000 (22:35 +1100)]
build: add liveadder directory to the cruft list
So that we can remove it and avoid duplicate GstLiveAdder GType registrations.
Guillaume Desmottes [Tue, 13 Oct 2015 10:40:04 +0000 (12:40 +0200)]
gl: fix leak in gst_gl_insert_debug_marker()
The string allocated by g_vasprintf() was leaked.
Reproduced using the
validate.file.compositor.simple.play_15s.synchronized validate scenario.
https://bugzilla.gnome.org/show_bug.cgi?id=756492
Tim-Philipp Müller [Mon, 12 Oct 2015 10:07:32 +0000 (11:07 +0100)]
docs: update to git
https://bugzilla.gnome.org/show_bug.cgi?id=756424
Tim-Philipp Müller [Mon, 12 Oct 2015 08:36:29 +0000 (09:36 +0100)]
liveadder: latency property is an uint64 in audiomixer
Luis de Bethencourt [Sun, 11 Oct 2015 22:44:25 +0000 (23:44 +0100)]
textoverlay: Switch to C++
Switch gsttextoverlay to C++ for consistency with other OpenCV elements,
and support of the new 2.4.11 API.
https://bugzilla.gnome.org/show_bug.cgi?id=754148
Luis de Bethencourt [Sun, 11 Oct 2015 20:54:30 +0000 (21:54 +0100)]
opencv: pyramidsegment: Switch to C++
Switch gstpyramidsegment to C++ for consistency with other OpenCV elements,
and support of the new 2.4.11 API.
https://bugzilla.gnome.org/show_bug.cgi?id=754148
Olivier Crête [Sun, 4 Oct 2015 23:55:36 +0000 (00:55 +0100)]
liveadder: Remove plugin, replace by compat subclass of audiomixer
New subclass with a similar behaviour as the old liveadder, but
a slightly different API as the latency is in nanoseconds, not
milliseconds. Also, the new liveadder has a effective latency that
is latency + output-buffer-duration. In practice, just setting a non-zero
latency with the new audiomixer gives you the right behavior in 99% of the
cases.
Julien Isorce [Sun, 11 Oct 2015 09:00:43 +0000 (10:00 +0100)]
dashdemux: fix undefined reference to gst_ntp_clock_new
Found with gst-inspect-1.0 -b in gst-uninstalled env.
https://bugzilla.gnome.org/show_bug.cgi?id=756383
Luis de Bethencourt [Sat, 10 Oct 2015 16:52:23 +0000 (17:52 +0100)]
cvsobel: Switch to C++
Switch gstcvlsobel to C++ for consistency with other OpenCV elements, and
support of the new 2.4.11 API.
https://bugzilla.gnome.org/show_bug.cgi?id=754148
Luis de Bethencourt [Sat, 10 Oct 2015 16:00:55 +0000 (17:00 +0100)]
cvlaplace: Switch to C++
Switch gstcvlaplace to C++ for consistency with other OpenCV elements, and
support of the new 2.4.11 API.
https://bugzilla.gnome.org/show_bug.cgi?id=754148
Luis de Bethencourt [Sat, 10 Oct 2015 15:57:36 +0000 (16:57 +0100)]
cvequalizehist: Switch to C++
Switch gstcvequalizehist to C++ for consistency with other OpenCV elements,
and support of the new 2.4.11 API.
https://bugzilla.gnome.org/show_bug.cgi?id=754148
Luis de Bethencourt [Sat, 10 Oct 2015 13:10:32 +0000 (14:10 +0100)]
cverode: Switch to C++
Switch gstcverode to C++ for consistency with other OpenCV elements, and
support of the new 2.4.11 API.
https://bugzilla.gnome.org/show_bug.cgi?id=754148
Reynaldo H. Verdejo Pinochet [Thu, 8 Oct 2015 21:46:10 +0000 (14:46 -0700)]
dvb: simplify ZAP file format parser
Simplify state handing, drop unneeded local vars, etc.
Florin Apostol [Wed, 7 Oct 2015 13:22:46 +0000 (14:22 +0100)]
dashdemux: fixed has_next_period
gst_mpd_client_has_next_period now calls gst_mpd_client_setup_media_presentation
to refresh the period information.
https://bugzilla.gnome.org/show_bug.cgi?id=756186
Vineeth TM [Tue, 6 Oct 2015 23:48:15 +0000 (08:48 +0900)]
audioaggregator: Fix build error
Build error due to wrong argument type in debug message
aagg->priv->offset and next_offset are of type int64, but uint64
formatter is being used in logs. Changing all those to int64
https://bugzilla.gnome.org/show_bug.cgi?id=756065
Nirbheek Chauhan [Tue, 6 Oct 2015 15:53:11 +0000 (21:23 +0530)]
glvideomixer: Proxy the ignore-eos videoaggregator property as well
Identical to how the z-order property is proxied
Vineeth TM [Mon, 5 Oct 2015 02:21:07 +0000 (11:21 +0900)]
id3tag: fix sample memory leak
When getting sample from taglist, the memory is not being freed resulting in memory leak.
https://bugzilla.gnome.org/show_bug.cgi?id=756070
Havard Graff [Thu, 1 Oct 2015 09:18:52 +0000 (11:18 +0200)]
rtmpsrc: plug memory-leaks
https://bugzilla.gnome.org/show_bug.cgi?id=756001
Sebastian Dröge [Fri, 2 Oct 2015 19:57:27 +0000 (22:57 +0300)]
resindvd: Port to new GLib mutex/cond API
Sebastian Dröge [Fri, 2 Oct 2015 19:24:19 +0000 (22:24 +0300)]
Update GLib dependency to 2.40.0
Vanessa Chipirrás Navalón [Fri, 2 Oct 2015 18:02:26 +0000 (19:02 +0100)]
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
Vanessa Chipirrás Navalón [Fri, 2 Oct 2015 17:50:45 +0000 (18:50 +0100)]
skindetect: Change gstskindetect to C++
Change the 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
Vanessa Chipirrás Navalón [Mon, 31 Aug 2015 15:43:26 +0000 (17:43 +0200)]
opencvutils: add extern C, for the opencv elements work.
Adding G_BEGIN_DECLS and G_END_DECLS to gstopencvutils.h
to allow C-style linking.
https://bugzilla.gnome.org/show_bug.cgi?id=754148
Luis de Bethencourt [Fri, 2 Oct 2015 17:40:43 +0000 (18:40 +0100)]
retinex: use OpenCV namespace
As part of the switch to C++, use the new OpenCV functions.
https://bugzilla.gnome.org/show_bug.cgi?id=754148
Vanessa Chipirrás Navalón [Fri, 2 Oct 2015 17:10:32 +0000 (18:10 +0100)]
cvsmooth: port to C++
Change the 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