[vlc-devel] [PATCH 2/2] linux: Add for kms vout plugin possibility to choose output display

Rémi Denis-Courmont remi at remlab.net
Tue Jan 15 17:18:44 CET 2019


Le tiistaina 15. tammikuuta 2019, 14.24.10 EET Juha-Pekka Heikkila a écrit :
> On 14.1.2019 21.43, Rémi Denis-Courmont wrote:
> > Le maanantaina 14. tammikuuta 2019, 21.09.35 EET Juha-Pekka Heikkilä a 
écrit :
> >> I tried change_integer_cb() but my callback to populate the list was
> >> never called.
> > 
> > With that logic, we'd put the whole CLI help in debug messages just
> > because it is "never shown". Come on.
> 
> What do you mean "never shown"? I wrote the callback gets never called,
> there's no special logic involved in this.

It does get called. Of course, it does.

Breakpoint 1, EnumAdaptors (var=0x7ffff1ebb58a "xvideo-adaptor", 
    vp=0x7fffffffd840, tp=0x7fffffffd880)
    at ../../modules/video_output/xcb/xvideo.c:676
676     {
(gdb) bt
#0  0x00007fffcdfb0e02 in EnumAdaptors
    (var=0x7ffff1ebb58a "xvideo-adaptor", vp=0x7fffffffd840, tp=0x7fffffffd880)
    at ../../modules/video_output/xcb/xvideo.c:676
#1  0x00007ffff63ea593 in config_GetIntChoices
    (name=0x7ffff1ebb58a "xvideo-adaptor", values=0x7fffffffd840, 
texts=0x7fffffffd880) at ../../src/config/core.c:217
#2  0x00007ffff63f8a3b in print_item
    (m=0x60b000022bc0, item=0x616000001960, section=0x7fffffffd9b0, color=true, 
desc=true) at ../../src/config/help.c:429
#3  0x00007ffff63faf92 in Usage (p_this=0x614000000910, psz_search=0x0)
    at ../../src/config/help.c:630
#4  0x00007ffff63f71cd in Help
    (p_this=0x614000000910, psz_help_name=0x7ffff67b12a0 "full-help")
    at ../../src/config/help.c:218
#5  0x00007ffff63f6f61 in config_PrintHelp (obj=0x614000000910)
    at ../../src/config/help.c:127
#6  0x00007ffff63c064e in libvlc_InternalInit
    (p_libvlc=0x614000000910, i_argc=5, ppsz_argv=0x7fffffffdc40)
    at ../../src/libvlc.c:228
#7  0x00007ffff70fe656 in libvlc_new (argc=4, argv=0x7fffffffdda0)
    at ../../lib/core.c:58
#8  0x000055555555a272 in main (argc=2, argv=0x7fffffffe0f8)
    at ../../bin/vlc.c:230

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list