jpegdec: fix bogus warning about discont flag on first buffer
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 13 Oct 2009 00:02:15 +0000 (01:02 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 13 Oct 2009 00:10:59 +0000 (01:10 +0100)
commit87bd79f4babba5101d92e23f9c48374a43a712ee
treed57b631f7e0026b7861f129a44b55aa82aea0948
parent6ae6af9dab9f3f863485ce327c78aea4b447bf66
jpegdec: fix bogus warning about discont flag on first buffer

The very first buffer should always have the DISCONT flag set, no
need to warn about that. Only warn if we get a DISCONT buffer in
non-packetised mode and we already have some data.
ext/jpeg/gstjpegdec.c