vlc | branch: master | Steve Lhomme <[email protected]> | Sat May 5 10:25:55 2018 +0200| [94f92955ac1493073969f6f41b61ad20411c71fa] | committer: Rémi Denis-Courmont
video_epg: turn the hardcoded duration value into a CLOCK_FREQ based value Signed-off-by: Rémi Denis-Courmont <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=94f92955ac1493073969f6f41b61ad20411c71fa --- src/video_output/video_epg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_output/video_epg.c b/src/video_output/video_epg.c index 834367d007..39a00bf0bd 100644 --- a/src/video_output/video_epg.c +++ b/src/video_output/video_epg.c @@ -646,7 +646,7 @@ int vout_OSDEpg(vout_thread_t *vout, input_item_t *input ) subpic->i_channel = VOUT_SPU_CHANNEL_OSD; subpic->i_start = now; - subpic->i_stop = now + 3000 * INT64_C(1000); + subpic->i_stop = now + CLOCK_FREQ*3; subpic->b_ephemer = true; subpic->b_absolute = false; subpic->b_fade = true; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
