diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-11-15 14:28:18 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-11-15 14:28:18 +0000 |
commit | c1b4a8fe3866ff075e8e90e64b7bccd6eae9a17d (patch) | |
tree | 08fdec0a95593efbe51d97d5bce18012ec16002a /src/libw32dll/DirectShow/inputpin.c | |
parent | 008c3d81263eaa0cf3f81d1f4dde94e2993ccbb0 (diff) | |
download | xine-lib-c1b4a8fe3866ff075e8e90e64b7bccd6eae9a17d.tar.gz xine-lib-c1b4a8fe3866ff075e8e90e64b7bccd6eae9a17d.tar.bz2 |
full DirectShow support (needs testing)
CVS patchset: 1043
CVS date: 2001/11/15 14:28:18
Diffstat (limited to 'src/libw32dll/DirectShow/inputpin.c')
-rw-r--r-- | src/libw32dll/DirectShow/inputpin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libw32dll/DirectShow/inputpin.c b/src/libw32dll/DirectShow/inputpin.c index c20c16811..76908f831 100644 --- a/src/libw32dll/DirectShow/inputpin.c +++ b/src/libw32dll/DirectShow/inputpin.c @@ -102,10 +102,8 @@ CEnumPins * CEnumPins_Create(IPin* p, IPin* pp) this->vt=malloc(sizeof(IEnumPins_vt)); - this->pin1 = malloc(sizeof(IPin)); - memcpy(this->pin1,p,sizeof(IPin)); - this->pin2 = malloc(sizeof(IPin)); - memcpy(this->pin2,pp,sizeof(IPin)); + this->pin1 = p; + this->pin2 = pp; this->counter = 0; this->refcount = 1; @@ -248,6 +246,8 @@ CInputPin * CInputPin_Create(CBaseFilter* p, const AM_MEDIA_TYPE *vh) { CInputPin *this; this = malloc(sizeof(CInputPin)); + + Debug printf("CInputPin_Create %p\n", this ); memcpy(&this->type,vh,sizeof(AM_MEDIA_TYPE)); this->refcount = 1; |