After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322429 - Filesink seeking problem
Filesink seeking problem
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.9.x
Other Linux
: Normal critical
: 0.9.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-25 12:45 UTC by Michal Benes
Modified: 2005-11-30 12:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michal Benes 2005-11-25 12:45:48 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.
Comment 1 Edward Hervey 2005-11-30 12:24:06 UTC
fixed in current cvs