Searched refs:sub_ctx (Results 1 - 2 of 2) sorted by relevance
/third_party/ffmpeg/libavformat/ |
H A D | avidec.c | 64 AVFormatContext *sub_ctx; member 1153 if (!(ast->sub_ctx = avformat_alloc_context())) in read_gab2_sub() 1156 ast->sub_ctx->pb = pb; in read_gab2_sub() 1158 if (ff_copy_whiteblacklists(ast->sub_ctx, s) < 0) in read_gab2_sub() 1161 if (!avformat_open_input(&ast->sub_ctx, "", sub_demuxer, NULL)) { in read_gab2_sub() 1162 if (ast->sub_ctx->nb_streams != 1) in read_gab2_sub() 1164 ff_read_packet(ast->sub_ctx, ast->sub_pkt); in read_gab2_sub() 1165 avcodec_parameters_copy(st->codecpar, ast->sub_ctx->streams[0]->codecpar); in read_gab2_sub() 1166 time_base = ast->sub_ctx->streams[0]->time_base; in read_gab2_sub() 1176 av_freep(&ast->sub_ctx); in read_gab2_sub() [all...] |
H A D | mpeg.c | 712 AVFormatContext *sub_ctx; member 731 avformat_close_input(&vobsub->sub_ctx); in vobsub_read_close() 770 vobsub->sub_ctx = avformat_alloc_context(); in vobsub_read_header() 771 if (!vobsub->sub_ctx) { in vobsub_read_header() 775 if ((ret = ff_copy_whiteblacklists(vobsub->sub_ctx, s)) < 0) in vobsub_read_header() 778 ret = avformat_open_input(&vobsub->sub_ctx, vobsub->sub_name, iformat, NULL); in vobsub_read_header() 926 AVIOContext *pb = vobsub->sub_ctx->pb; in vobsub_read_packet() 969 ret = mpegps_read_pes_header(vobsub->sub_ctx, NULL, &startcode, &pts, &dts); in vobsub_read_packet()
|
Completed in 4 milliseconds