gst/typefind/gsttypefindfunctions.c: Consolidate and re-work our mpeg system stream...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 11 May 2007 17:33:43 +0000 (17:33 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 11 May 2007 17:33:43 +0000 (17:33 +0000)
commit1e2c32779299d99d8cff724614fc841acdb5b86b
treea86ffe536a0d5e09bd876bc45df8932663e96bcf
parent56f01bc0cb3cf8d5b41508dee2302d1f13749413
gst/typefind/gsttypefindfunctions.c: Consolidate and re-work our mpeg system stream detection to probe more packets a...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mpeg_sys_is_valid_pack),
(mpeg_sys_is_valid_pes), (mpeg_sys_is_valid_sys),
(mpeg_sys_type_find), (mpeg_ts_type_find), (mpeg4_video_type_find),
(mpeg_video_type_find), (mpeg_video_stream_type_find),
(plugin_init):
Consolidate and re-work our mpeg system stream detection to probe
more packets and produce a higher confidence result. Fixes a
regression caused by lowering the typefind probability last year
- related to bug #397810. Remove the redundant MPEG-1 specific
typefind function, as the new one detects both MPEG-1 & MPEG-2
happily.
Also cleanup the MPEG elementary and MPEG-TS detection functions a
little.
Tested against my media test directory, with some improvements and
no regressions.
ChangeLog
common
gst/typefind/gsttypefindfunctions.c