参考:
https://blog.csdn.net/quantum7/article/details/82151637
source = gst_element_factory_make ( "rtspsrc", "source");
g_object_set (G_OBJECT (pipel.source), "latency", 2000, NULL);
rtppay = gst_element_factory_make ( "rtph264depay", "depayl");
parse = gst_element_factory_make ( "h264parse", "parse");
decodebin = gst_element_factory_make ( "openh264dec", "decode");
sink = gst_element_factory_make ( "d3dvideosink", "sink");
但是报错"openh264dec"插件创建不成功,改成"nvv4l2decoder"可以创建成功,但是link错误。