summaryrefslogtreecommitdiffstats
path: root/media/base/pipeline.h
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-31 01:18:38 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-31 01:18:38 +0000
commit8ed85f1f705ad8cf647a1e4cb17f00749b370c4e (patch)
tree8ac3c62fbd44396dcc90ccbb012131ab02ea64c9 /media/base/pipeline.h
parent245b3cd59ab5f548431b73ddb71a3e9a38a58d95 (diff)
downloadchromium_src-8ed85f1f705ad8cf647a1e4cb17f00749b370c4e.zip
chromium_src-8ed85f1f705ad8cf647a1e4cb17f00749b370c4e.tar.gz
chromium_src-8ed85f1f705ad8cf647a1e4cb17f00749b370c4e.tar.bz2
FFmpegDemuxer now uses a thread to handle demuxing.
Since FFmpegDemuxer no longer uses the pipeline thread to demuxer, I had to add a WaitableEvent to TestReader to make sure the read completed (or not!). Downside is that the test for when a read is never completed now waits 500ms before timing out. Oh well :( Review URL: http://codereview.chromium.org/55047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/pipeline.h')
-rw-r--r--media/base/pipeline.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index f5b91ff..3b18b81 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -40,6 +40,7 @@ enum PipelineError {
DEMUXER_ERROR_COULD_NOT_OPEN,
DEMUXER_ERROR_COULD_NOT_PARSE,
DEMUXER_ERROR_NO_SUPPORTED_STREAMS,
+ DEMUXER_ERROR_COULD_NOT_CREATE_THREAD,
};
// Base class for Pipeline class which allows for read-only access to members.