pinossrc: use a queue for the buffers

Use a queue to keep the buffers around and pass them to the streaming
thread.
This commit is contained in:
Wim Taymans 2016-04-12 17:05:51 +02:00
parent c6079cf7d2
commit a25bdf8acb
2 changed files with 18 additions and 16 deletions

View file

@ -66,7 +66,7 @@ struct _GstPinosSrc {
GstAllocator *fd_allocator;
GstStructure *properties;
GstBuffer *current;
GQueue queue;
GstClock *clock;
};