id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 4870,Incorrect Aspect Ratio,greg,Isaac Richards,"When first starting playback of the test.avi video referenced in #4567 we incorrectly set the aspect ratio to 2. Later(even just 1 second later) if we for example seek back to the start of the video it is corrected, as well after a few seconds of playback we eventually get the right aspect and correct accordingly. From what I can see when we first call AvFormatDecoder::InitVideoCodec() enc->sample_aspect_ratio has no value and we end up defaulting to just a single width/height for the aspect. But after a few frames have been decoded or, the next time AvFormatDecoder::H264PreProcessPkt gets called the sample_aspect_ratio is set so we can then properly calculate the aspect. I've tested this with other players and they don't seem to have the same problem. ",defect,closed,minor,0.22,Video Playback,head,medium,fixed,,,0