libmix:  mix_video - Fix green artifacts in CNN videos

BZ: 9679

Flash video streamed from CNN site can have errors in the bitstream,
missing reference frames, etc, causing green artifacts in the decoded video.

This fix will skip video frames for which reference frames are not available
displaying only frames decoded correctly and increasing robustness.  Change
to mix_video to track reference IDR frames.

Consequences are that black video will be displayed until a correct video
bitstream is received from the server.

Change-Id: I4a2cd044c9e30a324c2e987d91df9f14e873f8a8
Signed-off-by: Linda Cline <linda.s.cline@intel.com>
Reviewed-on: http://android.intel.com:8080/20167
Reviewed-by: Chen, Weian <weian.chen@intel.com>
Tested-by: Sun, Hang L <hang.l.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
3 files changed