Hello everybody,

I was using Haskell to make a small test app for a GStreamer filter I've been developing.

I came upon two problems:

1. Media.Streaming.GStreamer.Core.Init does not pass argc,argv to gst_init function so debugging the filter by passing --gst-debug=LEVEL does not provide wanted debugging trace.

I have added a new Init function that passes these parameters. Can somebody comment on my solution. I'm new to C FFI

http://hpaste.org/69923

2. When I construct a graph to test my filter in following code http://hpaste.org/69925 and load the code in ghci it SEGFAULTs. When I compile and run everything seems OK but no ximagesink's window ever appears. Did I forget to initialize something in Glib? gst-launch with the exact same filters shows the window.


Regards,
hepek