avdec: Bogus green line at bottom when decoding into I420 using xvimagesink
@thiagossantos
Submitted by Thiago Sousa Santos Link to original bug (#732351)
Description
When playing a video file, sometimes the bottom line of the video shows bogus data. It depends on the resolution being used and it only happens with xvimagesink.
To reproduce:
-
Create a 16x16 h264 file:
gst-launch-1.0 videotestsrc pattern=white num-buffers=1000 ! \
"video/x-raw, format=(string)I420, width=(int)16, height=(int)16, \
framerate=(fraction)1/1" ! x264enc ! qtmux ! filesink location=/tmp/test.mov -
Play this file:
gst-launch-1.0 playbin uri="file:///tmp/test.ogg" video-sink=xvimagesink -
Check the bottom line (This scenario also shows the right column with bogus data
Details I found out so far about this:
If I manually disable direct rendering in libav gstviddec it doesn't happen.
It doesn't happen with 480x320 resolution (and some others).
I'm marking this as being in gst-libav for now but I'm not sure, could be in libav itself and I also saw it happening with theoradec but with different resolutions.