add shmdatawriter caps callback