[FFmpeg-devel] [PATCH][GSoC] dshow add support for saving and loading of capture devices

Michael Niedermayer michaelni at gmx.at
Wed Apr 22 13:12:27 CEST 2015

On Wed, Apr 22, 2015 at 12:47:59PM +0200, Máté Sebők wrote:
> Indeed, sorry i've forgotten to change the Eclipse' EOL to unix-- now fixed.
> Error handler fixed.
> Parameter names changed to audio(/video)_device_load(/save) as I think the
> to_file and from_file is evident and is specified in the help.
> About the "fake" input:  by loading a device filter from file, in the
> dshow_open_device() it loads the device object from file instead of
> searching it by name. So as long as the dshow_open_device() get called it
> will load the device -- however to get called it is required to have a not
> NULL input name .. aka any fake text would do the trick (eg: -i video=" " )
> If you have better suggestion for the description, please tell me.
> Here is the fixed patch.


> diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
> index d03670e..9ac28c5 100644
> --- a/libavdevice/dshow.c
> +++ b/libavdevice/dshow.c
> @@ -27,6 +27,8 @@
>  #include "libavformat/riff.h"
>  #include "avdevice.h"
>  #include "libavcodec/raw.h"
> +#include "objidl.h"

> +#include "Shlwapi.h"

this header does not exist, it must be lowwer case or it will break
build on linux-mingw


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- 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/20150422/9fbecc13/attachment.asc>

More information about the ffmpeg-devel mailing list