summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d4f8956)
raw | patch | inline | side by side (parent: d4f8956)
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | |
Thu, 20 Sep 2012 16:09:43 +0000 (17:09 +0100) | ||
committer | Nikhil Devshatwar <a0132237@ti.com> | |
Wed, 15 May 2013 10:35:42 +0000 (16:05 +0530) |
This avoids mistaking at least one H.264 stream for H.263.
gst/typefind/gsttypefindfunctions.c | patch | blob | history |
index 27823b64bf05333323afca54d8bc916fcb1c2dfc..c8bd86e46a70f9ca40272bdf671b3c3a4a8423df 100644 (file)
data_scan_ctx_advance (tf, &c, 1);
}
- if (good > 0 && bad == 0)
+ if (good > 1 && bad == 0)
gst_type_find_suggest (tf, GST_TYPE_FIND_LIKELY, H263_VIDEO_CAPS);
else if (good > 2 * bad)
gst_type_find_suggest (tf, GST_TYPE_FIND_POSSIBLE, H263_VIDEO_CAPS);