[FFmpeg-devel] [PATCH] ffprobe: Stash and use width and height before opening the codec

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu Mar 7 04:52:34 CET 2013


On 2013-03-06 8:58 PM, Michael Niedermayer wrote:
> -    if (!( avctx->coded_width && avctx->coded_height && avctx->width && avctx->height && avctx->codec_id == AV_CODEC_ID_H264)){
> +    if (!( avctx->coded_width && avctx->coded_height && avctx->width && avctx->height &&
> +           (avctx->codec_id == AV_CODEC_ID_H264 || avctx->codec_id == AV_CODEC_ID_VP6F))){

I dislike this. This is a codec specific hack which could be handled
generically in ffprobe.c...

- Derek


More information about the ffmpeg-devel mailing list