Commit 3166a6fc authored by Marton Balint's avatar Marton Balint

ffplay: if there is no audio stream, use external clock by default

Otherwise playing the video could be much slower than realtime if the system
can't decode or display the frames fast enough.
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent d30c6925
......@@ -1076,7 +1076,7 @@ static int get_master_sync_type(VideoState *is) {
if (is->audio_st)
return AV_SYNC_AUDIO_MASTER;
else
return AV_SYNC_VIDEO_MASTER;
return AV_SYNC_EXTERNAL_CLOCK;
} else {
return AV_SYNC_EXTERNAL_CLOCK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment