mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 15:32:32 +00:00
save xml file of the launch cmdline
Original commit message from CVS: save xml file of the launch cmdline
This commit is contained in:
parent
2f424eb4d4
commit
043f6239b8
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
gst_parse_launch (cmdline, GST_BIN (pipeline));
|
gst_parse_launch (cmdline, GST_BIN (pipeline));
|
||||||
|
|
||||||
|
xmlSaveFile("gstreamer-launch.gst",gst_xml_write(pipeline));
|
||||||
|
|
||||||
fprintf(stderr,"RUNNING pipeline\n");
|
fprintf(stderr,"RUNNING pipeline\n");
|
||||||
gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue