summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine.c
diff options
context:
space:
mode:
authorReinhard Nißl <rnissl@gmx.de>2007-04-15 22:40:17 +0200
committerReinhard Nißl <rnissl@gmx.de>2007-04-15 22:40:17 +0200
commit6792a60680e087e02a59cf2a0f29774bee92f9fb (patch)
treeaa5518172f6d20a6a5122f542eb1c11d981c0326 /src/xine-engine/xine.c
parent1429f567495c43bed8538a911bbc63fe5945b5d9 (diff)
downloadxine-lib-6792a60680e087e02a59cf2a0f29774bee92f9fb.tar.gz
xine-lib-6792a60680e087e02a59cf2a0f29774bee92f9fb.tar.bz2
Provide some internal functions to be used by input_vdr.
These functions are likely to be removed later when more correct solutions have been found.
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r--src/xine-engine/xine.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 840c91f3f..82d6d758f 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -2190,3 +2190,26 @@ int _x_query_unprocessed_osd_events(xine_stream_t *stream)
return redraw_needed;
}
+
+int _x_demux_seek(xine_stream_t *stream, off_t start_pos, int start_time, int playing)
+{
+ if (!stream->demux_plugin)
+ return -1;
+ return stream->demux_plugin->seek(stream->demux_plugin, start_pos, start_time, playing);
+}
+
+int _x_continue_stream_processing(xine_stream_t *stream)
+{
+ return stream->status != XINE_STATUS_STOP
+ && stream->status != XINE_STATUS_QUIT;
+}
+
+void _x_trigger_relaxed_frame_drop_mode(xine_stream_t *stream)
+{
+ stream->first_frame_flag = 2;
+}
+
+void _x_reset_relaxed_frame_drop_mode(xine_stream_t *stream)
+{
+ stream->first_frame_flag = 1;
+}