[gstreamer-bugs] [Bug 611986] New: [cairotextoverlay] Out-of-range deltas give SIGSEGV or other funkyness

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Mar 6 21:07:19 PST 2010


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

           Summary: [cairotextoverlay] Out-of-range deltas give SIGSEGV or
                    other funkyness
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.18
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: sjoerd at intercue.nl
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=155403)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=155403)
cairotextoverlay on videotestsrc where the y offset is out of bounds

It seems that the delta parameters of the cairotextoverlay are not clipped to
the frame size. On my OS, with deltax=0 and deltay=0, the text is centered at
the bottom of the window. A small deltay is enough to get the text out of view,
but still generating funkyness. You might need to adjust the deltay to see the
same effect (please refer to the attachment).

gst-launch videotestsrc ! cairotextoverlay text="Hi there" deltay=35 !
ffmpegcolorspace ! ximagesink

In another launchline, this may even lead to illegal memory access (or so I
suppose from the SIGSEGV signals):

gst-launch videotestsrc ! cairotextoverlay deltay=35 text="CAM1" !
video/x-raw-yuv, width=720, height=576 ! jpegenc ! jpegdec ! ffmpegcolorspace !
ximagesink

I hope it is not to difficult to clip the output of cairotextoverlay to a valid
bounding rectangle.

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