mm-video: vidc: Fix issues in extradata processing

- For interlaced field pictures the duplicate timestamp needs
to be removed. For interlaced frame pictures only one timestamp
needs to be removed. To handle this properly OMX component needs
to process extradata before handling timestamps.

- Extradata pointer needs to be updated once the data is written.
If not done it will be overwritten by next extradata type.

This change fixes the above two issues.

Change-Id: I9b448ff750febd6f6cf72eab6e71c090489fafc2
CRs-Fixed: 531522
CRs-Fixed: 536625
CRs-Fixed: 547129
1 file changed