jitterbuffer: reply FALSe on serialized queries

This commit is contained in:
Wim Taymans 2012-03-14 15:45:38 +01:00
parent 734f11e4d3
commit 7f3a00decd

View file

@ -2110,10 +2110,14 @@ gst_rtp_jitter_buffer_sink_query (GstPad * pad, GstObject * parent,
break; break;
} }
default: 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; break;
} }
return res; return res;
} }