examples: only announce SPA_DATA_MemPtr

This commit is contained in:
columbarius 2020-12-07 15:08:32 +01:00 committed by Wim Taymans
parent f1ad7e2486
commit e871b761fe
2 changed files with 2 additions and 2 deletions

View file

@ -244,7 +244,7 @@ on_stream_param_changed(void *_data, uint32_t id, const struct spa_pod *param)
SPA_PARAM_BUFFERS_size, SPA_POD_Int(data->stride * data->size.height),
SPA_PARAM_BUFFERS_stride, SPA_POD_Int(data->stride),
SPA_PARAM_BUFFERS_align, SPA_POD_Int(16),
SPA_PARAM_BUFFERS_dataType, SPA_POD_CHOICE_FLAGS_Int((1<<SPA_DATA_MemFd) | (1<<SPA_DATA_MemPtr)));
SPA_PARAM_BUFFERS_dataType, SPA_POD_CHOICE_FLAGS_Int((1<<SPA_DATA_MemPtr)));
/* we are done */
pw_stream_update_params(stream, params, 1);