remove -rpi option (it was premature to add it)

This commit is contained in:
fduncanh
2022-03-02 19:47:59 -05:00
parent 23addca4e1
commit c0b4dc4e73
5 changed files with 71 additions and 66 deletions

View File

@@ -237,7 +237,7 @@ static void print_info (char *name) {
printf("-vs ... Choose the GStreamer videosink; default \"autovideosink\"\n");
printf(" some choices: ximagesink,xvimagesink,vaapisink,glimagesink,\n");
printf(" gtksink,waylandsink,osximagesink,fpsdisplaysink, etc.\n");
printf("-rpi Video settings for Raspberry Pi 4 (h264 decoding in GPU).\n");
// printf("-rpi Video settings for Raspberry Pi 4 (h264 decoding in GPU).\n");
printf("-vs 0 Streamed audio only, with no video display window\n");
printf("-avdec Force software h264 video decoding with libav decoder\n");
printf("-as ... Choose the GStreamer audiosink; default \"autoaudiosink\"\n");
@@ -485,11 +485,11 @@ int main (int argc, char *argv[]) {
} else if (arg == "-avdec") {
video_decoder.erase();
video_decoder = "avdec_h264";
} else if (arg == "-rpi") {
video_decoder.erase();
video_decoder = "v4l2h264dec";
video_converter.erase();
video_converter = "v4l2convert";
// } else if (arg == "-rpi") { /*undocumented option, may be removed */
// video_decoder.erase();
// video_decoder = "v4l2h264dec";
// video_converter.erase();
// video_converter = "v4l2convert";
} else if (arg == "-FPSdata") {
show_client_FPS_data = true;
} else if (arg == "-reset") {