mercredi 5 février 2020

Gstreamer unable to create new pipeline

So I am building a linux based c app using gstreamer. I have written the code for that and everything works fine for the first run.(As the source code consists of multiple files, I would not prefer to paste it here).

I am using a Glib main loop and am attaching a signal to the bus and am if an error is enocountered, I do the cleaning.

The issue is, after doing the cleaning when I try to recall my main function again, gstreamer fails to create a new pipeline i.e gst_pipeline_new creates/returns an empty pipeline.

I just wish to know about the possible scenarios when this sort of behaviour happens i.e. what makes gst_pipeline_new fail ? I am not looking for a direct solution to my problem but any pointers as to when gst_pipeline_new fails ?

Aucun commentaire:

Enregistrer un commentaire