I wrote a access-demux module for DASH (yes I know there is already DASH implementation available) and I would like to print the actual Bitrate (measured by DASH client) directly on the screen from my access_demuxer.
My idea was to use marquee (marq.c) but I am not sure how to do it.
I tried to get the marquee in the open function and it seems to work
Code: Select all
someClass->p_text = (filter_t*)vlc_object_create( VLC_OBJECT(p_demux), sizeof(filter_t) );
someClass->p_text->fmt_out.video.i_width = someClass->p_text->fmt_out.video.i_visible_width = 1920;
someClass->p_text->fmt_out.video.i_height = someClass->p_text->fmt_out.video.i_visible_height = 1080;
someClass->p_text->p_module = module_need( someClass->p_text, "sub source", "marq", true );
Can anyone help me? Or maybe there is another way to do it?
Thank you very much