gst_caps_new_simple("video/x-raw(memory:NVMM)" got error.(Resolved)

The error is –GStreamer-CRITICAL **: gst_structure_new_empty: assertion ‘gst_structure_validate_name (name)’ failed

When i use

GstCaps *number2 = NULL;
    //number2 = gst_caps_new_simple("video/x-raw(memory:NVMM)","format",G_TYPE_STRING,"I420","width",G_TYPE_INT,"640","height",G_TYPE_INT,"480",NULL);
number2 = gst_caps_new_simple("video/x-raw(memory:NVMM)",NULL);

i got the error . I really don’t why…Should i post some other?

Sorry, I found Reference https://devtalk.nvidia.com/default/topic/934515/using-x-raw-memory-nvmm-in-gstreamer-program/