[Bug 738984] basetextoverlay: segfault for min/max values of element properties

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Oct 23 02:20:19 PDT 2014


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

Vineeth <vineeth.tm> changed:

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

--- Comment #3 from Vineeth <vineeth.tm at samsung.com> 2014-10-23 09:20:17 UTC ---
Created an attachment (id=289190)
 View: https://bugzilla.gnome.org/attachment.cgi?id=289190
 Review: https://bugzilla.gnome.org/review?bug=738984&attachment=289190

basetextoverlay segfault fix

Splitting the patch into two

i have been testing with below two test cases.. 
gst-launch-1.0 filesrc location=../wonder.mp4 ! decodebin ! videoconvert !
textoverlay deltay=-2147483648 text=text ! videoconvert ! ximagesink

gst-launch-1.0 filesrc location=../wonder.mp4 ! decodebin ! videoconvert !
textoverlay deltax=-2147483648
text=adasldjalskdjlsakjdklasjdlkjsalkdjslakdjklasjdlkasjdlkasjdklasjdkljaskldjaslkjdlkasjdlkasjdklasjdkasjdlkasjdlkajskdljaslkdjalksjdlkasjdlkasjdlkasjdlksajdlkjaskdljaskldjlaksjdlksajdalksjdaslkjdklasjdlkasjdlksajdmake
! videoconvert ! ximagesink


in video-blend.c
I am just reverting the changes done in last submission.
x position is calculated in basetextoverlay, such that when x crosses the dest
width, it is reset to 0..

This should be taken care by all elements which uses video-blend.
This is similar to how src width can never be greater than dest width, which
should again be taken care by all elements using video-blend

PS:IRC is not accesible in office due to proxy issues :(. Else it would be
easier to explain..

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