Programs

gstreamer-config

gstreamer-config is a script to get information about the installed version of GStreamer. This program "knows" what compiler switches are needed to compile programs that use GStreamer.

gstreamer-config accepts the following options:

A simple Makefile will contain something like:
CC = gcc

helloworld2: helloworld2.c
   $(CC) -Wall `gstreamer-config --cflags --libs` helloworld2.c -o helloworld2

clean:
   rm -f *.o helloworld2