Browse Source

clarify output of --codecs for codecs lacking RTP support

fixes #655

Change-Id: Ie51453487763809ff872fb4524cdfd27a56ff5e4
changes/97/24797/1
Richard Fuchs 7 years ago
parent
commit
60bd4a681e
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      lib/codeclib.c

+ 6
- 2
lib/codeclib.c View File

@ -740,8 +740,12 @@ void codeclib_init(int print) {
continue;
if (print) {
if (def->support_encoding && def->support_decoding)
printf("%20s: fully supported\n", def->rtpname);
if (def->support_encoding && def->support_decoding) {
if (def->default_channels > 0 && def->default_clockrate >= 0)
printf("%20s: fully supported\n", def->rtpname);
else
printf("%20s: codec supported but lacks RTP definition\n", def->rtpname);
}
else if (def->support_decoding)
printf("%20s: supported for decoding only\n", def->rtpname);
else if (def->support_encoding)


Loading…
Cancel
Save