[Bug 740557] videotestsrc: add ball motion based on system clock

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 2 12:39:10 PST 2014


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

carl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #291856|0                           |1
        is obsolete|                            |

--- Comment #22 from carl at personnelware.com 2014-12-02 20:39:04 UTC ---
Created an attachment (id=292023)
 View: https://bugzilla.gnome.org/attachment.cgi?id=292023
 Review: https://bugzilla.gnome.org/review?bug=740557&attachment=292023

videotestsrc patch

Adds 3 properties: animation-mode, motion, flip:


  animation-mode      : For Pattern=Ball, what counter defines the position of
the ball.
                        flags: readable, writable
                        Enum "GstVideoTestSrcAnimationMode" Default: 0,
"frames"
                           (0): frames           - frame count
                           (1): wall-time        - wall clock time
                           (2): running-time (Throws: NOT IMPLEMENTED) -
running time
  motion              : For Pattern=Ball, what the ball does
                        flags: readable, writable
                        Enum "GstVideoTestSrcMotionType" Default: 0, "wavy"
                           (0): wavy             - Ball waves back and forth,
up and down
                           (1): sweep            - 1 revoltion per seccond
                           (2): hsweep           - 1/2 revoltion per seccond,
then reset to top
  flip                : For Pattern=Ball, invert colors every second.
                        flags: readable, writable
                        Boolean. Default: false


Given the amount of chatter around running-time, I left the enum and case in
place to document that it has been thought of but not implemented so don't look
elsewhere for it.  Also if someone wants it they can do the R&D and drop the
few lines into the switch statement.

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