dvr: PVR Playback, write libdvr code and porting Irdeto HAL [1/2]
PD#SWPL-20658
Problem:
PVR Playback, write libdvr code and porting Irdeto HAL
Solution:
porting tsplayer to playback.hal test case is passed.
Verify:
Android Q + AC214
Change-Id: Ib0edce13060ca8f71e7e5ec4207ea310b42bcf76
Signed-off-by: hualing chen <hualing.chen@amlogic.com>
diff --git a/include/segment.h b/include/segment.h
index ee0011c..ef4d267 100644
--- a/include/segment.h
+++ b/include/segment.h
@@ -124,6 +124,14 @@
*/
int segment_delete(const char *location, uint64_t segment_id);
+/**\brief check the segment is ongoing file
+ * \param[in] handle, The segment handle
+ * \return DVR_SUCCESS On success
+ * \return Error code not ongoing
+ */
+int segment_ongoing(Segment_Handle_t handle);
+
+
#ifdef __cplusplus
}
#endif