On 5/17/19, Jun Zhao <[email protected]> wrote: > From: Jun Zhao <[email protected]> > > missed the category AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT lead to > ffmpeg -devices doesn't show gdigrab as a input device > > FIx #7848 > > Found-by: dangibson > Signed-off-by: Jun Zhao <[email protected]> > --- > libavdevice/gdigrab.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/libavdevice/gdigrab.c b/libavdevice/gdigrab.c > index b226bd0..f444440 100644 > --- a/libavdevice/gdigrab.c > +++ b/libavdevice/gdigrab.c > @@ -647,6 +647,7 @@ static const AVClass gdigrab_class = { > .item_name = av_default_item_name, > .option = options, > .version = LIBAVUTIL_VERSION_INT, > + .category = AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT, > }; > > /** gdi grabber device demuxer declaration */ > -- > 1.7.1 > > _______________________________________________ > ffmpeg-devel mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe".
lgtm _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
