va: Fix a HEVC GPU hang issue because of LastSliceOfPic flag.
We do really need to set this flag for the last slice, or the GPU may wait for more data and we get a GPU hang when we call vaEndPicture().
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
We do really need to set this flag for the last slice, or the GPU may wait for more data and we get a GPU hang when we call vaEndPicture().