diff options
author | rogerdpack <rogerpack2005@gmail.com> | 2016-06-15 02:17:11 -0600 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-23 03:18:16 +0200 |
commit | 9e907c040d3e6c5dbc94c198d147e7456b7c93c1 (patch) | |
tree | c5f571ac9bdcf49072f655505fef60832edc9045 /libavdevice/dshow_capture.h | |
parent | 18f687f73709a3ad5bb6b6fbbdbbce6dc8a91036 (diff) | |
download | ffmpeg-9e907c040d3e6c5dbc94c198d147e7456b7c93c1.tar.gz |
dshow: don't add two instances of same device to graphs
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavdevice/dshow_capture.h')
-rw-r--r-- | libavdevice/dshow_capture.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/dshow_capture.h b/libavdevice/dshow_capture.h index f26eaf9a64..475d62ba99 100644 --- a/libavdevice/dshow_capture.h +++ b/libavdevice/dshow_capture.h @@ -289,6 +289,8 @@ struct dshow_ctx { IGraphBuilder *graph; char *device_name[2]; + char *device_unique_name[2]; + int video_device_number; int audio_device_number; |