diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2016-10-03 23:49:09 -0500 |
---|---|---|
committer | Rodger Combs <rodger.combs@gmail.com> | 2016-10-24 01:24:23 -0500 |
commit | 54350f06e11727f255e3d1829cb1afde49931d8b (patch) | |
tree | 523e5170301b627dc24cc3c4b08512d61a07da95 /ffprobe.c | |
parent | ba53504e57b6dc92726086d0b8f50fc26069f327 (diff) | |
download | ffmpeg-54350f06e11727f255e3d1829cb1afde49931d8b.tar.gz |
ffprobe: report field order for video streams
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -2268,6 +2268,19 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id else print_str_opt("chroma_location", av_chroma_location_name(par->chroma_location)); + if (par->field_order == AV_FIELD_PROGRESSIVE) + print_str("field_order", "progressive"); + else if (par->field_order == AV_FIELD_TT) + print_str("field_order", "tt"); + else if (par->field_order == AV_FIELD_BB) + print_str("field_order", "bb"); + else if (par->field_order == AV_FIELD_TB) + print_str("field_order", "tb"); + else if (par->field_order == AV_FIELD_BT) + print_str("field_order", "bt"); + else + print_str_opt("field_order", "unknown"); + #if FF_API_PRIVATE_OPT if (dec_ctx && dec_ctx->timecode_frame_start >= 0) { char tcbuf[AV_TIMECODE_STR_SIZE]; |