h264parser: Parse the cropping-rectangle separately.
@sree
Submitted by Sreerenj Balachandran Link to original bug (#694068)
Description
Created attachment 236561
h264parser: Parse the cropping-rectangle separately.
The h264parser should parse the cropping rectangle separately. Because we have to pass the cropping rectangle to the renderer instead of using the cropped-values for decoding.Which means the width and height of SPS header will be un-cropped dimensions.
example case: many of the 1920x1088 samples of h264 have 8 padding lines to make the height as a multiple of 16. The actual picture dimension will be 1920x1080.
Patch 236561, "h264parser: Parse the cropping-rectangle separately.":
0001-h264parser-Parse-the-cropping-rectangle-separately.patch