aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/fbdev_dec.c
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-04-28 02:24:16 +0200
committerLukasz Marek <lukasz.m.luki2@gmail.com>2014-04-30 00:35:42 +0200
commite2ebaa09339c891651fac5c71cab9157ccf1b402 (patch)
tree7a222d1a8aa4f753706aae8538f1fc8e845c33c1 /libavdevice/fbdev_dec.c
parent279ff8d2f6dc9b769dc31d6490ef4244c416cafa (diff)
downloadffmpeg-e2ebaa09339c891651fac5c71cab9157ccf1b402.tar.gz
lavd/fbdev_dec: implement fbdev_get_device_list callback
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'libavdevice/fbdev_dec.c')
-rw-r--r--libavdevice/fbdev_dec.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavdevice/fbdev_dec.c b/libavdevice/fbdev_dec.c
index 01bc7c6826..d53b9e591b 100644
--- a/libavdevice/fbdev_dec.c
+++ b/libavdevice/fbdev_dec.c
@@ -205,6 +205,11 @@ static av_cold int fbdev_read_close(AVFormatContext *avctx)
return 0;
}
+static int fbdev_get_device_list(AVFormatContext *s, AVDeviceInfoList *device_list)
+{
+ return ff_fbdev_get_device_list(device_list);
+}
+
#define OFFSET(x) offsetof(FBDevContext, x)
#define DEC AV_OPT_FLAG_DECODING_PARAM
static const AVOption options[] = {
@@ -227,6 +232,7 @@ AVInputFormat ff_fbdev_demuxer = {
.read_header = fbdev_read_header,
.read_packet = fbdev_read_packet,
.read_close = fbdev_read_close,
+ .get_device_list = fbdev_get_device_list,
.flags = AVFMT_NOFILE,
.priv_class = &fbdev_class,
};