GstElement *disksrc, *audiosink;
GstElement *pipeline, *thread;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
thread = gst_thread_new("main_thread");
g_assert(thread != NULL);
#/usr/bin/sh
-gstreamer-launch disksrc $1 ! mp3parse ! mpg123 ! audiosink
+gstreamer-launch disksrc $1 ! mp3parse ! mpg123 ! fakesink
GstElement *bin;
GstElement *thread;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
thread = gst_thread_new("thread");
g_assert(thread != NULL);
GstElement *pipeline;
GstElement *thread;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
thread = gst_thread_new("thread");
g_assert(thread != NULL);
GstElement *bin;
GstElement *thread;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
thread = gst_thread_new("thread");
g_assert(thread != NULL);
GstElement *bin;
GstElement *thread, *thread2;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
thread = gst_thread_new("thread");
g_assert(thread != NULL);
GstElement *pipeline;
GstElement *thread;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
thread = gst_thread_new("thread");
g_assert(thread != NULL);
GstElement *bin;
GstElement *thread, *thread2;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
//thread = gst_thread_new("thread");
thread = gst_elementfactory_make("thread", "thread");
GstElement *disksrc, *audiosink;
GstElement *pipeline, *thread;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
thread = gst_thread_new("main_thread");
g_assert(thread != NULL);
#/usr/bin/sh
-gstreamer-launch disksrc $1 ! mp3parse ! mpg123 ! audiosink
+gstreamer-launch disksrc $1 ! mp3parse ! mpg123 ! fakesink
GstElement *bin;
GstElement *thread;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
thread = gst_thread_new("thread");
g_assert(thread != NULL);
GstElement *pipeline;
GstElement *thread;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
thread = gst_thread_new("thread");
g_assert(thread != NULL);
GstElement *bin;
GstElement *thread;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
thread = gst_thread_new("thread");
g_assert(thread != NULL);
GstElement *bin;
GstElement *thread, *thread2;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
thread = gst_thread_new("thread");
g_assert(thread != NULL);
GstElement *pipeline;
GstElement *thread;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
thread = gst_thread_new("thread");
g_assert(thread != NULL);
GstElement *bin;
GstElement *thread, *thread2;
+ gst_init(&argc,&argv);
+
if (argc != 2) {
g_print("usage: %s <filename>\n", argv[0]);
exit(-1);
}
- gst_init(&argc,&argv);
-
/* create a new thread to hold the elements */
//thread = gst_thread_new("thread");
thread = gst_elementfactory_make("thread", "thread");