Home
last modified time | relevance | path

Searched refs:sub_pkt (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
Davidec.c62 AVPacket *sub_pkt; member
1133 if (!(ast->sub_pkt = av_packet_alloc())) in read_gab2_sub()
1147 ff_read_packet(ast->sub_ctx, ast->sub_pkt); in read_gab2_sub()
1158 av_packet_free(&ast->sub_pkt); in read_gab2_sub()
1179 if (st->discard < AVDISCARD_ALL && ast && ast->sub_pkt && ast->sub_pkt->data) { in get_subtitle_pkt()
1180 ts = av_rescale_q(ast->sub_pkt->dts, st->time_base, AV_TIME_BASE_Q); in get_subtitle_pkt()
1190 av_packet_move_ref(pkt, ast->sub_pkt); in get_subtitle_pkt()
1193 if (ff_read_packet(ast->sub_ctx, ast->sub_pkt) < 0) in get_subtitle_pkt()
1194 ast->sub_pkt->data = NULL; in get_subtitle_pkt()
1816 av_packet_unref(ast2->sub_pkt); in seek_subtitle()
[all …]