commit 39d27884612bcfb02f08bec9c4f84199d4d653d3 parent 49f07868075671f5355b5e034a3cd5cd74005734 Author: LRN <lrn1986@gmail.com> Date: Sun, 22 Dec 2013 20:53:21 +0000 Correct GStreamer data timeout threshold to match timeout check frequency Diffstat:
| M | src/plugins/gstreamer_extractor.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/plugins/gstreamer_extractor.c b/src/plugins/gstreamer_extractor.c @@ -45,8 +45,9 @@ GST_DEBUG_CATEGORY_STATIC (gstreamer_extractor); * asking to seek, or giving us discovered info, assume it hanged up * and kill it. * In microseconds. + * Keep this value a bit less than DATA_TIMEOUT_FREQUENCY */ -#define DATA_TIMEOUT 80000LL /* 80ms */ +#define DATA_TIMEOUT 1350000LL /* 1.35s */ pthread_mutex_t pipe_mutex;