Change GST_RANK_NONE to GST_RANK_PRIMARY + 1, and Modify "g_printf" to GST_LOG