[Bug 750865] gst-libav crash

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 15 01:18:20 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=750865

--- Comment #3 from Nicola <lists at svrinformatica.it> ---
(In reply to Sebastian Dröge (slomo) from comment #2)
> Comment on attachment 305160 [details] [review]
> tentative patch
> 
> This should arguably error out completely instead of just doing nothing.
> 

vlc,mplayer,avplay does not error out and play the whole file

> 
> Also linesize is an array and contains the stride for each plane, not just a
> plain integer. So you probably want to compare
> GST_VIDEO_FRAME_PLACE_STRIDE(frame, X) and outpic->linesize[X] for all planes
> 
> 
> Any idea why it gives us wrong values here? Do you have a way to reproduce
> it, does it only happen with that single file, which codec and other
> properties does it have?

probably because there is a resolution change, for few frames
GST_VIDEO_INFO_WIDTH (info) and GST_VIDEO_INFO_HEIGHT (info) report the old
resolution while ffmpegdec->picture->width and ffmpegdec->picture->height have
the right values, can we use these values at least if we are sending wrong
parameters to av_picture_copy?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list