codecparsers: h264: fix calculation of the frame cropping rectangle.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 8 Jul 2013 16:44:24 +0000 (18:44 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 24 Sep 2013 14:33:18 +0000 (16:33 +0200)
commit0a846a634512245a5aedc2d4906d31969031d91f
treed12ed8ea63523f4661865e749dd7b0ba295f691d
parent8142aefd6059945cab1c0bd2eff49bc0fd48097e
codecparsers: h264: fix calculation of the frame cropping rectangle.

Fix calculation of the frame cropping rectangle, and more precisely
the actual cropped height. The frame_crop_top_offset subtraction
was not scaled up with SubHeightC.

Also clean-up variables to align more with (7-18) to (7-21).

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/codecparsers/gsth264parser.c