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) { if (!jfif_found) {
GST_INFO ("no jfif found"); GST_INFO ("no jfif found, will insert it as needed");
ret = META_PARSING_ERROR;
goto done;
} }
new_chunk_offset = 2; new_chunk_offset = 2;