Skip to content
Snippets Groups Projects
Commit 30c8c3c9 authored by kipp's avatar kipp
Browse files

Enable the caps filter in fakesrc()

parent 5f943cae
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ def fakesrc(pipeline, wave, vol=1e-20):
src.set_property("volume", vol)
pipeline.add(src)
filter = gst.element_factory_make("capsfilter")
#filter.set_property("caps", gst.Caps("audio/x-raw-float, width=64, rate=16384, instrument=L1, channel_name=LSC-STRAIN, units=strain"))
filter.set_property("caps", gst.Caps("audio/x-raw-float, width=64, rate=16384, instrument=L1, channel_name=LSC-STRAIN, units=strain"))
pipeline.add(filter)
src.link(filter)
return filter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment