subparse: Allow newlines/whitespace at the beginning of subrip files
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 24 Apr 2012 08:13:08 +0000 (10:13 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 24 Apr 2012 08:16:45 +0000 (10:16 +0200)
commitecb715682271f9e93b751e891f7288357af1a106
tree1269f276e2b929d726afe3a61a88dcec6bb90e71
parent04a261044467d13eb077ccf2f27aeb4a619cb0b6
subparse: Allow newlines/whitespace at the beginning of subrip files

For example the Sintel subtitles have this and without this change
they're detected as text/plain and not usable as subtitles. The
parser itself already handles this just fine.
gst/subparse/gstsubparse.c