summaryrefslogtreecommitdiffstats
path: root/lib/class/vainfo.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-02 01:39:10 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-02 01:39:10 +0000
commit7a529eeb8af2b1d61e0d82066d9a6aa36e02c09f (patch)
treecafd383d330cd5e0e643a0593ac7e867ca7b4dd8 /lib/class/vainfo.class.php
parenta313222ab7b51df79469c6082a856463248006e9 (diff)
downloadampache-7a529eeb8af2b1d61e0d82066d9a6aa36e02c09f.tar.gz
ampache-7a529eeb8af2b1d61e0d82066d9a6aa36e02c09f.tar.bz2
ampache-7a529eeb8af2b1d61e0d82066d9a6aa36e02c09f.zip
move around stats information and split it up, tweak quicktime tag detection
Diffstat (limited to 'lib/class/vainfo.class.php')
-rw-r--r--lib/class/vainfo.class.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/class/vainfo.class.php b/lib/class/vainfo.class.php
index b2beee93..78f5186f 100644
--- a/lib/class/vainfo.class.php
+++ b/lib/class/vainfo.class.php
@@ -661,6 +661,13 @@ class vainfo {
} // end foreach
+ // Also add in any video related stuff we might find
+ if (strpos('video',$this->_raw2['mime_type'])) {
+ $info = $this->_parse_avi(&$this->_raw2);
+ $info['video_codec'] = $this->_raw2['quicktime']['ftyp']['fourcc'];
+ $array = array_merge($info,$array);
+ }
+
return $array;
} // _parse_quicktime