From 7f3a00decdc1681e52a81d0b29202ca709c8665d Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 14 Mar 2012 15:45:38 +0100 Subject: [PATCH] jitterbuffer: reply FALSe on serialized queries --- gst/rtpmanager/gstrtpjitterbuffer.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index 54b9f2964f..a94eb7e893 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -2110,10 +2110,14 @@ gst_rtp_jitter_buffer_sink_query (GstPad * pad, GstObject * parent, break; } default: - res = gst_pad_query_default (pad, parent, query); + if (GST_QUERY_IS_SERIALIZED (query)) { + GST_WARNING_OBJECT (pad, "unhandled serialized query"); + res = FALSE; + } else { + res = gst_pad_query_default (pad, parent, query); + } break; } - return res; }