Browse Source

win-dshow: Do not allow H264 to have same priority as MJPEG

This prevents VideoFormat::Any from unintentionally selecting H264 when
MJPEG is the only other format available.

This fixes a bug where certain devices (Logitech C920 with latest
drivers) will only have H264 and MJPEG available, and using
VideoFormat::Any will then select H264 over MJPEG because it's the first
format value and has the same priority as MJPEG.  So now, MJPEG will be
prioritized over H264 instead.
jp9000 6 years ago
parent
commit
eee40ec6d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/win-dshow/libdshowcapture

+ 1 - 1
plugins/win-dshow/libdshowcapture

@@ -1 +1 @@
-Subproject commit d9ca1142cd863c99ce1225d515b1880938c66b0c
+Subproject commit 13cff539a4b4dfbda3dbf98b4f9863dc5295e603