[Bug 784599] kmssink: support videooverlay interface

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 8 02:18:25 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=784599

--- Comment #57 from Haihua Hu <jared.hu at nxp.com> ---
(In reply to Nicolas Dufresne (stormer) from comment #53)
> Actually, the most suspicious (and the delta with before is "sourcing at
> (0,0) 320x264" instead of "sourcing at (0,0) 320x240). All those traces
> looks odd, they seems slightly counter intuitive, so maybe they hide a bug,
> or maybe they are just not what I think they are.

Hi Nicolas,

Sorry for late reply to you, the root cause located in
gst_kms_sink_calculate_display_ratio, the result of this calculation on your
side is 320*264, see below log:

0:00:08.763885491  3486     0x2c77f4a0 DEBUG                kmssink
gstkmssink.c:937:gst_kms_sink_calculate_display_ratio:<kmssink0> video
calculated display ratio: 40/33
0:00:08.763933043  3486     0x2c77f4a0 DEBUG                kmssink
gstkmssink.c:951:gst_kms_sink_calculate_display_ratio:<kmssink0> keeping video
width
0:00:08.763964814  3486     0x2c77f4a0 DEBUG                kmssink
gstkmssink.c:962:gst_kms_sink_calculate_display_ratio:<kmssink0> scaling to
320x264

I think this calculation is not correct. It will respect to this actually
display width and height in millimeter but not pixel size. I don't know why
here should do like this.

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