annotate loader/dshow/outputpin.h @ 15533:ddf15d233d58

Do not switch to audio tracks whose codec private data differs from the main audio track's as this will most likely result in messed up audio output. Patch by Michael Behrisch <list () behrisch ! de>
author mosu
date Sat, 21 May 2005 06:50:08 +0000
parents 174e2a58b4cd
children 49f01f8fbd60
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
1 #ifndef DS_OUTPUTPIN_H
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
2 #define DS_OUTPUTPIN_H
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
3
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
4 /* "output pin" - the one that connects to output of filter. */
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
5
713
9355b2ae634e avifile-0.6-CVS merge
arpi_esp
parents: 168
diff changeset
6 #include "allocator.h"
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
7
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 3130
diff changeset
8 typedef struct _COutputMemPin COutputMemPin;
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
9 typedef struct _COutputPin COutputPin;
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
10
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
11 struct _COutputPin
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
12 {
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
13 IPin_vt* vt;
3130
623cdb771e97 avifile sync. seems to some bugs fixed...
arpi
parents: 3056
diff changeset
14 DECLARE_IUNKNOWN();
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
15 COutputMemPin* mempin;
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
16 AM_MEDIA_TYPE type;
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
17 IPin* remote;
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
18 void ( *SetFramePointer )(COutputPin*, char** z);
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
19 void ( *SetPointer2 )(COutputPin*, char* p);
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
20 void ( *SetFrameSizePointer )(COutputPin*, long* z);
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
21 void ( *SetNewFormat )(COutputPin*, const AM_MEDIA_TYPE* a);
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
22 };
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
23
3056
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
24 COutputPin* COutputPinCreate(const AM_MEDIA_TYPE* vhdr);
213b35f84cf3 C++ -> C (import from avifile cvs)
arpi
parents: 1545
diff changeset
25
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 713
diff changeset
26 #endif /* DS_OUTPUTPIN_H */