diff options
| author | ccd0 <admin@containerchan.org> | 2013-12-09 05:36:26 -0800 |
|---|---|---|
| committer | ccd0 <admin@containerchan.org> | 2013-12-09 05:36:26 -0800 |
| commit | 84329fb6ff1e06e02be2b2f21a09a28216c3409b (patch) | |
| tree | 2ba5f0a6388f7ad53d0bd71a3017fa8d89d242e8 /videodata.php | |
| parent | 16adc1ff05fa5e6e531c90e0c91b519fe3474a79 (diff) | |
check that uploads are WebM files
Diffstat (limited to 'videodata.php')
| -rw-r--r-- | videodata.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/videodata.php b/videodata.php index 1b1e7eb6..9bf26396 100644 --- a/videodata.php +++ b/videodata.php @@ -107,6 +107,7 @@ function videoData($filename) { try { $root = readMatroska($fileHandle); + $data['container'] = $root->get('EBML')->get('DocType'); // Locate segment information and tracks $segment = $root->get('Segment'); |
