diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-07-27 10:35:08 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-07-28 10:24:43 +0200 |
commit | fdd130a2131912133c72b5ff532726784aaa70a2 (patch) | |
tree | 0ec45c03927c3fd82ccfbe25b2eba4dc369d02b1 /libavformat/utils.c | |
parent | 9c484d294483241b4d066530b1eee06d94cfefdc (diff) | |
download | ffmpeg-fdd130a2131912133c72b5ff532726784aaa70a2.tar.gz |
prefer "SAR" over "PAR" in av_dump_format()
"SAR" (Sample Aspect Ratio) is globally preferred over "PAR" (Pixel
Aspect Ratio), although the two terms share the same semantics.
For example the corresponding AVStream field is called
sample_aspect_ratio, and libavfilter has a filter named setsar.
Therefore prefer the term "SAR" over "PAR" in the
libavformat/utils.c:dump_stream_format() and avcodec_string() output
for avoiding confusion.
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 38407b9d4b..74891049ae 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3402,7 +3402,7 @@ static void dump_stream_format(AVFormatContext *ic, int i, int index, int is_out st->codec->width*st->sample_aspect_ratio.num, st->codec->height*st->sample_aspect_ratio.den, 1024*1024); - av_log(NULL, AV_LOG_INFO, ", PAR %d:%d DAR %d:%d", + av_log(NULL, AV_LOG_INFO, ", SAR %d:%d DAR %d:%d", st->sample_aspect_ratio.num, st->sample_aspect_ratio.den, display_aspect_ratio.num, display_aspect_ratio.den); } |