gst/subparse/gstsubparse.c: Some .srt files start with chunk number 0 and not chunk...
authorRobin Stocker <robin.stocker@gmx.ch>
Sat, 8 Dec 2007 18:38:39 +0000 (18:38 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 8 Dec 2007 18:38:39 +0000 (18:38 +0000)
commit7bbbf15ad829b27ef81f595bbab3449aaf42667c
tree4ddf45748cddf137d6c9a654181950feed08d843
parent356971158c393bdfa448faea239c662bad735d9f
gst/subparse/gstsubparse.c: Some .srt files start with chunk number 0 and not chunk number 1, recognise and accept th...

Original commit message from CVS:
Patch by: Robin Stocker <robin dot stocker at gmx dot ch>
* gst/subparse/gstsubparse.c: (gst_sub_parse_data_format_autodetect):
Some .srt files start with chunk number 0 and not chunk number 1,
recognise and accept those as well (fixes #502497).
* tests/check/elements/subparse.c: (srt_input), (srt_input0),
(test_src):
Add unit test for the above.
ChangeLog
gst/subparse/gstsubparse.c
tests/check/elements/subparse.c