video-chroma: implement upsampling methods for vertical cosited chroma
@meh
Submitted by Mathieu Duponchelle Link to original bug (#722742)
Description
gst-launch-1.0 uridecodebin uri=file:///home/meh/Videos/prise031.avi ! videoconvert ! video/x-raw, chroma-site=jpeg ! autovideosink
highlights the problem.
It so happens that upsample->v_resample is NULL, which leads to the SIGSEGV.
My instinct would be to add a check there for upsample->v_resample, as I suppose if it is NULL nothing should be done anyway.
Worthy of note is that with gstreamer 1.2 as shipped in fedora, the SIGSEGV is triggered by chroma-site=dv and jpeg is fine whereas with master dv is fine and jpeg SIGSEGVs.
Have a nice day !