Lines Matching defs:stream
135 AVStream *stream = NULL;
139 av_log(s, AV_LOG_DEBUG, "keyframe stream hasn't been created\n");
144 stream = s->streams[flv->last_keyframe_stream_index];
146 if (ffstream(stream)->nb_index_entries == 0) {
150 av_add_index_entry(stream, flv->keyframe_filepositions[i],
156 if (stream->codecpar->codec_type == AVMEDIA_TYPE_VIDEO) {
644 // stream info doesn't live any deeper than the first object
754 AVStream *stream, *astream, *vstream;
788 stream = s->streams[i];
789 if (stream->codecpar->codec_type == AVMEDIA_TYPE_VIDEO) {
790 vstream = stream;
792 } else if (stream->codecpar->codec_type == AVMEDIA_TYPE_AUDIO) {
793 astream = stream;
796 } else if (stream->codecpar->codec_type == AVMEDIA_TYPE_SUBTITLE)
797 dstream = stream;
868 static int flv_queue_extradata(FLVContext *flv, AVIOContext *pb, int stream,
874 av_free(flv->new_extradata[stream]);
875 flv->new_extradata[stream] = av_mallocz(size +
877 if (!flv->new_extradata[stream])
879 flv->new_extradata_size[stream] = size;
880 avio_read(pb, flv->new_extradata[stream], size);
1087 avio_skip(s->pb, 3); /* stream id, always 0 */
1177 /* now find stream */