gst: add 30 seconds timeout

Add a timeout to all blocking wait operations so that we don't wait
forever but error out after 30 seconds.
This commit is contained in:
Wim Taymans 2021-09-16 10:05:58 +02:00
parent d04244abb9
commit 803763ed01
4 changed files with 46 additions and 6 deletions

View file

@ -33,6 +33,8 @@ G_BEGIN_DECLS
typedef struct _GstPipeWireCore GstPipeWireCore;
#define GST_PIPEWIRE_DEFAULT_TIMEOUT 30
/**
* GstPipeWireCore:
*