mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
0ec400890c
Original commit message from CVS: initial checkin
20 lines
415 B
C
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));
|
|
}
|
|
|