From 6b4bb8e7c27e3b0f7412c577a14604a539e4dd55 Mon Sep 17 00:00:00 2001
From: rogerdpack <rogerpack2005@gmail.com>
Date: Mon, 2 Feb 2015 07:07:24 -0700
Subject: [PATCH 1/2] dshow: note where to report missing codecs, add comment

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
---
 libavdevice/dshow.c         | 4 ++--
 libavdevice/dshow_capture.h | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index d03670e..77f0a75 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -365,7 +365,7 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype,
                     enum AVCodecID codec_id = av_codec_get_id(tags, bih->biCompression);
                     AVCodec *codec = avcodec_find_decoder(codec_id);
                     if (codec_id == AV_CODEC_ID_NONE || !codec) {
-                        av_log(avctx, AV_LOG_INFO, "  unknown compression type 0x%X", (int) bih->biCompression);
+                        av_log(avctx, AV_LOG_INFO, "  unknown compression type [please report type to FFmpeg trac] 0x%X", (int) bih->biCompression);
                     } else {
                         av_log(avctx, AV_LOG_INFO, "  vcodec=%s", codec->name);
                     }
@@ -880,7 +880,7 @@ dshow_add_device(AVFormatContext *avctx,
             codec->codec_id = av_codec_get_id(tags, bih->biCompression);
             if (codec->codec_id == AV_CODEC_ID_NONE) {
                 av_log(avctx, AV_LOG_ERROR, "Unknown compression type. "
-                                 "Please report type 0x%X.\n", (int) bih->biCompression);
+                                 "Please report type 0x%X to FFmpeg trac.\n", (int) bih->biCompression);
                 return AVERROR_PATCHWELCOME;
             }
             codec->bits_per_coded_sample = bih->biBitCount;
diff --git a/libavdevice/dshow_capture.h b/libavdevice/dshow_capture.h
index f258476..21c949d 100644
--- a/libavdevice/dshow_capture.h
+++ b/libavdevice/dshow_capture.h
@@ -22,6 +22,7 @@
 #ifndef AVDEVICE_DSHOW_H
 #define AVDEVICE_DSHOW_H
 
+/* Set to 1 to enable lots of verbose DSHOW debug info to the logger */
 #define DSHOWDEBUG 0
 
 #include "avdevice.h"
-- 
1.9.5.msysgit.0

