3 years agoRemove unused installer files. 59/23559/1 master
Tom Finegan [Thu, 24 May 2012 22:04:15 +0000 (18:04 -0400)]
Remove unused installer files.

Change-Id: I836768d6ce9062939fc61c98fab61024a81d9583

3 years agoAdd update script. 62/18462/2
Tom Finegan [Mon, 19 Mar 2012 15:30:32 +0000 (11:30 -0400)]
Add update script.

Add script for silently executing the installer .mpkg when keystone
downloads a new version of the components, and update DMG build
script to copy the update script into the DMG.

Change-Id: I6aef580254bafff4e5a832b77834d48eda90f154

3 years agoAdd some real information to the installer README. 65/18365/3
Tom Finegan [Fri, 16 Mar 2012 15:41:43 +0000 (11:41 -0400)]
Add some real information to the installer README.

Snarky comment replaced with information of debatable utility.

Change-Id: I08328fbf1037246ff480fbfbcd0e6b2e21dc9eb9

3 years agoInstaller fixes. 64/18364/1
Tom Finegan [Fri, 16 Mar 2012 15:15:00 +0000 (11:15 -0400)]
Installer fixes.

- Set correct update server URL.
- Add missing '$' resulting in a bad existence checker path in
  the WebM postinstall script.
- Remove keystone registration and unregistration of XiphQT.
- Remove XiphQT postinstall/postupgrade script, and remove
  the reference to it from the XiphQT installer.

Change-Id: I6fb3737809beddb2e898555d0fa7094e8388179f

3 years agoAdd check for presence of XiphQT in exporter. 80/17380/4
Tom Finegan [Mon, 5 Mar 2012 23:42:02 +0000 (18:42 -0500)]
Add check for presence of XiphQT in exporter.

Prevents creation of empty audio track when the Xiph Vorbis encoder
component is not installed.

TEST=Exporting from iMovie without a Vorbis encoder does not
     produce a WebM file with an audio track that contains no
     audio samples.

Change-Id: I7a9f1b161c96dc229e2284aa8c8640ff75eb72fa

3 years agogenerate_omaha_config.sh: add date to Config name. 72/17172/1
Tom Finegan [Thu, 1 Mar 2012 20:45:57 +0000 (15:45 -0500)]
generate_omaha_config.sh: add date to Config name.

Change-Id: I9fb7a874cc4aae215542da6eb7e0d879f466d79a

3 years agoread_bundle_plist.sh: support inclusion via source 46/17146/2
Tom Finegan [Thu, 1 Mar 2012 16:48:05 +0000 (11:48 -0500)]
read_bundle_plist.sh: support inclusion via source

Rework the script a bit to allow use on the command line, and use
in other scripts via source. Updates build_dmg.sh and
generate_omaha_config.sh to use source instead of calling the
script directly.

Change-Id: I8fcd19e72627c9de00b704fefeec59c4ea32f70a

3 years agogenerate_omaha_config.sh: correct DMG file name. 22/17122/1
Tom Finegan [Thu, 1 Mar 2012 02:30:46 +0000 (21:30 -0500)]
generate_omaha_config.sh: correct DMG file name.

Include the version number in the DMG file name, and add a TODO
about how the DMG file name is obtained. The former because of
the change to build_dmg.sh, and the latter because the way it's
being done right now is terribly fragile.

Change the download URL to what will ultimately be used, excluding
ossible version number changes.

Add documentation comment for the generate_config function.

Remove deprecated NeedsAdmin flag from generated configuration data.

Change-Id: I89f16ca81ab49b34f932a03b516166ef91094b08

3 years agobuild_dmg.sh: include version in DMG file name. 21/17121/1
Tom Finegan [Thu, 1 Mar 2012 02:27:08 +0000 (21:27 -0500)]
build_dmg.sh: include version in DMG file name.

DMG files are now named "file_$VERSION.dmg". Also compacted things
a bit in the build_dmg function.

Change-Id: Ica016bd2c54573e8498ffe67d223422e56d7c79a

3 years agoread_bundle_plist.sh: allow read from plist files. 53/17053/2
Tom Finegan [Wed, 29 Feb 2012 15:26:19 +0000 (10:26 -0500)]
read_bundle_plist.sh: allow read from plist files.

When given a path that looks like a plist file the script reads
from the plist file directly instead of assuming that
Contents/Info.plist must be appended to the path.

Change-Id: Ie6ec3a4f9d1a0b61e0958c5de272bdebca21b15d

3 years agoAdd keystone 7 Day Active (7DA) support. 86/16786/8
Tom Finegan [Sat, 25 Feb 2012 02:30:51 +0000 (21:30 -0500)]
Add keystone 7 Day Active (7DA) support.

Touch a file with the same name as our bundle identifier in the
updater actives directory.

Change-Id: Ie24a6fbcd3ad733bf9cae1e465746c5bb869bed6

3 years agoAdd bundle_info.h. 85/16785/1
Tom Finegan [Sat, 25 Feb 2012 02:25:35 +0000 (21:25 -0500)]
Add bundle_info.h.

Use it wherever the bundle identifier is needed.

Change-Id: I4970a732220526692227058e0b7e51d1595f4765

3 years agobuild_installers: use util.sh and clean up a bit. 83/16483/4
Tom Finegan [Thu, 23 Feb 2012 16:14:46 +0000 (11:14 -0500)]
build_installers: use util.sh and clean up a bit.

Change-Id: I1babbdd212cbba50242d4efc80b27f5de9bcb012

3 years agoAdd Omaha config generation script. 54/16454/4
Tom Finegan [Thu, 23 Feb 2012 05:17:18 +0000 (00:17 -0500)]
Add Omaha config generation script.

Generates Omaha configuration data for full update disk image.

Change-Id: Idaeccd29446a6c50b2d26a443742f553a2ec3be0

3 years agoAdd update dmgs to dmg build script. 95/16195/8
Tom Finegan [Fri, 17 Feb 2012 23:36:56 +0000 (18:36 -0500)]
Add update dmgs to dmg build script.

Also adds some simple optional command line args:
- passing no params or passing "all" will build all dmg files.
- passing "webm" will build the webm updater dmg.
- passing "xiph" will build the xiphqt updater dmg.

Change-Id: I1d1e84f605f767ab589ad908baead48d297623c8

3 years agoAdd script to read version/ID from bundle plist. 70/16370/6
Tom Finegan [Wed, 22 Feb 2012 20:58:39 +0000 (15:58 -0500)]
Add script to read version/ID from bundle plist.

Change-Id: Idc133de36ae2369331c190f0197fb820bf6b0d47

3 years agoAdd utility script/stop duping tiny bash funcs. 34/16434/5
Tom Finegan [Wed, 22 Feb 2012 23:09:34 +0000 (18:09 -0500)]
Add utility script/stop duping tiny bash funcs.

Well, add the utility script anyway. Removing duped stuff comes
in subsequent commits.

Change-Id: Icf16a0e61402d660a72136c3777bf9047a39a97b

3 years agoAdd update installers to installer build script. 94/16194/1
Tom Finegan [Fri, 17 Feb 2012 23:35:24 +0000 (18:35 -0500)]
Add update installers to installer build script.

Also adds some simple optional command line args:
- passing no params or passing "all" will build all installers
  and show the warning about mpkg builds.
- passing "webm" will build the webm installer and updater
- passing "xiph" will build the xiphqt installer and updater

Change-Id: Id5c970fcadd0d4c304c4493c31205c3de851b95c

3 years agoAdd update installers. 93/16193/1
Tom Finegan [Fri, 17 Feb 2012 23:32:21 +0000 (18:32 -0500)]
Add update installers.

Add separate update installer projects for the Xiph and WebM
components. This allows per component auto update instead of
sending a dmg containing both components for each update.

Change-Id: I301203c68181f2cd24341bb85dd3aad9d00aacd7

3 years agoAdd temporary readme contents. 92/16192/1
Tom Finegan [Fri, 17 Feb 2012 23:29:50 +0000 (18:29 -0500)]
Add temporary readme contents.

Change-Id: Id73f5bba29d3fd6b2418f552464601728180280d

3 years agoIgnore installer build output. 91/16191/1
Tom Finegan [Fri, 17 Feb 2012 23:29:28 +0000 (18:29 -0500)]
Ignore installer build output.

Change-Id: Iebf9c9ee99cc33561a3e8380bca7ffdcec845705

3 years agoFix nits on the advanced VP8 export dialog. 40/16140/2
Tom Finegan [Fri, 17 Feb 2012 17:31:36 +0000 (12:31 -0500)]
Fix nits on the advanced VP8 export dialog.

- Correct order of OK and Cancel buttons.
- Correct 2 pass rate controls label.
- Fix alignment of controls/widgets in form.
- Set button type of OK to default (makes <enter> key work).
- Set Cancel button type to cancel (makes <esc> key work).
- Fixes issue http://code.google.com/p/webm/issues/detail?id=239

Change-Id: Ie913bc713bb534914f8f9e2fffbc0fe6f666cc3d

3 years agoDefine kWebmExportBundleID in only one place. 33/16133/2
Tom Finegan [Fri, 17 Feb 2012 17:06:06 +0000 (12:06 -0500)]
Define kWebmExportBundleID in only one place.

- Removes an unexplained TODO.
- Corrects the name used in the ifdef wrapping the kWebmExportBundleID

Change-Id: I7f5cb62db0e29876e1ed47aea6856ff28b63df9d

3 years agoFix executable name in Info.plist. 32/16132/1
Tom Finegan [Fri, 17 Feb 2012 16:35:56 +0000 (11:35 -0500)]
Fix executable name in Info.plist.

Use of the wrong name prevented load of the component by

Change-Id: I03493ecae4c45c3068f50860c2f0c077ee372619

3 years agoAdd DMG build script. 82/15782/2
Tom Finegan [Mon, 13 Feb 2012 22:35:08 +0000 (17:35 -0500)]
Add DMG build script.

Simple script for automating creation of the installer DMG file.

Change-Id: I7f3b03d4c5cf573fc8efdea0c181e81460f859b4

3 years agothird_party/yoursway-create-dmg: add create-dmg. 81/15781/1
Tom Finegan [Mon, 13 Feb 2012 22:33:08 +0000 (17:33 -0500)]
third_party/yoursway-create-dmg: add create-dmg.

Add DMG creation script. See README.webmquicktime for source URL
and git hash. See License.txt for create-dmg license.

Change-Id: I09045dedc8bcc9600029f74bb0748322824d53e1

3 years agoAdd uninstaller. 32/15632/16
Tom Finegan [Thu, 9 Feb 2012 23:41:19 +0000 (18:41 -0500)]
Add uninstaller.

Simple apple script invokes a shell script as administrator to
delete the components, unregister them from keystone, and
remove their package IDs from the package receipt database.

Intended for inclusion in the disk image side-by-side with the
installation package.

Change-Id: I946bf3e32e77a8a62c32b433421cfd20f2a5d78c

3 years agoRewrite installer, add XiphQT and updater. 32/15532/11
Tom Finegan [Wed, 8 Feb 2012 22:05:12 +0000 (17:05 -0500)]
Rewrite installer, add XiphQT and updater.

Add separate installers for the XiphQT and WebM components, and a
third installer that installs the GoogleSoftwareUpdate, XiphQT, WebM

Add preinstall scripts for each QuickTime component. Both remove
existing versions of the component being installed. Note that the
preinstall scripts are also run at preupgrade time.

Add GoogleSoftwareUpdate.pkg and contents to provide automatic
updates after WebM QuickTime package installation.

Add postinstall scripts to register each component with the updater.
Note that the postinstall scripts are also run at postupgrade time.

Add a build script for creation of the XiphQT and WebM component
installers. The final installer must be built manually-- this is
because PackageMaker *always* crashes when attempting to build the
package on the command line.

Delete the original installer.

Change-Id: Iadfd80befb61d4431164dbc1da9b5ac49f51355c

3 years agothird_party/google: Add updater package. 17/15617/1
Tom Finegan [Thu, 9 Feb 2012 21:58:44 +0000 (16:58 -0500)]
third_party/google: Add updater package.

Change-Id: I3b9310bbfacee2383a82f86bd396217dcf098d05

3 years agoAdd .DS_Store files to gitignore. 16/15616/1
Tom Finegan [Thu, 9 Feb 2012 22:06:36 +0000 (17:06 -0500)]
Add .DS_Store files to gitignore.

Change-Id: Ib5149987d3bc0f843bf3e438ef51928f63b068ed

3 years agoChange bundle name to AWebM.component. 31/15531/2
Tom Finegan [Wed, 8 Feb 2012 22:01:22 +0000 (17:01 -0500)]
Change bundle name to AWebM.component.

This causes the WebM QuickTime components to be loaded
before Perian, which avoids playback performance
problems observed in Safari when using <video> elements
containing WebM sources.

Also removes pointless post build attempt to copy component
bundle to /Library/QuickTime-- it works only if building
the component bundle as root (which seems a little bit

Change-Id: If678981e702a52529f965b21f626b0a79fc35173

3 years agoChange bundle identifier and update version. 30/15530/2
Tom Finegan [Wed, 8 Feb 2012 21:57:50 +0000 (16:57 -0500)]
Change bundle identifier and update version.

Also adds a get info string.

Change-Id: Ia32d4cf363cf1a9479cd99179287456c12be5a95

3 years agothird_party/xiphqt: add v0.1.9 XiphQT component. 47/15347/1
tomfinegan [Mon, 6 Feb 2012 16:00:58 +0000 (11:00 -0500)]
third_party/xiphqt: add v0.1.9 XiphQT component.

Add XiphQT component bundle and license files.

Change-Id: I27a114b77e6d1c2cf50f4d2e5c18c2976825dcf0

3 years agoMerge "Re-write parts of the importer component."
Tom Finegan [Tue, 25 Oct 2011 22:52:29 +0000 (15:52 -0700)]
Merge "Re-write parts of the importer component."

3 years agoRe-write parts of the importer component. 69/10169/5
Arek Korbik [Fri, 14 Oct 2011 00:16:47 +0000 (02:16 +0200)]
Re-write parts of the importer component.

Update the WebM parsing code to be able to handle slow-arriving data,
like network streams, without resorting to blocking in synchronous
read calls.

Modularize the code and re-use as much as possible in both idling and
non-idling  modes.

Add handling for cases where the first WebM cluster has non-zero
timestamp (like live network streams).

Cleanup and fix some existing code and remove
dead-{code,variables,comments}. Reformat where it had to be done.

Change-Id: I9716acd4f11f9aa1a4765baa851fcdbfba899c67

3 years agoMerge "Update git URLs and submodule revisions."
Tom Finegan [Wed, 19 Oct 2011 02:28:53 +0000 (19:28 -0700)]
Merge "Update git URLs and submodule revisions."

3 years agoUpdate git URLs and submodule revisions. 16/9716/2
Arek Korbik [Fri, 7 Oct 2011 14:08:18 +0000 (16:08 +0200)]
Update git URLs and submodule revisions.

Change-Id: I3a6b54eed200a19f87368145b01e878789833d4a

3 years agoAdd lacing support. 19/8919/2
Arek Korbik [Thu, 6 Oct 2011 22:31:42 +0000 (00:31 +0200)]
Add lacing support.

Synthetize durations for samples coming from laced blocks - roughly,
divide the duration of the block by the number of the contained frames.
Set "not-key-frame" flag to ensure proper synchronization when seeking.

Fixes issue #220.

Change-Id: Ib0d3fefc1b290971baae3625e948ec449b18eb74

3 years agoFix the code calculating sample durations. 11/7711/6
Arek Korbik [Mon, 5 Sep 2011 20:09:04 +0000 (22:09 +0200)]
Fix the code calculating sample durations.

Use rounded sample positions instead of rounding durations while
converting between time scales - preserve the correct track durations
and a/v sync.

Refactor and clean-up the code in question, while at it.

Change-Id: I6782aa217f711df2ec05e22ef74e00986e28eb41

3 years agoMake importer use duration placeholder tracks. 10/7710/4
Arek Korbik [Fri, 2 Sep 2011 00:56:35 +0000 (02:56 +0200)]
Make importer use duration placeholder tracks.

Make the importer component create a temporary placeholder track
to indicate file's total duration before it's completely loaded -
so that QuickTime can show the importing progress in the UI.

Change-Id: Ic30432e518de6f27768424fb79cc72d319920add

3 years agoImprove progressive import playback performance. 09/7709/2
Arek Korbik [Wed, 31 Aug 2011 20:44:19 +0000 (22:44 +0200)]
Improve progressive import playback performance.

Limit the rate at which sample references are inserted into QuickTime
structures: at around once in 1.5 seconds when the movie is not playing,
otherwise only if the playhead gets closer than 5 seconds to the end
of the already added data.

Almost completely fixes issue #246.

Change-Id: Ic80f0bbb4a4e1a352041b28ac39f7e6e94879596

3 years agoUpdate logging code. 08/7708/1
Arek Korbik [Tue, 30 Aug 2011 20:21:46 +0000 (22:21 +0200)]
Update logging code.

Make the main debug logging routine not open and close the log file
on every single log line. Also, annotate the dbg_printf() with format
__attribute__, so the gcc will issue format/type warnings during
compilation. Also, remove some dead code.

Update WebMImport.cpp to fix the log-line compiler warnings.

Change-Id: I9f0e317387fb616bbe492b85b27c941fe9118414

3 years agoRemove dead code and normalize white space. 07/7707/1
Arek Korbik [Tue, 30 Aug 2011 17:18:59 +0000 (19:18 +0200)]
Remove dead code and normalize white space.

Change-Id: I6e60f1ecbaa28f6e0b6b3e85683c0ab497253f2d

3 years agoFix off-by-one bug in the importer's reader. 06/7706/1
Arek Korbik [Mon, 29 Aug 2011 20:18:31 +0000 (22:18 +0200)]
Fix off-by-one bug in the importer's reader.

Make sure the WebM importer's buffering IMkvReader implementation
doesn't read past the buffer end and doesn't feed garbage to libwebm
causing seemingly random aborts.

Fixes issue #324.

Change-Id: I0502c8e43df66a570d62f1f961d719f7d387cb01

3 years agoRe-organize build system. 05/7705/1
Arek Korbik [Thu, 18 Aug 2011 14:52:25 +0000 (16:52 +0200)]
Re-organize build system.

Add dependencies as submodules.

Provide Xcode project files for libvpx and libwebm. Update the main
project file to use those to provide 1-click building of the whole
component, including dependencies.

Add a simple Makefile for simple command-line building.

Update the build instructions doc.

Change-Id: I94ea84d69da95b2ec0a564fa0f01e2a6cdc821d7

4 years agoRemoved preview image
Ryan Thompson [Fri, 15 Apr 2011 17:51:00 +0000 (13:51 -0400)]
Removed preview image

This fix resolves bug http://code.google.com/p/webm/issues/detail?id=272
It is not an ideal resolution as it became necessary to remove the preview
in the vp8 video options dialog box.  But no preview is better than crashing.

Change-Id: I624ca08cdb88e1a52f1e78ddf17f00333d3d9ef6

4 years agoUpdated Installer
Ryan Thompson [Tue, 21 Dec 2010 20:11:16 +0000 (15:11 -0500)]
Updated Installer

No more root authentication.  Better permissions. Correct install dir.

Change-Id: I39a1f7325cc2da9c572e5efbc112ff43726eaba6

4 years agocomments
Jeff Koppi [Wed, 9 Feb 2011 20:59:42 +0000 (15:59 -0500)]

Change-Id: I0c217c7356d812430bb95573ea56005ec8770d25

4 years agocode cleanup, add comments
Jeff Koppi [Wed, 9 Feb 2011 16:13:25 +0000 (11:13 -0500)]
code cleanup, add comments

Change-Id: I5c08a7da2b5be4e6bf97e83256328dc51c3d8b9f

4 years agoMerge "increase buffer size. Fix numSamples logic."
Jeff Koppi [Thu, 27 Jan 2011 21:07:51 +0000 (13:07 -0800)]
Merge "increase buffer size. Fix numSamples logic."

4 years agoMerge "tweak buffer algorithm"
Jeff Koppi [Thu, 27 Jan 2011 21:07:41 +0000 (13:07 -0800)]
Merge "tweak buffer algorithm"

4 years agoMerge "Async read loads buffer, sync read consumes."
Jeff Koppi [Thu, 27 Jan 2011 21:07:34 +0000 (13:07 -0800)]
Merge "Async read loads buffer, sync read consumes."

4 years agoMerge "MkvBufferedReaderQT class"
Jeff Koppi [Thu, 27 Jan 2011 21:07:27 +0000 (13:07 -0800)]
Merge "MkvBufferedReaderQT class"

4 years agoincrease buffer size. Fix numSamples logic.
Jeff Koppi [Wed, 26 Jan 2011 20:42:39 +0000 (15:42 -0500)]
increase buffer size. Fix numSamples logic.

Change-Id: I8ffebf009da4cf07f542cd2a899aa97429ceb9ce

4 years agoadd consts to satisfy latest libwebm
Jeff Koppi [Tue, 25 Jan 2011 23:10:02 +0000 (18:10 -0500)]
add consts to satisfy latest libwebm

Change-Id: I9945b9927b3cac86cb7051cd08d48037db74ea7a

4 years agotweak buffer algorithm
Jeff Koppi [Wed, 22 Dec 2010 21:18:15 +0000 (16:18 -0500)]
tweak buffer algorithm

Change-Id: Ie8a2c87ffe48a2b260c41d9236a3c56bb04a1861

4 years agoFixed metadata framerate writing problem
Ryan Thompson [Tue, 21 Dec 2010 16:05:23 +0000 (11:05 -0500)]
Fixed metadata framerate writing problem

By moving the function where framerate is derived, the correct
framerate is now written into metadata.
-amend removed whitespace.
Change-Id: Ic7841787e9faf9885e377ab7cd604d79288b0082

4 years agoFixed typo in WebMMux, Fixed typo in installer
Ryan Thompson [Mon, 20 Dec 2010 16:19:20 +0000 (11:19 -0500)]
Fixed typo in WebMMux, Fixed typo in installer

Minor edits to remove whitespace, edit grammar error in installer.

Change-Id: Ie0e61050046c36a4a9c1749f4cfd86537b19584a

4 years agoFixed installer formatting
Ryan Thompson [Fri, 17 Dec 2010 22:02:31 +0000 (17:02 -0500)]
Fixed installer formatting

Removed line breaks from eula.

Change-Id: I5cf7cc42d8f13c468977d03bfa65741fa1395c32

4 years agoGet Frame Rate from Component Instance
Ryan Thompson [Fri, 17 Dec 2010 21:45:29 +0000 (16:45 -0500)]
Get Frame Rate from Component Instance

Previously, I'd been using the input stream to estimate framerate.
Now I can more accurately retrieve it from the component.

Change-Id: I4eecc5d43e1ef863d13be5976e23af59f28ec85f

4 years agoAsync read loads buffer, sync read consumes.
Jeff Koppi [Fri, 17 Dec 2010 19:14:56 +0000 (14:14 -0500)]
Async read loads buffer, sync read consumes.

Change-Id: I390363506200b9464755fed03a3d2a92efaf48e2

4 years agoAdded Installer
Ryan Thompson [Wed, 15 Dec 2010 21:26:42 +0000 (16:26 -0500)]
Added Installer

This is an installer that will copy the component to
the /Library/QuickTime/ directory.

Change-Id: Id938f45b662c027fd4fe73bbf6509986491ee2a3

4 years agoFixed an encoder endless loop condition
Ryan Thompson [Wed, 15 Dec 2010 15:47:42 +0000 (10:47 -0500)]
Fixed an encoder endless loop condition

When a queue of data was empty it was still being viewed.
This is now ignored.

Change-Id: I6e7ccd9dfe21856af32803065da1b8267ba60cce

4 years agoMkvBufferedReaderQT class
Jeff Koppi [Tue, 14 Dec 2010 20:20:52 +0000 (15:20 -0500)]
MkvBufferedReaderQT class

Change-Id: Ie6ccc26a1d6eabd71db1d92f1ac5d39d45954ba4

4 years agofix regression issue 241, dont dispatch GetMaxLoaded
Jeff Koppi [Fri, 3 Dec 2010 20:51:43 +0000 (15:51 -0500)]
fix regression issue 241, dont dispatch GetMaxLoaded

Change-Id: Id914ed307763708c2ceea92ce3531c34372dffca

4 years agoAdded Altref redraw
Ryan Thompson [Mon, 22 Nov 2010 18:06:46 +0000 (13:06 -0500)]
Added Altref redraw

When altref frames are encountered QT
still wants to draw a frame, this is problematic.
To overcome this, previously decoded frames are redrawn
in the case of altref frames.
edit: removed trailing whitespace and tabs

Change-Id: I6026cd46573efd01e652355d97121dcd1d966bcb

4 years agoFix thng resource fields.
Jeff Koppi [Fri, 12 Nov 2010 19:36:22 +0000 (14:36 -0500)]
Fix thng resource fields.

Change-Id: I62f3ae9ce0850311203a5a1c97e23083a80f43bd

4 years agofix getMimeType. add validate() and validateDataRef()
Jeff Koppi [Wed, 10 Nov 2010 23:06:03 +0000 (18:06 -0500)]
fix getMimeType. add validate() and validateDataRef()

Change-Id: I11c1fb38df3ce10e7417ca08182afa2bbdb53eb0

4 years agoadd WebMImport.cpp to target again. Fix merge problem.
Jeff Koppi [Wed, 10 Nov 2010 19:48:03 +0000 (14:48 -0500)]
add WebMImport.cpp to target again.  Fix merge problem.

Change-Id: I66503116d15a00b408a8c41efa723df8af16d200

4 years agoRemoved trailing whitespace. Changed Cluster references to const.
Ryan Thompson [Wed, 10 Nov 2010 15:07:59 +0000 (10:07 -0500)]
Removed trailing whitespace.  Changed Cluster references to const.

This commit contains 2 changes.  First Clusters are now const,
this seems correct as no editing of the clusters should be done
as they are just read from a file.  I also used a script to remove
trailing white space.

Change-Id: I165c2121c1a19131c8aac3d9a9c211e91281453c

4 years agoMerge branch 'master' of ssh://review.webmproject.org:29418/webmquicktime
Ryan Thompson [Fri, 5 Nov 2010 17:54:12 +0000 (13:54 -0400)]
Merge branch 'master' of ssh://review.webmproject.org:29418/webmquicktime

4 years agoMerge branch 'altref'
Ryan Thompson [Fri, 5 Nov 2010 17:49:34 +0000 (13:49 -0400)]
Merge branch 'altref'

This is a major rewrite of the muxer and the encoder to allow drop frames and
alt-ref frames.

Change-Id: I44d74451326a3d0749e42393636afc69cb5d177c

4 years agoRemoved bad debug messages.
Ryan Thompson [Fri, 5 Nov 2010 14:24:49 +0000 (10:24 -0400)]
Removed bad debug messages.

Change-Id: I9fdd4f7bbcdb626da91958f8f6c82d276ec06c5b

4 years agoFixed altref to work
Ryan Thompson [Fri, 5 Nov 2010 14:17:21 +0000 (10:17 -0400)]
Fixed altref to work

The workaround is like this.  Whenever an altref frame is received, data from the altref
frame and a data size is prepended to the interframe data.

The muxer must then parse this and break the altref frame up.  This is not an ideal workaround
as now non WebM muxers will run into errors in using altref frames with the vp8 encoder.  As quicktime
requires input frames to be matched with output frames, there is really no other way to do this
than to have special knowledge of the creation of altref frames within the muxer.

Change-Id: I41624c53d5e4369b53198d67b19d20f97b48b022

4 years agoUse new libwebm Block::GetFrameCount().
Jeff Koppi [Thu, 4 Nov 2010 20:51:14 +0000 (16:51 -0400)]
Use new libwebm Block::GetFrameCount().

Change-Id: Ic3a8270a58a02393f86420db0cc3284927ef0b7e

4 years agoChanged some debug messages
Ryan Thompson [Tue, 2 Nov 2010 19:20:00 +0000 (15:20 -0400)]
Changed some debug messages

Change-Id: I3f890996398b079fd799fca8477eda2220c617e0

4 years agoAdded Alt ref write
Ryan Thompson [Tue, 2 Nov 2010 13:30:53 +0000 (09:30 -0400)]
Added Alt ref write

The simple block call needs to set the invisible flag.

Change-Id: I90fda4bf5a0030edaaf89d6c2e7c4989be203aad

4 years agoFix audio insert fail. Use audioMaxLoaded for insertion time.
Jeff Koppi [Tue, 2 Nov 2010 13:30:47 +0000 (09:30 -0400)]
Fix audio insert fail.  Use audioMaxLoaded for insertion time.

Change-Id: I6c0cd685c9b270b3c9945106c666bd6ed79a6aa6

4 years agoAdded Invisible parameter
Ryan Thompson [Tue, 2 Nov 2010 13:28:58 +0000 (09:28 -0400)]
Added Invisible parameter

When writing simple block it is important to set the invisible
flag when writing alt ref frames.

Change-Id: I5f07e88bb6dcb71088a98fc9df8d1f2308efb518

4 years agoMerge branch 'idleimport'
Jeff Koppi [Fri, 29 Oct 2010 19:06:18 +0000 (15:06 -0400)]
Merge branch 'idleimport'


Change-Id: Ic5c73bf04225d11d0b02ea10b55d9df32f9094fb

4 years agoIdling Importer flag on.
Jeff Koppi [Fri, 29 Oct 2010 19:03:10 +0000 (15:03 -0400)]
Idling Importer flag on.

Change-Id: Iec1319d1146d902735f375e85d17ee747573da67

4 years agoFixed 2 pass
Ryan Thompson [Fri, 29 Oct 2010 17:12:09 +0000 (13:12 -0400)]
Fixed 2 pass

There were a few bugs introduced with the lagged encode changes.
Amoung those fixed were generalizing streams, not queuing first
pass source frames, and correctly terminating passes.

Change-Id: Iaf6a82cd7b3e78732dcc2caa8cc94665ba364b07

4 years agoFixed bug with dropped frame detection
Ryan Thompson [Thu, 28 Oct 2010 20:51:51 +0000 (16:51 -0400)]
Fixed bug with dropped frame detection

Change-Id: I1edf88c995799fbeeb2dc7166387ac3e2440024a

4 years agoMerge branch 'idleimport'
Jeff Koppi [Thu, 28 Oct 2010 20:09:11 +0000 (16:09 -0400)]
Merge branch 'idleimport'


Change-Id: I18e40634e9ec6796f2ad8457926a9cef19873264

4 years agoAllocate MkvReaderQT on heap to fix crash when idling.
Jeff Koppi [Thu, 28 Oct 2010 19:57:57 +0000 (15:57 -0400)]
Allocate MkvReaderQT on heap to fix crash when idling.

Change-Id: I06553f176bb0ef7c04093aaff09dd9e604b7cdb9

4 years agoModified frame queue, added frame drop function
Ryan Thompson [Thu, 28 Oct 2010 16:20:33 +0000 (12:20 -0400)]
Modified frame queue, added frame drop function

By keeping track of frames in and out of the source frame queue
I can determine if frames are dropped or altref.

Change-Id: Ia97c5d4608c58a0b2bc527352efc341b2038ef9d

4 years agowhitespace
Jeff Koppi [Wed, 27 Oct 2010 18:08:19 +0000 (14:08 -0400)]

Change-Id: Id522967c782d12c8cee4469f398553fa4854128e

4 years agofix trailing whitespace formatting issues.
Jeff Koppi [Wed, 27 Oct 2010 17:05:43 +0000 (13:05 -0400)]
fix trailing whitespace formatting issues.

Change-Id: Ibb10262c7193004db4f4d556666b75c1fdd6d6ab

4 years agoPass videoMaxLoaded to InsertMediaIntoTrack() instead of calculating.
Jeff Koppi [Wed, 27 Oct 2010 14:21:40 +0000 (10:21 -0400)]
Pass videoMaxLoaded to InsertMediaIntoTrack() instead of calculating.

Change-Id: Id6855a45e7625fa1ae4f557174fd840d4b02c85e

4 years agoFixed bug with multiple clusters coming from a single keyframe.
Ryan Thompson [Tue, 26 Oct 2010 20:14:41 +0000 (16:14 -0400)]
Fixed bug with multiple clusters coming from a single keyframe.

Audio frames were triggering new clusters.  This is fixed.

Change-Id: I0362fe76ae8714951b02e0b04626b12c83858a82

4 years agoFixed termination of video stream.
Ryan Thompson [Tue, 26 Oct 2010 19:38:51 +0000 (15:38 -0400)]
Fixed termination of video stream.

Previously it was not marked complete at the correct time.

Change-Id: I888c0b1d4cfd9c6ed33a6411bfb3ccde600a12e4

4 years agoSeparated termination condition into its own function
Ryan Thompson [Tue, 26 Oct 2010 19:37:06 +0000 (15:37 -0400)]
Separated termination condition into its own function

Change-Id: I02e34132a4bbadaced4cdaaa80016ef2a0b505f8

4 years agoFixed tabs and changed flags to UInt16
Ryan Thompson [Tue, 26 Oct 2010 19:36:34 +0000 (15:36 -0400)]
Fixed tabs and changed flags to UInt16

Change-Id: I917645f2bb6e8644c2f80b80bad478c6bef42868

4 years agoFixed keyframe bug
Ryan Thompson [Tue, 26 Oct 2010 19:34:18 +0000 (15:34 -0400)]
Fixed keyframe bug

I don't know how this ever worked.  Keyframe comparison was very wrong.  It is now fixed.

Change-Id: Ide205a56d11bb9f87d9ae2eaac4c8c118b09e579

4 years agoRemoved commented out WebMElement code
Ryan Thompson [Mon, 25 Oct 2010 17:09:56 +0000 (13:09 -0400)]
Removed commented out WebMElement code

I removed code that hasn't been used in a long time.

Change-Id: I55f4956f99d74d20294b982767995acb04490169

4 years agoMade fix so that correct time stamps are used
Ryan Thompson [Fri, 22 Oct 2010 20:06:56 +0000 (16:06 -0400)]
Made fix so that correct time stamps are used

Change-Id: I39278e6bf7d195ebcc4e0faa0953f63f8c723d7a

4 years agodefer adding last block of each cluster
Jeff Koppi [Fri, 22 Oct 2010 20:06:41 +0000 (16:06 -0400)]
defer adding last block of each cluster

Change-Id: I661a1a2dc795870b029b9d14455dc7beeda64378

4 years agoFixed bugs with time and initializations
Ryan Thompson [Fri, 22 Oct 2010 20:05:36 +0000 (16:05 -0400)]
Fixed bugs with time and initializations

Change-Id: I0c73b3153169671ea27fbd551ba014296ade164c

4 years agoUpdated structures
Ryan Thompson [Fri, 22 Oct 2010 20:04:52 +0000 (16:04 -0400)]
Updated structures

Change-Id: Ia76d6aa7646f7b677240f5d719ded5c3a19413a9

4 years agoremoved unused frameIndx
Ryan Thompson [Fri, 22 Oct 2010 20:03:59 +0000 (16:03 -0400)]
removed unused frameIndx

Change-Id: I594818819504ff867790bc8b107a3376565985ec