gstreamer/test/args.c
Erik Walthinsen 0ec400890c initial checkin
Original commit message from CVS:
initial checkin
2000-01-30 10:44:33 +00:00

20 lines
415 B
C

#include <glib.h>
#include <gst/gst.h>
int main(int argc,char *argv[]) {
GstElement *src;
GList *padlist;
GtkArg arg;
gst_init(&argc,&argv);
src = gst_disksrc_new("fakesrc");
gtk_object_set(GTK_OBJECT(src),"location","demo.mp3",NULL);
arg.name = "location";
gtk_object_getv(GTK_OBJECT(src),1,&arg);
g_print("location is %s\n",GTK_VALUE_STRING(arg));
gst_object_destroy(GST_OBJECT(src));
}