Lines Matching defs:vst
216 AVStream *vst = NULL, *ast = NULL, *st = 0;
248 vst = avformat_new_stream(s, NULL);
249 if (!vst)
251 vst->id = ch_id;
252 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
253 vst->codecpar->codec_id = ff_codec_get_id(ff_swf_codec_tags, avio_r8(pb));
254 avpriv_set_pts_info(vst, 16, 256, swf->frame_rate);
404 vst = avformat_new_stream(s, NULL);
405 if (!vst) {
409 vst->id = -3; /* -3 to avoid clash with video stream and audio stream */
410 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
411 vst->codecpar->codec_id = AV_CODEC_ID_RAWVIDEO;
412 avpriv_set_pts_info(vst, 64, 256, swf->frame_rate);
413 st = vst;
502 vst = avformat_new_stream(s, NULL);
503 if (!vst)
505 vst->id = -2; /* -2 to avoid clash with video stream and audio stream */
506 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
507 vst->codecpar->codec_id = AV_CODEC_ID_MJPEG;
508 avpriv_set_pts_info(vst, 64, 256, swf->frame_rate);
509 st = vst;