when I ran the deepstream-test1-app in the DeepStream_Release/sources/apps/deepstream-test,the pgie is nill.
GstElement *pipeline = NULL, *source = NULL, *h264parser =
NULL,
*decoder = NULL, *sink = NULL, *pgie = NULL, *nvvidconv =
NULL, *nvosd = NULL, *filter1 = NULL, *filter2 = NULL;
/* Use nvinfer to run inferencing on decoder’s output,
- behaviour of inferencing is set through config file */
pgie = gst_element_factory_make (“nvinfer”, “primary-nvinference-engine”);
g_print(“pgie=%p\n”,pgie);