Added support of GST frames in example.c