AW: rtpjitterbuffer problem

killerrats koreysjunkmail at gmail.com
Tue Jun 26 16:29:02 UTC 2018


Okay I finally was able to get it to work. I just made another method to
return the string and will delete the gchar*.

std::string videoPipeline::nextVid(std::string videoFormat, guint nextIndex)
{
	std::string temp = "";
	gchar* name;
	name = g_strdup_printf(g_strdup_printf("%s", videoFormat.c_str()),
nextIndex);
	temp = std::string(temp);
	g_free(name);
	return temp;

}

gchar* videoPipeline::NextFile_splitmux_cb(GstElement* element, guint
fragment_id,gpointer user_data)
{
     return g_strdup_printf("%s", nextVid("video05%d.avi",fragment_id));
}



-----
------------------------------
Gstreamer 1.14.1
------------------------------
Windows
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list