Work on main loop

Make a main-loop object with associated helper functions to handle async
methods.
rtloop -> data_loop
Handle async results a lot better.
Remove REMOVE_MEM command. We don't need it.
Handle stream memory updates better.
This commit is contained in:
Wim Taymans 2016-10-20 16:26:55 +02:00
parent 98dbb6424d
commit 8fac22afdb
26 changed files with 926 additions and 583 deletions

View file

@ -78,7 +78,7 @@ struct _GstPinosSink {
gboolean negotiated;
GMainContext *context;
PinosMainLoop *loop;
PinosThreadMainLoop *loop;
PinosContext *ctx;
PinosStream *stream;
GstAllocator *allocator;