io: Add current video frame size to position

Add some padding, tweak some padding
Remove count in the clock, it's useless
For video frames we will want to use metadata to place
this on individual buffers.
This commit is contained in:
Wim Taymans 2019-10-29 14:08:40 +01:00
parent 140203d5a3
commit d94019ccd2
6 changed files with 23 additions and 15 deletions

View file

@ -1186,7 +1186,6 @@ static int mmap_read(struct impl *this)
this->clock->rate = port->rate;
this->clock->position = buf.sequence;
this->clock->duration = 1;
this->clock->count = buf.sequence;
this->clock->delay = 0;
this->clock->rate_diff = 1.0;
this->clock->next_nsec = pts + 1000000000LL / port->rate.denom;