Draw a point in gst plugin

Please provide complete information as applicable to your setup.

Hi, i am using jetson nano with following details-
Deepstream4.0.2
Jetpack4.3
TensorRT-6

I have successfully integrated gstdsexample with objectDetectorYolo project.
Have also drawn lines/rectangles on frame.

Please help me to draw a Point in the frame , as if i follow the “line_params” method like-

NvOSD_LineParams *bird_view_line_params = &display_meta->line_params[0];
bird_view_line_params->x1=x_coordinate;
bird_view_line_params->y1=y_coordinate;
bird_view_line_params->x2=x_coordinate;
bird_view_line_params->y2=y_coordinate;
bird_view_line_params->line_width = 4;
bird_view_line_params->line_color.red = 1.0;
bird_view_line_params->line_color.green = 1.0;
bird_view_line_params->line_color.blue = 1.0;
bird_view_line_params->line_color.alpha = 1.0;
display_meta->num_lines++;

Then there is no point on display…
Please suggest if this method is correct or something else is there.

Also lines drawn are flickering, please suggest for this also.
Thanks

I see you use version 4.0.2, line drawing flicker issue solved in version 5.0, you could update to new version and give a try.
about drawing points, we do not support it now.
but maybe line draw with same coordinates should work.