[Show decent media info rendering Adrian Georgescu **20080521083909] hunk ./cdrlib_ser.phtml 3710 + + foreach (array_values($this->info->streams) as $_val) { + $media_types[]=$_val->media_type; + } + + print "

Media information

"; + + print ""; + printf ("",$this->info->duration); + print "
Duration%s
"; + + print "

Media streams

"; + + print ""; + print ""; + foreach (array_values($media_types) as $_type) { + printf ("",ucfirst($_type)); + } + + print ""; + + foreach ($this->info->streams[0] as $_val => $_value) { + printf ("",ucfirst(preg_replace("/_/"," ",$_val))); + $j=0; + while ($j < count($media_types)) { + printf ("",$this->info->streams[$j]->$_val); + $j++; + } + + printf ("\n"); + } + + print "
%s
%s%s
"; + /* hunk ./cdrlib_ser.phtml 3747 - + */