codecparsers: h264: fix derivation of default scaling lists.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 26 Apr 2014 06:08:57 +0000 (08:08 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 26 Apr 2014 20:30:13 +0000 (22:30 +0200)
commite01d1717128d51aab1e3c52a79aaeeb2fee96be6
tree3ef1fc370e8e0e50c7d4cd3500468a0fae74b919
parenta36af9b7f179e5994a18104f6fd42894eb5a0d11
codecparsers: h264: fix derivation of default scaling lists.

When useDefaultScalingMatrixFlag is computed to be 1 while parsing
scaling_list(), then the scaling list shall be inferred to be equal
to the default list (7.4.2.1.1.1). That default list is really one
of Default_4x4_{Intra,Inter} or Default_8x8_{Intra,Inter} and not
one from fall-back rule sets A or B.

This fixes parsing for FRExt1_Panasonic_D, FRExt2_Panasonic_C,
FRExt3_Panasonic_E and FRExt4_Panasonic_B.

https://bugzilla.gnome.org/show_bug.cgi?id=724518

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