Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: media/mpeg2/mpeg2ts_common.h

Issue 23566013: Mpeg2 TS stream parser for media source. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/mpeg2/mpeg2ts_common.h
diff --git a/native_client_sdk/src/libraries/nacl_io/syscalls/tcflush.c b/media/mpeg2/mpeg2ts_common.h
similarity index 52%
copy from native_client_sdk/src/libraries/nacl_io/syscalls/tcflush.c
copy to media/mpeg2/mpeg2ts_common.h
index 5a59b8b694d99cbd56525eabaaf3277c649b4211..52a8c5b34439149343aeb086738a0050808100ae 100644
--- a/native_client_sdk/src/libraries/nacl_io/syscalls/tcflush.c
+++ b/media/mpeg2/mpeg2ts_common.h
@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "nacl_io/kernel_intercept.h"
-#include "nacl_io/ostermios.h"
+#ifndef MEDIA_MPEG2_MPEG2TS_COMMON_H_
+#define MEDIA_MPEG2_MPEG2TS_COMMON_H_
-int tcflush(int fd, int queue_selector) {
- return ki_tcflush(fd, queue_selector);
-}
+#define LOG_LEVEL_TS 5
+#define LOG_LEVEL_PES 4
+#define LOG_LEVEL_ES 3
+#endif

Powered by Google App Engine
This is Rietveld 408576698