[vlc-devel] [PATCH 1/4] mmal: update the code from the one actually used in Raspbian

Rémi Denis-Courmont remi at remlab.net
Sat Jan 18 06:40:04 CET 2020


Le lauantaina 18. tammikuuta 2020, 7.18.54 EET Steve Lhomme a écrit :
> This is a hack to know which display id is used when going in full-screen.'
> It's either HDMI0 or HDMI1 and the display module needs to know that to go
> in the right mode. That corresponds to the Qt variable that can use a
> different display when going in full-screen. I suppose it takes the widget
> with the VLC window and send it to the other screen. But the display module
> isn't told about it. I don't think going full-screen in another screen for
> other windows is currently handled in VLC.

That's completely irrelevant to the fact that the Makefile cannot be correct.

> > On 17 Jan 2020, at 18:19, Rémi Denis-Courmont <remi at remlab.net> wrote:
> > 
> > Le perjantaina 17. tammikuuta 2020, 18.00.55 EET Steve Lhomme a écrit :
> >> From: John Cox <jc at kynesim.co.uk>
> >> 
> >> Tested with basic video playback on a RPI 3B+
> >> 
> >> This is the code from the Raspbian patch ported to the 4.0 architecture.
> >> 
> >> Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
> >> ---
> >> modules/hw/mmal/Makefile.am    |    7 +-
> >> modules/hw/mmal/codec.c        |  784 +++++++++--------
> >> modules/hw/mmal/deinterlace.c  |  803 +++++++++--------
> >> modules/hw/mmal/mmal_picture.c | 1023 +++++++++++++++++++++-
> >> modules/hw/mmal/mmal_picture.h |  123 ++-
> >> modules/hw/mmal/subpic.c       |  229 +++++
> >> modules/hw/mmal/subpic.h       |   52 ++
> >> modules/hw/mmal/vout.c         | 1492 +++++++++++++++++++-------------
> >> 8 files changed, 3148 insertions(+), 1365 deletions(-)
> >> create mode 100644 modules/hw/mmal/subpic.c
> >> create mode 100644 modules/hw/mmal/subpic.h
> >> 
> >> diff --git a/modules/hw/mmal/Makefile.am b/modules/hw/mmal/Makefile.am
> >> index b921f38537d..f6bb51b3ff0 100644
> >> --- a/modules/hw/mmal/Makefile.am
> >> +++ b/modules/hw/mmal/Makefile.am
> >> @@ -4,13 +4,16 @@ mmaldir = $(pluginsdir)/mmal
> >> AM_CFLAGS += $(CFLAGS_mmal)
> >> AM_LDFLAGS += -rpath '$(mmaldir)' $(LDFLAGS_mmal)
> >> 
> >> -libmmal_vout_plugin_la_SOURCES = vout.c mmal_picture.c mmal_picture.h
> >> +libmmal_vout_plugin_la_SOURCES = vout.c subpic.c subpic.h mmal_picture.c
> >> mmal_picture.h libmmal_vout_plugin_la_CFLAGS = $(AM_CFLAGS)
> >> +if ENABLE_QT
> >> +libmmal_vout_plugin_la_CFLAGS += -DHAVE_QT
> >> +endif
> > 
> > This can't be right. HAVE_QT means that Qt is available at build time, but
> > since the plugin is not linking with Qt, the conditional can't have any
> > valid bearing.
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list