Lines Matching defs:stream
272 "Match slave stream #%d with stream #%d id 0x%x\n",
450 [DIR_STREAM ] = { "stream", "", 0 },
465 AVStream *stream = NULL;
501 av_log(avf, AV_LOG_ERROR, "Line %d: %s without stream\n", line, keyword);
593 stream = avformat_new_stream(avf, NULL);
594 if (!stream)
599 stream->id = arg_int[0];
602 ret = av_dict_set(&stream->metadata, arg_kw[0], arg_str[1], AV_DICT_DONT_STRDUP_VAL);
614 stream->codecpar->codec_type = codec->type;
615 stream->codecpar->codec_id = codec->id;
621 ret = ff_alloc_extradata(stream->codecpar, size);
624 ff_hex_to_data(stream->codecpar->extradata, arg_kw[0]);
783 av_log(avf, AV_LOG_DEBUG, "file:%d stream:%d pts:%s pts_time:%s dts:%s dts_time:%s",
822 static int try_seek(AVFormatContext *avf, int stream,
831 if (stream >= 0) {
832 if (stream >= cat->avf->nb_streams)
834 ff_rescale_interval(AV_TIME_BASE_Q, cat->avf->streams[stream]->time_base,
837 return avformat_seek_file(cat->avf, stream, min_ts, ts, max_ts, flags);
840 static int real_seek(AVFormatContext *avf, int stream,
846 if (stream >= 0) {
847 if (stream >= avf->nb_streams)
849 ff_rescale_interval(avf->streams[stream]->time_base, AV_TIME_BASE_Q,
877 ret = try_seek(avf, stream, min_ts, ts, max_ts, flags);
885 ret = try_seek(avf, stream, min_ts, ts, max_ts, flags);
890 static int concat_seek(AVFormatContext *avf, int stream,
901 if ((ret = real_seek(avf, stream, min_ts, ts, max_ts, flags, cur_avf_saved)) < 0) {