Skip to content

Commit 239104b

Browse files
author
brianxautumn
committed
changed names for interfaces and readu to re publish
1 parent cf89c21 commit 239104b

File tree

6 files changed

+18
-26
lines changed

6 files changed

+18
-26
lines changed

builds/flare-ivf.js renamed to builds/jsivf.js

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
2-
var FlareIVF = require('../src/FlareIVF');
2+
var FlareIVF = require('../src/jsivf');
33

4-
window.FlareIvf = FlareIVF;
5-
module.exports = FlareIVF;
64

7-
},{"../src/FlareIVF":2}],2:[function(require,module,exports){
5+
if(window)
6+
window.JsIvf = JsIvf;
7+
8+
module.exports = JsIvf;
9+
10+
},{"../src/jsivf":2}],2:[function(require,module,exports){
811
"use strict";
912

1013
class FlareIVF{
@@ -71,20 +74,6 @@ class FlareIVF{
7174
this.frameCount = this.data[27] << 24 | this.data[26] << 16 | this.data[25] <<8 | this.data[24];
7275

7376
this.ptr = this.headerLength;
74-
75-
/*
76-
console.log("**** HEADER DATA ****");
77-
console.log("Signature : " + this.signature);
78-
console.log("Version :" + this.version);
79-
console.log("Header Length :" + this.headerLength);
80-
console.log("Codec : " + this.codec);
81-
console.log("Width : " + this.width);
82-
console.log("Height : " + this.height);
83-
console.log("Frame rate : " + this.frameRate);
84-
console.log("Time scale : " + this.timeScale);
85-
console.log("Frame Count : " + this.frameCount);
86-
console.log("**** HEADER DATA ****");
87-
*/
8877
}
8978

9079
}

interfaces/flare-ivf.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

interfaces/jsivf-main.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
var FlareIVF = require('../src/jsivf');
2+
3+
4+
if(window)
5+
window.JsIvf = JsIvf;
6+
7+
module.exports = JsIvf;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
},
1515
"repository": {
1616
"type": "git",
17-
"url": "https://github.com/FlareMediaPlayer/FlareIVF.git"
17+
"url": "https://github.com/jscodec/jsivf.git"
1818
},
1919
"scripts": {
2020
"test" : "node ./tests/test.js",
2121
"clean" : "rm -rf tmp",
22-
"build" : "browserify interfaces/flare-ivf.js > builds/flare-ivf.js"
22+
"build" : "browserify interfaces/jsivf-main.js > builds/jsivf.js"
2323
}
2424
}
File renamed without changes.

tests/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
var FlareIVF = require('../src/FlareIVF.js');
1+
var jsivf = require('../src/jsivf.js');
22
var fs = require('fs');
33

44
//Create a new IVF demuxer
5-
var ivf = new FlareIVF();
5+
var ivf = new jsivf();
66

77
//Read in the first test vector
88
var vectorPath = 'vp8-test-vectors/';

0 commit comments

Comments
 (0)