mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-16 13:00:41 +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
|
@ -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