Chinaunix
标题:
MPlayer源码求教
[打印本页]
作者:
jw8957
时间:
2012-09-04 14:58
标题:
MPlayer源码求教
最近在做个项目,是基于mplayer进行二次开发。
正在阅读源码,读到osd层显示字幕的阶段,即./sub/sub.c文件。这几天读这个文件一直停滞不前,对各函数间的关系感觉很绕,不知版上是否有做过相关开发的有相关经验,能给出个mplayer显示字幕的大体流程,或者推荐相关文章可以看看。
另,在mplayer.c 文件中,为什么关于 显示osd层的函数被注释了呢(如下)我阅读的源码是MPlayer 1.1 released
// current_module="draw_osd";
// if(vo_config_count) mpctx->video_out->draw_osd();
current_module = "vo_check_events";
if (vo_config_count)
mpctx->video_out->check_events();
复制代码
望指教,多谢!
作者:
justmao945
时间:
2012-09-04 22:54
ymlz。。。mplayer代码量不少吧。。。。看着头疼
作者:
jw8957
时间:
2012-09-05 09:00
回复
2#
justmao945
我菜鸟一个,看着也头疼
作者:
justmao945
时间:
2012-09-05 09:27
回复
3#
jw8957
lz去邮件列表问问吧,那比较专业
作者:
jw8957
时间:
2012-09-05 13:27
恩,上午刚添了邮件列表
justmao945 发表于 2012-09-05 09:27
回复 3# jw8957
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2