I'm trying to import still images into the timeline, giving them a
default duration of 5 seconds (this is hardcoded now, just for testing).
The attached patch allows me to drag the images into the timeline, but
both playing or rendering the resulting video does not work: I don't get
any error while playing, and when rendering I get these messages in the
(pitivi:7007): GStreamer-CRITICAL **: gst_mini_object_ref: assertion
`GST_IS_MINI_OBJECT (mini_object)' failed
(pitivi:7007): GStreamer-CRITICAL **: gst_pad_push: assertion
`GST_IS_BUFFER (buffer)' failed
and a dialog pops up with this error message (Internal data flow error):
gstbasesrc.c(1816): gst_base_src_loop (): /project-New
streaming task paused, reason error (-5)
I'm a bit stuck, can please someone have a look at the attached patch?
(I'm no gst expert, I might be doing something stupid)