On Fri, Jan 13, 2017 at 8:32 PM, Andy Furniss <adf.li...@gmail.com> wrote:
> Nayan Deshmukh wrote: > >> Hi Andy, >> >> Please test this patch for regressions. >> > > Do you have a testcase to show the fix? > > TBH I've not tested gstreamer with mpeg2 before as vaapi mpeg2 > h/w dec never worked properly anyway. > > https://bugs.freedesktop.org/show_bug.cgi?id=93760 > > With mpv --hwdec=vaapi it doesn't seem to regress anything. > > I was talking about --hwdec=vaapi. Before this patch I was not able to play any mpeg videos with vaapi as mpv --hwdec=vaapi --vo=vaapi always segfaulted. With this patch I can see videos properly. Just wanted to make sure it did not cause any regression when using hardware decoder. > With gstreamer - I can display junk and segfault with or without > the patch. > > This is the first time trying though, and I just don't know whether it's > just me messing up demuxing mpeg container to feed vaapi or whether > it's using vaapi sink (normally I only test x264/mkv/mp4/raw > encode/transcode). > > If you have a working gstreamer commandline to demux mpegps decode and > display > it would be handy :-) > > > More generally - it's really good you are working on vaapi - I don't > know what you've discusses with anyone but did you see the old threads > around VAAPI_DISABLE_INTERLACE? > > I haven't discussed it with anyone but I will try reading the old threads and the bug reports. Regards, Nayan > I was meaning to bring this up via bug/finding replying to old mails. > It was only meant to be a short term fix and as time goes on it's > getting more problematic. > > Soon ffmpeg will enable de-interlacer, which depending on env, may lock > peoples GPUs if they paste some example from the wiki. > > mpv --vo=vaapi is also borked = vmfaults probably related to interlaces > vs progressive buffers (though may be more complicated than that as > hwdec + vo does seem OK) >
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev