GNOME Bugzilla – Bug 340501
[filesrc] give primary rank
Last modified: 2006-05-26 13:52:43 UTC
filesrc should have primary rank (as it did in gst 0.8) so gst_element_make_from_uri() uses it instead of gnomevfssrc for file:// URIs.
YES! +1 from me. The reason this hasn't happened yet is (IIRC) that no one has really tested the non-mmap paths of filesrc properly (like with mounted NFS drives or the like). I wonder if we have a test program somewhere that hammers filesrc a bit and checks random access mode and push-mode etc.
* plugins/elements/gstelements.c: * plugins/elements/gstfilesrc.c: (gst_file_src_class_init), (gst_file_src_init), (gst_file_src_set_property), (gst_file_src_get_property), (gst_file_src_start): * plugins/elements/gstfilesrc.h: Add a use-mmap property to enable easier testing of all code paths. Bump rank to PRIMARY, so filesrc is the preferred file reader and used in the absence of gnomevfssrc. (Closes #340501)