[gstreamer-bugs] [Bug 638897] New: [patch] textrender: allow setting the canvas size using peer caps + bugfixes

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 7 02:38:57 PST 2011


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

           Summary: [patch] textrender: allow setting the canvas size
                    using peer caps + bugfixes
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.30
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: makovick at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Hi,

currently, pango textrender plugin uses a fixed canvas size of 720x576. The
attached patch adds a query for peer caps to allow specifying the size using a
capsfilter. When the peer capabilities are not limited, it falls back to the
original behavior.

eg.

gst-launch -v filesrc location=title.srt ! subparse ! textrender
font-desc="Sans 30" ! video/x-raw-yuv,width=1920,height=1050 ! fakesink

The patch also adds two bug fixes:

1) array bounds checks in image_to_argb and image_to_ayuv

2) removal of double gst_caps_unref() when gst_pad_set_caps() fails

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