AW: AW: AW: record H264 stream use multifilesink
Michelle Guo
guolulu_318 at 126.com
Sat Dec 23 14:53:10 UTC 2017
Hi Thornton;
I use the following way to create splitmuxsink:
GstElement *splitmuxsink;
splitmuxsink= gst_element_factory_create (splitmuxsink, "splitmuxsink");
I use the default sink, and in my program, I have never set the
splitmuxsink sink property, so I think in the following function, the
return value lastelement will be "filesink", and I can get the sinkpad of
lastelement.
GstElement*lastelement = gst_bin_get_by_name((GstBin*)splitmuxsink,
"sink");
However, the lastelement is NULL, so I can not get the sinkpad of this
element. I was confused by this result.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list