mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
typefinding: stop jpeg typefinding once we found a SOF marker
This commit is contained in:
parent
3c39d99847
commit
d4269515fa
1 changed files with 1 additions and 0 deletions
|
@ -2673,6 +2673,7 @@ jpeg_type_find (GstTypeFind * tf, gpointer unused)
|
|||
|
||||
gst_caps_set_simple (caps, "width", G_TYPE_INT, w,
|
||||
"height", G_TYPE_INT, h, NULL);
|
||||
break;
|
||||
} else {
|
||||
GST_WARNING ("bad length or unexpected JPEG marker 0xff 0x%02x", marker);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue