mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
Do gst_init first, so we can supply debugging options to libgst
Original commit message from CVS: Do gst_init first, so we can supply debugging options to libgst
This commit is contained in:
parent
ee33cb2a26
commit
f4ae52d0ab
16 changed files with 30 additions and 30 deletions
|
@ -14,13 +14,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#/usr/bin/sh
|
||||
gstreamer-launch disksrc $1 ! mp3parse ! mpg123 ! audiosink
|
||||
gstreamer-launch disksrc $1 ! mp3parse ! mpg123 ! fakesink
|
||||
|
|
|
@ -17,13 +17,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
|
|
@ -17,13 +17,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
|
|
@ -17,13 +17,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
|
|
@ -17,13 +17,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
|
|
@ -18,13 +18,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
|
|
@ -9,13 +9,13 @@ int main(int argc,char *argv[])
|
|||
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");
|
||||
|
|
|
@ -14,13 +14,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#/usr/bin/sh
|
||||
gstreamer-launch disksrc $1 ! mp3parse ! mpg123 ! audiosink
|
||||
gstreamer-launch disksrc $1 ! mp3parse ! mpg123 ! fakesink
|
||||
|
|
|
@ -17,13 +17,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
|
|
@ -17,13 +17,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
|
|
@ -17,13 +17,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
|
|
@ -17,13 +17,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
|
|
@ -18,13 +18,13 @@ int main(int argc,char *argv[])
|
|||
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);
|
||||
|
|
|
@ -9,13 +9,13 @@ int main(int argc,char *argv[])
|
|||
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");
|
||||
|
|
Loading…
Reference in a new issue