mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
added code to save the pipeline to xml
Original commit message from CVS: added code to save the pipeline to xml
This commit is contained in:
parent
861ebf934c
commit
899edf17dd
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ main (int argc, char *argv[])
|
|||
gst_media_play_start_uri (play, argv[1]);
|
||||
}
|
||||
|
||||
xmlSaveFile("gstmediaplay.gst", gst_xml_write(gst_play_get_pipeline(play->play)));
|
||||
|
||||
gdk_threads_enter ();
|
||||
gst_main ();
|
||||
gdk_threads_leave ();
|
||||
|
|
Loading…
Reference in a new issue