[Bug 662775] New: dv1394src: Add support for old kernels

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 26 08:02:16 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=662775
  GStreamer | gst-plugins-good | git

           Summary: dv1394src: Add support for old kernels
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ylatuya at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


The element's internal clock uses raw1394_read_cycle_timer() which is not
available in all kernel versions.
When using the firewire module, the kernel needs to have defined
FW_CDEV_IOC_GET_CYCLE_TIMER (added in kernel 2.6.24) and when using the
ieee1394 module, the kernel version must be >= 2.6.21.

The following patch checks the return value of raw1394_read_cycle_timer() when
setting the handle, and uses a fallback in case this call is not available.
The only difference with the fallback option is that local_time and cycle_timer
are not read at the same time, which shouldn't matter since local_time is not
used at all. I have kept both methods in case it's needed in the future.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list