Skip to content
  • Wim Taymans's avatar
    gst/smpte/: constify some static structs. · 168db53b
    Wim Taymans authored
    Original commit message from CVS:
    * gst/smpte/barboxwipes.c: (gst_wipe_boxes_draw),
    (gst_wipe_triangles_clock_draw), (gst_wipe_triangles_draw):
    * gst/smpte/gstmask.c: (_gst_mask_register):
    * gst/smpte/gstmask.h:
    * gst/smpte/gstsmpte.c: (gst_smpte_update_mask):
    * gst/smpte/paint.c: (gst_smpte_paint_hbox), (draw_bresenham_line),
    (gst_smpte_paint_triangle_clock):
    constify some static structs.
    Don't update the mask if nothing changed to the params.
    Make sure we never draw outside of the picture. Fixes #398325.
    168db53b