Call the default query handler instead of forwarding the query blindly. Fixes
issues of strides because of proxying the allocation query wrongly.
res = TRUE;
break;
}
- default:{
- GstPad *peer = gst_pad_get_peer (self->srcpad);
-
- if (peer) {
- res = gst_pad_query (peer, query);
- gst_object_unref (peer);
- } else {
- res = FALSE;
- }
+ default:
+ res = gst_pad_query_default (pad, parent, query);
break;
- }
}
-
return res;
}
}
break;
}
- default:{
- GstPad *peer = gst_pad_get_peer (self->sinkpad);
-
- if (peer) {
- res = gst_pad_query (peer, query);
- gst_object_unref (peer);
- } else {
- res = FALSE;
- }
+ default:
+ res = gst_pad_query_default (pad, parent, query);
break;
- }
}
return res;