浏览代码

testffmpeg: print usage of options to change audio/video codec

Anonymous Maarten 1 年之前
父节点
当前提交
382751c4b5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/testffmpeg.c

+ 1 - 1
test/testffmpeg.c

@@ -833,7 +833,7 @@ static void HandleAudioFrame(AVFrame *frame)
 }
 
 static void print_usage(SDLTest_CommonState *state, const char *argv0) {
-    static const char *options[] = { "[--sprites N]", "[--software]", "video_file", NULL };
+    static const char *options[] = { "[--sprites N]", "[--audio-codec codec]", "[--video-codec codec]", "[--software]", "video_file", NULL };
     SDLTest_CommonLogUsage(state, argv0, options);
 }