vaapi H.264 decode intra-refresh doesn't work
Submitted by hol..@..ob.com
Link to original bug (#787261)
Description
If vaapih264dec is used to decode a low-latency stream with intra-refresh all frames are dropped.
Following quick hack works but may break all other things (gstvaapidecoder_h264.c).
.....
priv->decoder_state |= sps_pi->state;
if (!(priv->decoder_state & GST_H264_VIDEO_STATE_GOT_I_FRAME)) {
/* removed don't wait for a valid I-Frame (intra refresh problem)
if (priv->decoder_state & GST_H264_VIDEO_STATE_GOT_P_SLICE)
goto drop_frame;
*/
.....