Allow decoders to choose a desired colorspace

This commit is contained in:
Cameron Gutman
2019-12-14 15:25:56 -08:00
parent 88930a9de4
commit 160684f23e
7 changed files with 21 additions and 0 deletions
@@ -31,6 +31,11 @@ public:
return 0;
}
virtual int getDecoderColorspace() {
// Rec 601 is default
return COLORSPACE_REC_601;
}
virtual FramePacingConstraint getFramePacingConstraint() {
// No pacing preference
return PACING_ANY;