------------ INTRODUCTION ------------ This is a simple GST API, which aims quick and simples GST applications. ----------- Instalation ----------- Include the header file in your project and build the source file, you can use the following Makefile as an example: ---------------------------------------------------- APPNAME = simple_player DESTDIR = ../bin CC = gcc LD = g++ DEL_FILE = rm -rf CP_FILE = cp -rf CFLAGS = -Wall -O2 -fsigned-char -march=armv7-a -mfpu=neon -mfloat-abi=softfp \ -I. -I../usr/include \ -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 \ LFLAGS = -L/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 \ OBJECTS = main.o gstcontrol.o first: all all: $(APPNAME) $(APPNAME): $(OBJECTS) $(LD) $(LFLAGS) -o $(DESTDIR)/$(APPNAME) $(OBJECTS) main.o: main.cpp $(LD) $(CFLAGS) -c -o main.o main.cpp gstcontrol.o: gstcontrol.cpp $(LD) $(CFLAGS) -c -o gstcontrol.o gstcontrol.cpp clean: $(DEL_FILE) $(OBJECTS) $(DEL_FILE) *~ core *.core distclean: clean $(DEL_FILE) $(DESTDIR)/$(APPNAME) install: all ---------------------------------------------------- ----------------- NEXT IMPROVEMENTS ----------------- 1 - Include camera access function 2 - fix/add seek functions ---------------- AUTHOR & CONTACT ---------------- Andre Silva andreluizeng@yahoo.com.br andre.silva@freescale.com EOF !