After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 340501 - [filesrc] give primary rank
[filesrc] give primary rank
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal minor
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-03 09:46 UTC by Jonathan Matthew
Modified: 2006-05-26 13:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonathan Matthew 2006-05-03 09:46:16 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.
Comment 1 Tim-Philipp Müller 2006-05-03 10:02:57 UTC
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.


Comment 2 Jan Schmidt 2006-05-26 13:52:43 UTC
        * 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)