fix a sync problem. 88/18188/1
authorKitae Kim <kt920.kim@samsung.com>
Mon, 3 Mar 2014 10:29:38 +0000 (19:29 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Mon, 17 Mar 2014 10:04:16 +0000 (19:04 +0900)
commit68ea61fa3c39142042cdaeb4740e795cd1070fb4
tree85e3e92d99fa03114fcfb331a5de61b4e116750c
parente790fbe4e1e6727b6eed1b8c3935881cc673447f
fix a sync problem.

There is a variable to manage how many codecs are used in a process.
As depending on the count variable, this plugin determine whether release resources or not.
However, there is an exception case that the variable can be invalid,
and it causes SEGV problem when opening and closing CODECs concurrently.

Change-Id: If5bab4c679f986d0cb7108fd36c23ce57c741ab2
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
packaging/gst-plugins-emulator.spec
src/gstmarudevice.c
src/gstmaruenc.c