GNOME Bugzilla – Bug 348976
[xviddec] crashes after invalid unit size warning
Last modified: 2006-07-28 10:20:27 UTC
I have tested xviddec with the following command : torri@doursse ~ $ gst-launch filesrc location=/mnt/win_d/provi/blood.avi ! avidemux ! xviddec ! ffmpegcolorspace ! ximagesink I get : ** (gst-launch-0.10:11484): WARNING **: Size 563200 is not a multiple of unit size 422400 ERROR: from element /pipeline0/ffmpegcsp0: subclass did not specify output size with ffdec_mpeg4 instead of xviddec, there is no problem When I use my seek test programs (see http://www.iecn.u-nancy.fr/~torri/files/gstreamer_test_seek/), there is a segfault, and the backtrace is : gst_xviddec_setcaps (pad=0x0, caps=0x0) at gstxviddec.c:660 660 if (G_VALUE_TYPE (val) == GST_TYPE_LIST) { (gdb) bt
+ Trace 69705
This fixes it for me: 2006-07-28 Tim-Philipp Müller <tim at centricular dot net> * ext/xvid/gstxvid.c: (gst_xvid_image_fill): Fix size calculation for I420/YV12. Fixes #348976. There's plenty other crack in xviddec/enc to cause problems though ... ;)