[FFmpeg-cvslog] dshow: fixup some COM objects, based on patches from Don Moir
rogerdpack
git at videolan.org
Mon Mar 31 23:19:44 CEST 2014
ffmpeg | branch: master | rogerdpack <rogerpack2005 at gmail.com> | Thu Mar 27 14:37:48 2014 -0600| [0cc8a62a78b3afa6092b0dca3d2c2bb3bb14668e] | committer: Michael Niedermayer
dshow: fixup some COM objects, based on patches from Don Moir
Signed-off-by: rogerdpack <rogerpack2005 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0cc8a62a78b3afa6092b0dca3d2c2bb3bb14668e
---
libavdevice/dshow_enummediatypes.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavdevice/dshow_enummediatypes.c b/libavdevice/dshow_enummediatypes.c
index aaed58b..5b69a5b 100644
--- a/libavdevice/dshow_enummediatypes.c
+++ b/libavdevice/dshow_enummediatypes.c
@@ -22,7 +22,7 @@
#include "dshow_capture.h"
DECLARE_QUERYINTERFACE(libAVEnumMediaTypes,
- { {&IID_IUnknown,0}, {&IID_IEnumPins,0} })
+ { {&IID_IUnknown,0}, {&IID_IEnumMediaTypes,0} })
DECLARE_ADDREF(libAVEnumMediaTypes)
DECLARE_RELEASE(libAVEnumMediaTypes)
@@ -82,7 +82,7 @@ libAVEnumMediaTypes_Clone(libAVEnumMediaTypes *this, libAVEnumMediaTypes **enums
static int
libAVEnumMediaTypes_Setup(libAVEnumMediaTypes *this, const AM_MEDIA_TYPE *type)
{
- IEnumPinsVtbl *vtbl = this->vtbl;
+ IEnumMediaTypesVtbl *vtbl = this->vtbl;
SETVTBL(vtbl, libAVEnumMediaTypes, QueryInterface);
SETVTBL(vtbl, libAVEnumMediaTypes, AddRef);
SETVTBL(vtbl, libAVEnumMediaTypes, Release);
More information about the ffmpeg-cvslog
mailing list