GNOME Bugzilla – Bug 676022
0.10: Problems to decode JPEG images
Last modified: 2012-06-07 15:56:00 UTC
Created attachment 213992 [details] Sample image 0.10 branch @ a784306f72d7a9ec798fdc1e38e9860ec6f863bc Trying to decode the attached JPEG with playbin2: ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstJpegDec:jpegdec0: Failed to decode JPEG image Additional debug info: gstjpegdec.c(1335): gst_jpeg_dec_handle_frame (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstJpegDec:jpegdec0: Decode error #55: Not a JPEG file: starts with 0xff 0xec
Looks like a regression introduced by the port to GstVideoDecoder.
Some of the issues have been fixed now, but some still remain. Needs more testing. e.g. junk(?) after EOI leads to an error being thrown, while it should just be ignored/skipped until an SOI marker is found again.
The regressions I mentioned before have been fixed now with Edward's latest patches. There's still an issue with jpeg-in-multipart though: the file from bug #616346 plays fine in playbin2 with the last release (well, shows some picture, there's no timing info of course), but not with git.
Fixes in 0.10 also need to be forward-ported to master.
Created attachment 215855 [details] [review] videodecoder: do not do timestamp arithmetic from an invalid timestamp This fixes untimestampped buffers from being rejected by the segment clipper.
This fixes playback of the file in bug #616346. Current git also checked to display the flower image with edward's patches, so closing.