Lines Matching refs:stream_type
767 int stream_type=-1;
809 stream_type = FLV_STREAM_TYPE_AUDIO;
813 stream_type = FLV_STREAM_TYPE_VIDEO;
819 stream_type=FLV_STREAM_TYPE_DATA;
843 if (stream_type == FLV_STREAM_TYPE_AUDIO) {
847 } else if (stream_type == FLV_STREAM_TYPE_VIDEO) {
851 } else if (stream_type == FLV_STREAM_TYPE_DATA) {
859 st = create_stream(s, stream_types[stream_type]);
864 av_dlog(s, "%d %X %d \n", stream_type, flags, st->discard);
865 if ( (st->discard >= AVDISCARD_NONKEY && !((flags & FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_KEY || (stream_type == FLV_STREAM_TYPE_AUDIO)))
866 ||(st->discard >= AVDISCARD_BIDIR && ((flags & FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_DISP_INTER && (stream_type == FLV_STREAM_TYPE_VIDEO)))
872 if ((flags & FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_KEY || stream_type == FLV_STREAM_TYPE_AUDIO)
902 if (stream_type == FLV_STREAM_TYPE_AUDIO) {
930 } else if (stream_type == FLV_STREAM_TYPE_VIDEO) {
958 if ((ret = flv_queue_extradata(flv, s->pb, stream_type, size)) < 0)
1004 if (flv->new_extradata[stream_type]) {
1006 flv->new_extradata_size[stream_type]);
1008 memcpy(side, flv->new_extradata[stream_type],
1009 flv->new_extradata_size[stream_type]);
1010 av_freep(&flv->new_extradata[stream_type]);
1011 flv->new_extradata_size[stream_type] = 0;
1014 if (stream_type == FLV_STREAM_TYPE_AUDIO &&
1022 if ( stream_type == FLV_STREAM_TYPE_AUDIO ||
1024 stream_type == FLV_STREAM_TYPE_DATA)