libmix:  mix_vbp - 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_vbp to return NAL unit type so that reference IDR frames can be
tracked in MixVideo.

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

Change-Id: Ie03ef8f7bf3ac96bb4bb683659236ad2b7afbf3f
Signed-off-by: Linda Cline <>
Reviewed-by: Qiu, Junhai <>
Reviewed-by: Chen, Weian <>
Tested-by: Ding, Haitao <>
Reviewed-by: buildbot <>
Tested-by: buildbot <>
2 files changed