[Spice-devel] [client v5 3/4] streaming: Stop streaming if GStreamer silently drops every frame
Christophe Fergeau
cfergeau at redhat.com
Tue Nov 15 16:37:00 UTC 2016
Missing commit log.
On Mon, Oct 31, 2016 at 09:25:41PM +0100, Francois Gouget wrote:
> Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
> ---
> src/channel-display-gst.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c
> index 5fb0b77..5ebfc53 100644
> --- a/src/channel-display-gst.c
> +++ b/src/channel-display-gst.c
> @@ -446,6 +446,13 @@ static gboolean spice_gst_decoder_queue_frame(VideoDecoder *video_decoder,
> return TRUE;
> }
>
> + /* Verify that the pipeline is decoding the frames as expected */
> + g_mutex_lock(&decoder->queues_mutex);
> + if (g_queue_get_length(decoder->decoding_queue) > 25) {
Why 25 ?
Looks ok otherwise.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20161115/63e4f117/attachment.sig>
More information about the Spice-devel
mailing list