MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / InvalidCodec

Class InvalidCodec

src/Exceptions.h:178–190  ·  view source on GitHub ↗

Exception when no valid codec is found for a file

Source from the content-addressed store, hash-verified

176
177 /// Exception when no valid codec is found for a file
178 class InvalidCodec : public FileExceptionBase
179 {
180 public:
181 /**
182 * @brief Constructor
183 *
184 * @param message A message to accompany the exception
185 * @param file_path (optional) The input file being processed
186 */
187 InvalidCodec(std::string message, std::string file_path="")
188 : FileExceptionBase(message, file_path) { }
189 virtual ~InvalidCodec() noexcept {}
190 };
191
192 /// Exception for files that can not be found or opened
193 class InvalidFile : public FileExceptionBase

Callers 7

SetVideoOptionsMethod · 0.85
SetAudioOptionsMethod · 0.85
add_audio_streamMethod · 0.85
add_video_streamMethod · 0.85
open_audioMethod · 0.85
FFmpegWriter.cppFile · 0.85
FFmpegReader.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected