[Gridflow-cvs] [svn] commit: r4062 - /trunk/format/quicktimehw.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Mon Aug 4 21:33:57 EDT 2008


Author: matju
Date: Mon Aug  4 21:33:57 2008
New Revision: 4062

Log:
remove post of quicktime info (obsoleted by message "get")

Modified:
    trunk/format/quicktimehw.c

Modified: trunk/format/quicktimehw.c
==============================================================================
--- trunk/format/quicktimehw.c (original)
+++ trunk/format/quicktimehw.c Mon Aug  4 21:33:57 2008
@@ -41,7 +41,6 @@
 	int channels;
 	bool started;
 	P<Dim> force;
-	int length; // in frames
 	float64 framerate;
 	P<BitPacking> bit_packing;
 	int jpeg_quality; // in theory we shouldn't need this, but...
@@ -54,13 +53,6 @@
 		if (!anim) RAISE("can't open file `%s': %s (or some other reason that libquicktime won't tell us)",
 			filename.data(), strerror(errno));
 		if (mode==gensym("in")) {
-			length = quicktime_video_length(anim,track);
-			post("quicktime: codec=%s height=%d width=%d depth=%d framerate=%f",
-				quicktime_video_compressor(anim,track),
-				quicktime_video_height(anim,track),
-				quicktime_video_width(anim,track),
-				quicktime_video_depth(anim,track),
-				quicktime_frame_rate(anim,track));
 	/* This doesn't really work: (is it just for encoding?)
 			if (!quicktime_supported_video(anim,track))
 				RAISE("quicktime: unsupported codec: %s",
@@ -203,7 +195,7 @@
 	outlet_anything(bself->te_outlet,gensym("frames"),1,a);
 */
 	t_atom a[1];
-	SETFLOAT(a,length);
+	SETFLOAT(a,quicktime_video_length(anim,track));
 	outlet_anything(bself->outlets[0],gensym("frames"),1,a);
 	SETFLOAT(a,quicktime_frame_rate(anim,track));
 	outlet_anything(bself->outlets[0],gensym("framerate"),1,a);



More information about the Gridflow-cvs mailing list