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 343117 - jpegdec, mjpeg avi's and flush seeks
jpegdec, mjpeg avi's and flush seeks
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.3
Other Linux
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-27 15:44 UTC by Michael Dominic K.
Modified: 2006-05-30 08:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Dominic K. 2006-05-27 15:44:01 UTC
When flush-seeking an MJPEG avi file right after preroll, I get:

ERROR: Failed to decode JPEG image (gstjpegdec.c(929): gst_jpeg_dec_chain (): /pipeline0/gdvdecodebin0/decodebin1/jpegdec1:
Error #20: Improper call to JPEG library in state %d)

I do the flush-seek when the first decompressed buffer hits a blocked pad.
Comment 1 Tim-Philipp Müller 2006-05-29 23:24:46 UTC
Hasn't this been resolved by Edward's recent commit?

 2006-05-27  Edward Hervey  <edward@fluendo.com>

        * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init),
        (gst_jpeg_dec_sink_event):
        Abort decompression when receiving FLUSH_STOP. This should avoid
        issues when interrupting decoding with flushes.

Comment 2 Michael Dominic K. 2006-05-29 23:29:17 UTC
Yes, it was. 
Comment 3 Edward Hervey 2006-05-30 08:07:36 UTC
therefore I guess it's time to close it :)