rockcarry / fanplayer

A portable video player based on ffmpeg for windows and android platform.
GNU Lesser General Public License v3.0
606 stars 161 forks source link

添加自动循环播放的功能测试循环播放HEVC 4K视频会报错的问题 #67

Open liquanguo opened 1 year ago

liquanguo commented 1 year ago

使用testPlayer循环播放HEVC 4K视频会报错

liquanguo commented 1 year ago

嗯嗯,我都是随便改了一下用来测试找问题的。

------------------ 原始邮件 ------------------ 发件人: "rockcarry/fanplayer" @.>; 发送时间: 2022年10月28日(星期五) 中午11:23 @.>; @.**@.>; 主题: Re: [rockcarry/fanplayer] 添加自动循环播放的功能测试循环播放HEVC 4K视频会报错的问题 (PR #67)

@rockcarry commented on this pull request.

In player-windows/testplayer/playerDlg.cpp: > @@ -131,6 +131,8 @@ CplayerDlg::CplayerDlg(CWnd pParent /=NULL*/) m_bYoloDetect = FALSE; m_bMouseSelFlag = FALSE; m_nCurMouseBtns = 0; + + memset(m_strUrl, '\0', MAX_PATH);
建议修改为 strcpy(m_strUrl, ""); 设置为空字符串,这样含义更加明确。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

rockcarry commented 1 year ago

命令行参数可以按照这个规范修改: testplayer url --loop-play=n n 为 -1 为永久循环, n > 0 为循环次数

liquanguo commented 1 year ago

命令行参数可以按照这个规范修改: testplayer url --loop-play=n n 为 -1 为永久循环, n > 0 为循环次数

好,能先复现一下问题吗,那个测试的视频在百度云盘那里,连接我发在issue那里了,谢谢