GNOME Bugzilla – Bug 322429
Filesink seeking problem
Last modified: 2005-11-30 12:24:06 UTC
Launching pipe gst-launch-0.9 videotestsrc ! ffenc_mpeg4 ! matroskamux ! filesink location=a.mkv keeps warning about (gst-launch-0.9:3712): GStreamer-CRITICAL **: gst_segment_set_newsegment: assertion `segment->format == format' failed (note that matroska muxerr is seeking extensively) The same problem can be also seen by running gst-launch-0.9 sinesrc num-buffers=10 ! flacenc ! oggmux ! filesink location=a.ogg (note that flac encoder tries to seek at the end of file) The problem is that basesink initializes basesink->segment in GST_FORMAT_TIME format. However, filesink expects GST_FORMAT_BYTES segments and basesink refuses to change its segment format.
fixed in current cvs