Re: Seperating Multiple processes

2017-03-17 Thread Eric Cashon via gtk-app-devel-list
Some follow up on this. If you are starting a separate process to run your transcoding you need to use an async version of your run_cmd(). Otherwise the program will wait until the function returns and bind up the main glib thread if the function takes a while. This might be the easiest way

Re: Seperating Multiple processes

2017-03-10 Thread Eric Cashon via gtk-app-devel-list
Hi Mike, Have you looked at using a thread pool? https://developer.gnome.org/glib/stable/glib-Thread-Pools.html If you have a folder full of files that you want to transcode you can set up your thread pool to cycle through them. Eric ___

Seperating Multiple processes

2017-03-10 Thread Mike Martin
Hi I have a weird issue on an application I am developing The application is fully tabbed and runs loops to transcode video files, and I would like to be able to run the main transcoding loop fully in parrellel, ie: the process running in one tab is totally seperate to that running in another tab