Lines Matching refs:vstream
328 static int flv_set_video_codec(AVFormatContext *s, AVStream *vstream, in flv_set_video_codec() argument
332 AVCodecParameters *par = vstream->codecpar; in flv_set_video_codec()
333 enum AVCodecID old_codec_id = vstream->codecpar->codec_id; in flv_set_video_codec()
365 vstream->need_parsing = AVSTREAM_PARSE_HEADERS; in flv_set_video_codec()
377 if (!vstream->internal->need_context_update && par->codec_id != old_codec_id) { in flv_set_video_codec()
496 AVStream *vstream, const char *key, in amf_parse_object() argument
539 if (amf_parse_object(s, astream, vstream, str_val, max_pos, in amf_parse_object()
559 if (amf_parse_object(s, astream, vstream, str_val, max_pos, in amf_parse_object()
592 vpar = vstream ? vstream->codecpar : NULL; in amf_parse_object()
613 if (vstream) in amf_parse_object()
614 vstream->avg_frame_rate = flv->framerate; in amf_parse_object()
617 int ret = flv_set_video_codec(s, vstream, num_val, 0); in amf_parse_object()
708 AVStream *stream, *astream, *vstream; in flv_read_metabody() local
715 vstream = NULL; in flv_read_metabody()
744 vstream = stream; in flv_read_metabody()
755 if (amf_parse_object(s, astream, vstream, buffer, next_pos, 0) < 0) in flv_read_metabody()