[FFmpeg-devel] PATCH dshow show devices options

Michael Niedermayer michaelni at gmx.at
Tue Feb 10 18:50:22 CET 2015


On Mon, Feb 02, 2015 at 07:43:42AM -0700, Roger Pack wrote:
> On 1/31/15, Roger Pack <rogerdpack2 at gmail.com> wrote:
> > On 1/30/15, Michael Niedermayer <michaelni at gmx.at> wrote:
> >> On Fri, Jan 30, 2015 at 08:55:45AM -0700, Roger Pack wrote:
> >>> On 1/30/15, Don Moir <donmoir at comcast.net> wrote:
> >>> >
> >>> > ----- Original Message -----
> >>> > From: "Roger Pack" <rogerdpack2 at gmail.com>
> >>> > To: "FFmpeg development discussions and patches"
> >>> > <ffmpeg-devel at ffmpeg.org>
> >>> > Sent: Friday, January 30, 2015 7:09 AM
> >>> > Subject: [FFmpeg-devel] PATCH dshow show devices options
> >>> >
> >>> >
> >>> >> See attached.  Hope I didn't get it reversed or something weird.
> >>> >> -roger-
> >>> >>
> >>> > -#define DSHOWDEBUG 0
> >>> > +/* Set to 1 to enable lots of verbose DSHOW debug info the logger */
> >>> > +#define DSHOWDEBUG 1
> >>> >
> >>> > Seems to turn on a lot of over head even if not displayed.
> >>>
> >>> Oops good eye.  Thought I had just added the comment but no.
> >>> Revision attached.
> >>>
> >>> If you'd like to review the other recent dshow commits feedback
> >>> welcome there also.
> >>> Cheers!
> >>> -roger-
> >>
> >>>  dshow.c         |   12 +++++++-----
> >>>  dshow_capture.h |    1 +
> >>>  2 files changed, 8 insertions(+), 5 deletions(-)
> >>> 8cc6a2d1787151cc1a72be27dd5d5178784eb15a
> >>> 0001-dshow-show-incremental-values-allowed.patch
> >>> From e8e08ee49c6f80b02334891207d9f0d1b165b4b9 Mon Sep 17 00:00:00 2001
> >>> From: rogerdpack <rogerpack2005 at gmail.com>
> >>> Date: Fri, 30 Jan 2015 08:53:16 -0700
> >>> Subject: [PATCH] dshow: show incremental values allowed
> >>>
> >>> Signed-off-by: rogerdpack <rogerpack2005 at gmail.com>
> >>> ---
> >>>  libavdevice/dshow.c         | 12 +++++++-----
> >>>  libavdevice/dshow_capture.h |  1 +
> >>>  2 files changed, 8 insertions(+), 5 deletions(-)
> >>>
> >>> diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
> >>> index d03670e..f823793 100644
> >>> --- a/libavdevice/dshow.c
> >>> +++ b/libavdevice/dshow.c
> >>> @@ -365,18 +365,18 @@ 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] 0x%X", (int) bih->biCompression);
> >>
> >> this maybe should say where to report to like email address or url
> >> of ffmpeg-devel
> >>
> >> the other changes look fine though if one wanted to nitpick could
> >> be in seperate patches
> 
> OK see the attached.
> Thanks!

>  dshow.c         |    4 ++--
>  dshow_capture.h |    1 +
>  2 files changed, 3 insertions(+), 2 deletions(-)
> ab24c268e15b85ac2a185c90e12bef666eda19d9  0001-dshow-note-where-to-report-missing-codecs-add-commen.patch
> From 6b4bb8e7c27e3b0f7412c577a14604a539e4dd55 Mon Sep 17 00:00:00 2001
> From: rogerdpack <rogerpack2005 at gmail.com>
> Date: Mon, 2 Feb 2015 07:07:24 -0700
> Subject: [PATCH 1/2] dshow: note where to report missing codecs, add comment

patches LGTM but its your code you know that stuff better anyway

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150210/adb543e6/attachment.asc>


More information about the ffmpeg-devel mailing list