store frames directly from appsink (fixes sync)

This commit is contained in:
jazzfool 2020-08-23 15:55:00 +10:00
parent 153a84d85c
commit 828fde9976
3 changed files with 14 additions and 29 deletions

View file

@ -10,9 +10,8 @@ iced_native = "0.2"
gstreamer = "0.16"
gstreamer-app = "0.16" # appsink
glib = "0.10" # gobject traits and error type
tokio = { version = "0.2", features = ["time", "stream"] }# time subscription (every frame)
tokio = { version = "0.2", features = ["time", "stream"] }# time subscription (every frame)
thiserror = "1"
crossbeam-channel = "0.4"
url = "2" # media uri
num-rational = "0.3" # framerates come in rationals
num-traits = "0.2" # convert rationals to floats (ToPrimitive)