Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add original create command to internal pipeline data #314

Open
clogwog opened this issue Oct 20, 2022 · 0 comments
Open

add original create command to internal pipeline data #314

clogwog opened this issue Oct 20, 2022 · 0 comments

Comments

@clogwog
Copy link

clogwog commented Oct 20, 2022

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..

@clogwog clogwog changed the title suggestion [suggestion] add original create command to internal pipeline data Oct 20, 2022
@clogwog clogwog changed the title [suggestion] add original create command to internal pipeline data add original create command to internal pipeline data Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant