| 182 | } |
| 183 | |
| 184 | FFMS_API(int) FFMS_SetInputFormatV(FFMS_VideoSource *V, int ColorSpace, int ColorRange, int Format, FFMS_ErrorInfo *ErrorInfo) { |
| 185 | ClearErrorInfo(ErrorInfo); |
| 186 | try { |
| 187 | V->SetInputFormat(ColorSpace, ColorRange, static_cast<AVPixelFormat>(Format)); |
| 188 | } catch (FFMS_Exception &e) { |
| 189 | return e.CopyOut(ErrorInfo); |
| 190 | } |
| 191 | return FFMS_ERROR_SUCCESS; |
| 192 | } |
| 193 | |
| 194 | FFMS_API(void) FFMS_ResetInputFormatV(FFMS_VideoSource *V) { |
| 195 | V->ResetInputFormat(); |
nothing calls this directly
no test coverage detected