We check filter->privateData to see if the custom filter (.so) is already loaded or not.
Thus, in order to prevent duplicated filter loading, we need to ensure that
the created private data (*private_data) is stored at the desired location (filter->privateData).
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
ptr = g_new0 (internal_data, 1); /* Fill Zero! */
*private_data = ptr;
+ g_assert (*private_data == filter->privateData);
ptr->parent = GstTensor_Filter_of_privateData (private_data);
/* Load .so if this is the first time for this instance. */