GNOME Bugzilla – Bug 398299
[smpte] crashes if fed empty buffers from fakesrc
Last modified: 2007-01-19 13:08:22 UTC
Steps to reproduce: 1. gst-launch videotestsrc ! .sink1 smpte name=s ! ffmpegcolorspace ! xvimagesink fakesrc ! s.sink2 Stack trace: [godfather@cube8linux ~]$ gst-launch videotestsrc ! .sink1 smpte name=s ! ffmpegcolorspace ! xvimagesink fakesrc ! s.sink2 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Segmentation fault Other information:
fakesrc produces 0-sized buffers without caps, which smpte does not like. Should be fixed now: 2007-01-19 Tim-Philipp Müller <tim at centricular dot net> * gst/smpte/gstsmpte.c: (gst_smpte_collected): Some more sanity checks to make sure the input formats match and the input pads are actually negotiated, in case someone tries to feed buffers from fakesrc or filesrc. Fixes #398299. Also const-ify an array, just because we can.