Commit 31333fee authored by Jim Nelson's avatar Jim Nelson

#3057: Fixes problem reading video metadata from certain MP4/Quicktime files.

parent d77de150
......@@ -74,17 +74,7 @@ private class QuickTimeMetadataLoader {
// Look for the header.
if ("ftyp" == test.get_current_atom_name()) {
// Read identifier.
GLib.StringBuilder sb = new GLib.StringBuilder();
sb.append_c((char)test.read_byte());
sb.append_c((char)test.read_byte());
sb.append_c((char)test.read_byte());
sb.append_c((char)test.read_byte());
string id_string = sb.str;
if ("qt " == id_string || "avc1" == id_string) {
ret = true;
}
ret = true;
} else {
// Some versions of QuickTime don't have
// an ftyp section, so we'll just look
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment