plugins/elements/gstfilesink.*: Check if we can seek in the file instead of assuming...
authorWim Taymans <wim.taymans@gmail.com>
Fri, 16 Jun 2006 16:28:37 +0000 (16:28 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 16 Jun 2006 16:28:37 +0000 (16:28 +0000)
commit766bc10bc2bcd5c91d953693d0f49ba89472994b
tree42eee19c12f2a7025ad54185f2e95fbe33c09859
parent17132b00f6c7e16888e8961d323eb780330e22fa
plugins/elements/gstfilesink.*: Check if we can seek in the file instead of assuming we always can. Post an error whe...

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
(gst_file_sink_close_file), (gst_file_sink_do_seek),
(gst_file_sink_event), (gst_file_sink_render):
* plugins/elements/gstfilesink.h:
Check if we can seek in the file instead of assuming
we always can. Post an error when we are asked to seek in a
non-seekable file (like a fifo). Fixes #343312.
Some cleanups.
ChangeLog
plugins/elements/gstfilesink.c
plugins/elements/gstfilesink.h