Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
19
gaia/apps/video/test/unit/mock_metadata.js
Executable file
19
gaia/apps/video/test/unit/mock_metadata.js
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
/* exported startParsingMetadata, stopParsingMetadata */
|
||||
/* exported metadataQueue, processingQueue, captureFrame */
|
||||
'use strict';
|
||||
|
||||
var metadataQueue;
|
||||
var processingQueue;
|
||||
|
||||
function startParsingMetadata() {
|
||||
}
|
||||
|
||||
function stopParsingMetadata() {
|
||||
}
|
||||
|
||||
// We need a mock captureFrame function as opposed to simply
|
||||
// using a spy because the function needs to have an implementation,
|
||||
// it needs to invoke the callback function.
|
||||
function captureFrame(player, metadata, callback) {
|
||||
callback();
|
||||
}
|
||||
Loading…
Reference in a new issue