Browse Source

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

Anonymous Maarten 1 năm trước cách đây
mục cha
commit
382751c4b5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 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);
     SDLTest_CommonLogUsage(state, argv0, options);
 }
 }