metadata: fix muxing jfifless jpeg. Fixes #574401

Don't error out when to be muxed jpeg has no jfif, as we can easily
add it.
This commit is contained in:
Stefan Kost 2009-03-20 15:14:07 +02:00
parent 80caa6bf70
commit 4b3e2b6e4c

View file

@ -416,11 +416,8 @@ metadatamux_jpeg_reading (JpegMuxData * jpeg_data, guint8 ** buf,
}
}
if (!jfif_found) {
GST_INFO ("no jfif found");
ret = META_PARSING_ERROR;
goto done;
GST_INFO ("no jfif found, will insert it as needed");
}
new_chunk_offset = 2;