mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/typefind/gsttypefindfunctions.c: The checks here are not even close to anything that would justify MAXIMUM probab...
Original commit message from CVS: * gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find): The checks here are not even close to anything that would justify MAXIMUM probability, lowering to POSSIBLE until someone fixes the checks (case at hand: quicktime redirection files might start with 00 00 01 XX and pass the checks here just fine, see #350399).
This commit is contained in:
parent
24f9cc8c25
commit
7b292da697
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
|
||||||
|
The checks here are not even close to anything that would
|
||||||
|
justify MAXIMUM probability, lowering to POSSIBLE until someone
|
||||||
|
fixes the checks (case at hand: quicktime redirection files
|
||||||
|
might start with 00 00 01 XX and pass the checks here just
|
||||||
|
fine, see #350399).
|
||||||
|
|
||||||
2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
|
2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
Patch by: Sjoerd Simons <sjoerd at luon net>
|
Patch by: Sjoerd Simons <sjoerd at luon net>
|
||||||
|
|
|
@ -1024,7 +1024,7 @@ suggest:
|
||||||
|
|
||||||
gst_structure_set (gst_caps_get_structure (caps, 0), "mpegversion",
|
gst_structure_set (gst_caps_get_structure (caps, 0), "mpegversion",
|
||||||
G_TYPE_INT, mpegversion, NULL);
|
G_TYPE_INT, mpegversion, NULL);
|
||||||
gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, caps);
|
gst_type_find_suggest (tf, GST_TYPE_FIND_POSSIBLE, caps);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue