shaka-packager/packager/media
Kongqun Yang 3a5fdd2d9c Fix incorrect width/height in VisualSampleEntry for mp2t stream with cropping
Cropping is necessary if width/height are not exactly disivible by 16 due
to 16x16 macroblock size.

The width and height fields in VisualSampleEntry must correctly document
the cropped frame dimentions (visual presentation size) of the AVC stream
that is described by that entry.

Also fixes width/height in input mp4 and wvm streams if the values in
VisualSampleEntry / metadata do not match with the values in
AVCDecoderConfigurationRecord (SPS).

Issue: 39

Change-Id: Id55c5acf245bee3f4e66302b2042eb7d9c488c19
2015-09-18 17:42:52 +00:00
..
base Fix incorrect width/height in VisualSampleEntry for mp2t stream with cropping 2015-09-18 17:42:52 +00:00
event Live profile MPD did not have ContentProtection 2015-09-16 15:50:00 -07:00
file Move SAR extraction out of video_stream_info.cc 2015-08-24 23:16:49 +00:00
filters Fix incorrect width/height in VisualSampleEntry for mp2t stream with cropping 2015-09-18 17:42:52 +00:00
formats Fix incorrect width/height in VisualSampleEntry for mp2t stream with cropping 2015-09-18 17:42:52 +00:00
test Generate tkhd and pasp boxes properly with non-square pixels 2015-08-07 21:46:08 +00:00