Skip to content

Commit

Permalink
Ignore unsupported bitstream formats
Browse files Browse the repository at this point in the history
  • Loading branch information
Keukhan committed Dec 24, 2024
1 parent 5577d76 commit b1b68b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/projects/modules/ffmpeg/ffmpeg_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ namespace ffmpeg
// Do nothing
break;
default:
// Unsupported bitstream foramt
return false;
// Unsupported bitstream foramt, but it is not an error.
return true;
}
}
else if (_output_format_name == "mp4")
Expand Down Expand Up @@ -357,8 +357,8 @@ namespace ffmpeg
break;

default:
// Unsupported bitstream foramt
return false;
// Unsupported bitstream foramt, but it is not an error.
return true;
}
}
else if (_output_format_name == "mpegts")
Expand Down

0 comments on commit b1b68b1

Please sign in to comment.