Allows us to debug gstreamer using the command line options from: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-debugging.html diff -X dontdiff -urNp tunesbrowser-0.2.0/audioplayer.c tunesbrowser-dsd/audioplayer.c --- tunesbrowser-0.2.0/audioplayer.c 2004-12-20 08:03:55.000000000 +0000 +++ tunesbrowser-dsd/audioplayer.c 2005-01-24 16:54:52.843615064 +0000 @@ -249,9 +249,9 @@ gst_element_err: exit(EXIT_FAILURE); } -void audioplayer_init() +void audioplayer_init(int *argc, char **argv[]) { - gst_init(0, NULL); + gst_init(argc, argv); return; diff -X dontdiff -urNp tunesbrowser-0.2.0/main.c tunesbrowser-dsd/main.c --- tunesbrowser-0.2.0/main.c 2005-01-04 02:58:29.000000000 +0000 +++ tunesbrowser-dsd/main.c 2005-01-24 16:55:45.427621080 +0000 @@ -109,7 +109,7 @@ int main(int argc, char *argv[]) { partyshuffle_init(xml); init_daap(&argc, &argv); - audioplayer_init(); + audioplayer_init(&argc, &argv); /* seems gstreamer removes my signal handlers */ install_sighandlers(); diff -X dontdiff -urNp tunesbrowser-0.2.0/tunesbrowser.h tunesbrowser-dsd/tunesbrowser.h --- tunesbrowser-0.2.0/tunesbrowser.h 2005-01-03 08:34:14.000000000 +0000 +++ tunesbrowser-dsd/tunesbrowser.h 2005-01-24 16:56:42.029016360 +0000 @@ -87,7 +87,7 @@ void filehack_play_song(const char #endif /* audio player */ -void audioplayer_init(); +void audioplayer_init(int *argc, char **argv[]); void audioplayer_playpipe(int fd); void audioplayer_finalize(); void audioplayer_pause();