Lines Matching refs:audio_st
435 AVStream *audio_st, *video_st;
477 audio_st = NULL;
482 audio_st = add_audio_stream(oc, fmt->audio_codec);
498 if (audio_st)
499 open_audio(oc, audio_st);
514 if (audio_st)
515 audio_pts = (double)audio_st->pts.val * audio_st->time_base.num / audio_st->time_base.den;
524 if ((!audio_st || audio_pts >= STREAM_DURATION) &&
529 if (!video_st || (video_st && audio_st && audio_pts < video_pts)) {
530 write_audio_frame(oc, audio_st);
545 if (audio_st)
546 close_audio(oc, audio_st);