Previously filesrc would segfault when fed with the name of a directory.
authorMartin Enlund <martin@enlund.net>
Tue, 15 Jan 2002 22:33:15 +0000 (22:33 +0000)
committerMartin Enlund <martin@enlund.net>
Tue, 15 Jan 2002 22:33:15 +0000 (22:33 +0000)
commit7b1d5c7abdc1d200bb72636c0b57d6445e715270
tree8aa0bf55365dd4d1a8bd05d66e2480c3b34a7ac9
parentf1e89caecd94e9c66f8283d817cc298d836b239f
Previously filesrc would segfault when fed with the name of a directory.

Original commit message from CVS:
Previously filesrc would segfault when fed with the name of a directory.
Added check to ensure that the given file is a regular file.
gst/elements/gstfilesrc.c
plugins/elements/gstfilesrc.c