Menu

Player problem in openSuse 13.2 (fonts problem?)

Help
2015-10-30
2016-11-13
  • Rui Loureiro

    Rui Loureiro - 2015-10-30

    Hi.

    I made a fresh installation with the same behavior I have reported here:
    https://sourceforge.net/p/ingex/discussion/531547/thread/1a1bca83/#20e9

    what fonts needed to be installed to build and run the player?

    Rui.

     
  • Rui Loureiro

    Rui Loureiro - 2015-12-03

    Ok, after do some debugging i think is a memory alocation problem in YUVLib/YUV_text_overlay.c. The functions in this file are returning a "YUV_no_memory" error.

    Rui.

     
  • John Fletcher

    John Fletcher - 2015-12-04

    That error seems to happen when a malloc fails. Do you have any more debug information? Some of the mallocs are like: malloc(ovly->w * ovly->h * 2)
    And that would probably fail if ovly pointer was invalid. Can you check for that?

     
  • Rui Loureiro

    Rui Loureiro - 2015-12-05

    I think this solves the problem:
    For example, in the char_set_to_overlay function inside the for cicle to get bounding box for characters, i use a variable instead of the operation to do the comparation, like this:

            if (bb_t > -slot->bitmap_top)
                bb_t = -slot->bitmap_top;
    
            int sum1 = slot->bitmap.rows - slot->bitmap_top;
            if (bb_b < sum1)
                bb_b = slot->bitmap.rows - slot->bitmap_top;
    
            if (bb_l > slot->bitmap_left)
                bb_l = slot->bitmap_left;
    
            sum1 = slot->bitmap_left + slot->bitmap.width;
            if (bb_r < sum1)
                bb_r = slot->bitmap_left + slot->bitmap.width;
    

    I do the same in the init_timecode and the command "player --balls 10" runs fine in the virtual machine. Probaly is necessary chage other functions, like char_to_overlay. Next week I try with a real machine.

    Strange beavior, from gnu libc 2.19, i think.

     
  • Rui Loureiro

    Rui Loureiro - 2015-12-08

    Tested with openSuse 13.2 and dvs hardware and works fine.

    I think char_to_overlay is not used in the ingex project.

    Rui

     
  • Rui Loureiro

    Rui Loureiro - 2016-11-13
     

    Last edit: Rui Loureiro 2016-11-13

Log in to post a comment.