Commit 8b7adffc authored by Nicolas Michon's avatar Nicolas Michon

Add back MS_VIDEO_ENCODER_GET_CONFIGURATION_LIST method

parent 58854ea5
......@@ -270,6 +270,14 @@ static MSFilterMethod filter_method_table[] = {
enc_support->supported = (enc_support->pixfmt == MS_H264);
return enc_support->pixfmt ? 0 : -1;
}},
{MS_VIDEO_ENCODER_GET_CONFIGURATION_LIST,
[](MSFilter *f, void *arg) -> int {
bctbx_debug("Filter method: MS_VIDEO_ENCODER_GET_CONFIGURATION_LIST");
auto state = State::from(f);
auto vconfs = static_cast<const MSVideoConfiguration **>(arg);
*vconfs = state->videoConfList();
return 0;
}},
{MS_VIDEO_ENCODER_GET_CONFIGURATION,
[](MSFilter *f, void *arg) -> int {
auto state = State::from(f);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment