Hello, In the radio automation script i'm building with liquidsoap, i'm now including a part for reencoding files wit usage of cue_cut, which works fine. I have for example a file with a duration of 90 minutes in the in_cut source, a part of that file is selected using cue_cut information sent using a post request to the harbor. in_cut is outputted to another file, the output is called out_cut. I also attached a new clock to the in_cut source which runs in CPU-burning mode, not synchronised. The thing is that liquidsoap is supposed to keep running after the reencoding has taken place to accept more files to reencode. So, whenever reencoding is finished, i want to clean up and shut down in_cut and out_cut. What is the easiest way to accomplish this behavior? Do i need reference functions for this, or is there an easier way to shutdown in_cut and out_cut using the on_stop method of out_cut? Will the clock attached to in_cut automatically be killed when it has no attached sources left?
Regards, Leonard ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
