QTfrontend/util/LibavInteraction.cpp
changeset 8362 89a6b7cc6f95
parent 8065 609d07b337b5
child 9080 9b42757d7e71
equal deleted inserted replaced
8361:2831c1403666 8362:89a6b7cc6f95
   300         else if (pCodec->codec_type == AVMEDIA_TYPE_AUDIO)
   300         else if (pCodec->codec_type == AVMEDIA_TYPE_AUDIO)
   301             desc += tr("Audio: ");
   301             desc += tr("Audio: ");
   302         else
   302         else
   303             continue;
   303             continue;
   304         AVCodec* pDecoder = avcodec_find_decoder(pCodec->codec_id);
   304         AVCodec* pDecoder = avcodec_find_decoder(pCodec->codec_id);
   305         desc += pDecoder? pDecoder->name : "unknown";
   305         desc += pDecoder? pDecoder->name : tr("unknown");
   306         desc += "\n";
   306         desc += "\n";
   307     }
   307     }
   308     AVDictionaryEntry* pComment = av_dict_get(pContext->metadata, "comment", NULL, 0);
   308     AVDictionaryEntry* pComment = av_dict_get(pContext->metadata, "comment", NULL, 0);
   309     if (pComment)
   309     if (pComment)
   310         desc += QString("\n") + pComment->value;
   310         desc += QString("\n") + pComment->value;