add push src and flow combiner

This commit is contained in:
Avi Zimmerman
2021-01-09 08:53:34 +02:00
parent c838f1486a
commit 9dc10b2bb8
12 changed files with 616 additions and 50 deletions

View File

@@ -65,7 +65,7 @@ func padProbes(mainLoop *gst.MainLoop) error {
// We know what format the data in the memory region has, since we requested
// it by setting the fakesink's caps. So what we do here is interpret the
// memory region we mapped as an array of signed 16 bit integers.
samples := mapInfo.AsInt16Slice()
samples := mapInfo.AsInt16LESlice()
if len(samples) == 0 {
return gst.PadProbeOK
}