[longomatch] gst-video-encoder: fix deadlock in EOS



commit 6ae6c81bd7d90f462b43dd1d551b5c765374a770
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Mar 24 01:09:18 2013 +0100

    gst-video-encoder: fix deadlock in EOS

 libcesarplayer/gst-video-encoder.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libcesarplayer/gst-video-encoder.c b/libcesarplayer/gst-video-encoder.c
index 1bb33d1..d5a2f1e 100644
--- a/libcesarplayer/gst-video-encoder.c
+++ b/libcesarplayer/gst-video-encoder.c
@@ -232,6 +232,7 @@ gst_video_encoder_create_encoder_bin (GstVideoEncoder *gve)
   /* Increase audio queue size for h264 encoding as the encoder queues 2 seconds
    * of video */
   g_object_set (aqueue, "max-size-time", 5 * GST_SECOND, NULL);
+  g_object_set (aqueue, "max-size-buffers", 0, NULL);
 
   /* Set caps for the encoding resolution */
   video_caps = gst_caps_new_simple ("video/x-raw-yuv", NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]