From 5b3f5c54f11adec2a2b0b747b9fc86678f32b8c7 Mon Sep 17 00:00:00 2001 From: vivek mehta Date: Tue, 4 Dec 2012 20:57:49 -0800 Subject: libstagefright: Add support to seek to zero - Add CAN_SEEK_TO_ZERO flag in MediaExtractor to allow seek to zero, when previous button is pressed, for clip that can't be seeked. Change-Id: Ic2761cc5bac2403ee1339da77ad02fde942a3437 --- include/media/stagefright/MediaExtractor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/media/stagefright/MediaExtractor.h b/include/media/stagefright/MediaExtractor.h index 94090ee..a458284 100644 --- a/include/media/stagefright/MediaExtractor.h +++ b/include/media/stagefright/MediaExtractor.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2009 The Android Open Source Project + * Copyright (c) 2012, The Linux Foundation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,6 +50,7 @@ public: CAN_SEEK_FORWARD = 2, // the "seek 10secs forward button" CAN_PAUSE = 4, CAN_SEEK = 8, // the "seek bar" + CAN_SEEK_TO_ZERO = 16, // the "previous button" }; // If subclasses do _not_ override this, the default is -- cgit v1.1