We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edfca47 commit dce3a2fCopy full SHA for dce3a2f
ijkmedia/ijkplayer/ff_ffplay.c
@@ -3246,6 +3246,9 @@ static int read_thread(void *arg)
3246
/* open the streams */
3247
if (st_index[AVMEDIA_TYPE_AUDIO] >= 0) {
3248
stream_component_open(ffp, st_index[AVMEDIA_TYPE_AUDIO]);
3249
+ } else {
3250
+ ffp->av_sync_type = AV_SYNC_VIDEO_MASTER;
3251
+ is->av_sync_type = ffp->av_sync_type;
3252
}
3253
3254
ret = -1;
0 commit comments