[Bug 773473] kmssink: support display mode setting
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Nov 25 17:45:45 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=773473
--- Comment #48 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
(In reply to Michael Tretter from comment #43)
> (In reply to Víctor Manuel Jáquez Leal from comment #42)
> > Review of attachment 339328 [details] [review] [review]:
> >
> > ::: sys/kms/gstkmssink.c
> > @@ +417,3 @@
> > + count_modes = conn->count_modes;
> > + else
> > + count_modes = 1;
> >
> > here seems to be the problem: if we change it to
> >
> > if (conn)
> > count_modes = conn->count_modes;
> >
> > if (count_modes == 0)
> > count_modes = 1;
>
> It sounds like the kms driver does not correctly report the supported modes.
> Without this information, the kmssink does not know the available modes and
> won't be able to set the mode.
>
> I thought that if a connector is found, the connector would always report
> supported modes. If there are connectors which do not report modes, the
> condition should be cheched in gst_kms_sink_start() after
> find_main_monitor() and modesetting should be disabled entirely, falling
> back to using planes.
That is happening, but it also needs to be handle when building the allowed
caps.
I guess I need to merge that modification on attachment 339328
--
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