Lines Matching defs:thumbnail
108 AVPacket thumbnail;
466 if (st->codec->codec_id == AV_CODEC_ID_MJPEG && !wctx->thumbnail.size) {
467 av_copy_packet(&wctx->thumbnail, pkt);
680 if (wctx->thumbnail.size) {
681 AVStream *st = s->streams[wctx->thumbnail.stream_index];
683 write_metadata_header(pb, 2, "WM/Picture", attachment_value_size(&wctx->thumbnail, tag));
689 avio_wl32(pb, wctx->thumbnail.size);
690 avio_write(pb, wctx->thumbnail.data, wctx->thumbnail.size);
709 if (wctx->thumbnail.size) {
710 AVStream *st = s->streams[wctx->thumbnail.stream_index];
712 pos += metadata_header_size("WM/Picture") + attachment_value_size(&wctx->thumbnail, av_dict_get(st->metadata, "title", NULL, 0));
829 av_free_packet(&wctx->thumbnail);