h263parse: ignores width/height on the sink pad and produces wrong size
@adn770
Submitted by Josep Torra Link to original bug (#740072)
Description
Run the following to reproduce the issue:
gst-launch-1.0 playbin uri=http://samples.mplayerhq.hu/V-codecs/h263/100374.mov
In the sink pad video size is 240x180 and in the src pad is declared 352x288.
The correct size is 240x180 as it's specified in the container.
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstH263Parse:h263parse0.GstPad:sink: caps = "video/x-h263,\ variant=(string)itu,\ width=(int)240,\ height=(int)180,\ framerate=(fraction)12000/1001,\ pixel-aspect-ratio=(fraction)1/1"
Redistribute latency...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdec_h263:avdec_h263-0.GstPad:sink: caps = "video/x-h263,\ variant=(string)itu,\ width=(int)352,\ height=(int)288,\ framerate=(fraction)12000/1001,\ pixel-aspect-ratio=(fraction)1/1,\ parsed=(boolean)true,\ annex-d=(boolean)true,\ annex-e=(boolean)false,\ annex-f=(boolean)false,\ annex-g=(boolean)false,\ annex-i=(boolean)false,\ annex-j=(boolean)false,\ annex-k=(boolean)false,\ annex-m=(boolean)false,\ annex-n=(boolean)false,\ annex-q=(boolean)false,\ annex-r=(boolean)false,\ annex-s=(boolean)false,\ annex-t=(boolean)false,\ annex-u=(boolean)false,\ annex-v=(boolean)false,\ profile=(string)1"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstH263Parse:h263parse0.GstPad:src: caps = "video/x-h263,\ variant=(string)itu,\ width=(int)352,\ height=(int)288,\ framerate=(fraction)12000/1001,\ pixel-aspect-ratio=(fraction)1/1,\ parsed=(boolean)true,\ annex-d=(boolean)true,\ annex-e=(boolean)false,\ annex-f=(boolean)false,\ annex-g=(boolean)false,\ annex-i=(boolean)false,\ annex-j=(boolean)false,\ annex-k=(boolean)false,\ annex-m=(boolean)false,\ annex-n=(boolean)false,\ annex-q=(boolean)false,\ annex-r=(boolean)false,\ annex-s=(boolean)false,\ annex-t=(boolean)false,\ annex-u=(boolean)false,\ annex-v=(boolean)false,\ profile=(string)1"