projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
547b7bc
)
Print warnig if requested samplingrate is unsupported.
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 30 Apr 2010 00:06:36 +0000
(
00:06
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 30 Apr 2010 00:06:36 +0000
(
00:06
+0000)
Originally committed as revision 22991 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
be18065
..
66c8039
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-498,6
+498,9
@@
static void choose_sample_rate(AVStream *st, AVCodec *codec)
best= *p;
}
}
+ if(best_dist){
+ av_log(st->codec, AV_LOG_WARNING, "Requested sampling rate unsupported using closest supported (%d)\n", best);
+ }
st->codec->sample_rate= best;
}
}