[Mplayer-cvslog] CVS: main/libmpcodecs vd_qtvideo.c,1.7,1.8
Arpi of Ize
arpi at mplayerhq.hu
Wed Dec 11 22:26:40 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv21549
Modified Files:
vd_qtvideo.c
Log Message:
moved component lister up, as it messes up 'desc'
Index: vd_qtvideo.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_qtvideo.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vd_qtvideo.c 1 Dec 2002 00:09:13 -0000 1.7
+++ vd_qtvideo.c 11 Dec 2002 21:26:37 -0000 1.8
@@ -127,6 +127,24 @@
// result=EnterMovies();
// printf("EnterMovies->%d\n",result);
+#if 0
+ memset(&desc,0,sizeof(desc));
+ while((prev=FindNextComponent(prev,&desc))){
+ ComponentDescription desc2;
+ unsigned char* c1=&desc2.componentType;
+ unsigned char* c2=&desc2.componentSubType;
+ memset(&desc2,0,sizeof(desc2));
+// printf("juhee %p (%p)\n",prev,&desc);
+ GetComponentInfo(prev,&desc2,NULL,NULL,NULL);
+ printf("DESC: %c%c%c%c/%c%c%c%c [0x%X/0x%X] 0x%X\n",
+ c1[3],c1[2],c1[1],c1[0],
+ c2[3],c2[2],c2[1],c2[0],
+ desc2.componentType,desc2.componentSubType,
+ desc2.componentFlags);
+ }
+#endif
+
+
memset(&desc,0,sizeof(desc));
desc.componentType= (((unsigned char)'i')<<24)|
(((unsigned char)'m')<<16)|
@@ -146,23 +164,6 @@
desc.componentFlagsMask=0;
printf("Count = %d\n",CountComponents(&desc));
-#if 0
- memset(&desc,0,sizeof(desc));
- while((prev=FindNextComponent(prev,&desc))){
- ComponentDescription desc2;
- unsigned char* c1=&desc2.componentType;
- unsigned char* c2=&desc2.componentSubType;
- memset(&desc2,0,sizeof(desc2));
- printf("juhee %p (%p)\n",prev,&desc);
- GetComponentInfo(prev,&desc2,NULL,NULL,NULL);
- printf("DESC: %c%c%c%c/%c%c%c%c [0x%X/0x%X] 0x%X\n",
- c1[3],c1[2],c1[1],c1[0],
- c2[3],c2[2],c2[1],c2[0],
- desc2.componentType,desc2.componentSubType,
- desc2.componentFlags);
- }
-#endif
-
prev=FindNextComponent(NULL,&desc);
if(!prev){
printf("Cannot find requested component\n");
More information about the MPlayer-cvslog
mailing list