Searched refs:sub_ctx (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | avidec.c | 61 AVFormatContext *sub_ctx; member 1136 if (!(ast->sub_ctx = avformat_alloc_context())) in read_gab2_sub() 1139 ast->sub_ctx->pb = pb; in read_gab2_sub() 1141 if (ff_copy_whiteblacklists(ast->sub_ctx, s) < 0) in read_gab2_sub() 1144 if (!avformat_open_input(&ast->sub_ctx, "", sub_demuxer, NULL)) { in read_gab2_sub() 1145 if (ast->sub_ctx->nb_streams != 1) in read_gab2_sub() 1147 ff_read_packet(ast->sub_ctx, ast->sub_pkt); in read_gab2_sub() 1148 avcodec_parameters_copy(st->codecpar, ast->sub_ctx->streams[0]->codecpar); in read_gab2_sub() 1149 time_base = ast->sub_ctx->streams[0]->time_base; in read_gab2_sub() 1159 av_freep(&ast->sub_ctx); in read_gab2_sub() [all …]
|
D | mpeg.c | 707 AVFormatContext *sub_ctx; member 726 if (vobsub->sub_ctx) in vobsub_read_close() 727 avformat_close_input(&vobsub->sub_ctx); in vobsub_read_close() 766 vobsub->sub_ctx = avformat_alloc_context(); in vobsub_read_header() 767 if (!vobsub->sub_ctx) { in vobsub_read_header() 773 if ((ret = ff_copy_whiteblacklists(vobsub->sub_ctx, s)) < 0) in vobsub_read_header() 776 ret = avformat_open_input(&vobsub->sub_ctx, vobsub->sub_name, iformat, NULL); in vobsub_read_header() 924 AVIOContext *pb = vobsub->sub_ctx->pb; in vobsub_read_packet() 967 ret = mpegps_read_pes_header(vobsub->sub_ctx, NULL, &startcode, &pts, &dts); in vobsub_read_packet()
|