[gstreamer-bugs] [Bug 600922] New: [Power enhancement]

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 5 21:14:46 PST 2009


https://bugzilla.gnome.org/show_bug.cgi?id=600922
  GStreamer | gstreamer (core) | git

           Summary: [Power enhancement]
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: bin.gao at intel.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


By default, when I play a media file via gstreamer command line (i.e.
gst-launch), and check wakeups-from-idle per second from Powertop, I see 20
wakes from gstreamer. 

To be power friendly, we can enhance it by replaing
g_timeout_add (50, (GSourceFunc) check_intr, pipeline);
with:
g_timeout_add_seconds (1, (GSourceFunc) check_intr, pipeline);
in function "static EventLoopResult event_loop()" of file
gstreamer/tools/gst-launch.c.

The one second checking interval is enough to capture user CTRL+C without
perceivable lag.

This will bring power saving because CPU can reside in deep C state for a
longer time.

-- 
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