would it be possible to store the original pipeline create command that is used inside gstd, and then return that string either in list_pipelines or list_elements ?
I'm asking because when i start a pipeline with for example:
and my application crashes and comes back, i want to be able to check if it is still running exactly as i need it.
so if in the meantime something has changed where i need to write it to a different file (for example)
i could then retrieve the original 'create string' compare it with
would it be possible to store the original pipeline create command that is used inside gstd, and then return that string either in list_pipelines or list_elements ?
I'm asking because when i start a pipeline with for example:
create_pipeline abcd fakesrc ! filesink location=/video/abcd.raw
and my application crashes and comes back, i want to be able to check if it is still running exactly as i need it. so if in the meantime something has changed where i need to write it to a different file (for example)
i could then retrieve the original 'create string' compare it with
abcd fakesrc ! filesink location=/video/newfile.raw
and see that it is different, so i can stop the pipeline and create a new one.. whereas if it is the same , i can just leave it be..