[Red5commits] [1749] changed name of root element as it's not only for FLV frames
jbauch
luke at codegent.com
Sat Mar 3 20:20:14 EST 2007
changed name of root element as it's not only for FLV frames
Timestamp: 03/03/07 20:17:13 EST (less than one hour ago)
Change: 1749
Author: jbauch
Files (see diff or trac for details):
java/server/trunk/src/org/red5/io/FileKeyFrameMetaCache.java
Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/1749
Index: /java/server/trunk/src/org/red5/io/FileKeyFrameMetaCache.java
===================================================================
--- /java/server/trunk/src/org/red5/io/FileKeyFrameMetaCache.java (revision 1748)
+++ /java/server/trunk/src/org/red5/io/FileKeyFrameMetaCache.java (revision 1749)
@@ -87,5 +87,5 @@
Element root = dom.getDocumentElement();
// Check if .xml file is valid and for this .flv file
- if (!"FLVMetadata".equals(root.getNodeName()))
+ if (!"FrameMetadata".equals(root.getNodeName()))
// Invalid XML
return null;
@@ -145,5 +145,5 @@
// Create file and add keyframe informations
- Element root = dom.createElement("FLVMetadata");
+ Element root = dom.createElement("FrameMetadata");
root.setAttribute("modified", String.valueOf(file.lastModified()));
dom.appendChild(root);
Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.
More information about the Red5commits
mailing list