media: dvb: Fix handling of incomplete TS packets from DVR

When user writes data to DVR which is not aligned to TS packet
size, partial packet is buffered by SW demux until full packet
is received. In that case, for timed TS packets, the timestamp
of the TS packet was not taken properly from the buffered TS
packet which caused reporting wrong values of timestamps
when recording timed transport streams.

Change-Id: I123b8e288ded97abf09a0abf6a0175d7f4147657
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
1 file changed