fix possible segfault when reading video frames
Height and width contained in Video::Frame structure are now used to
determine the size of a frame instead of the possibly incorrect
Renderer::size() values. This prevent some segfault when hardware
acceleration for decoding is used with certain size of picture.
Change-Id: I22e928eb0b9a0889d0b4ff861bb93dfba16d1bc6
Reviewed-by:
Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
Showing
Please register or sign in to comment