diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-05-08 17:54:19 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-05-08 17:54:19 +0100 |
commit | 0ad406a1574f74dbe7862f4208704d25d33dcebe (patch) | |
tree | 59e4aaf548e526a3774494dd19410e3f64e059c5 /src/xine-engine/xine.c | |
parent | a1a9eda93b9896d09bf2807842da0a156524cc3d (diff) | |
parent | ad1e119bb1457e9bb26fa75f029e1cbb91190b44 (diff) | |
download | xine-lib-0ad406a1574f74dbe7862f4208704d25d33dcebe.tar.gz xine-lib-0ad406a1574f74dbe7862f4208704d25d33dcebe.tar.bz2 |
Merge VDR support.
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r-- | src/xine-engine/xine.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 3af3f8b13..ce2af52fa 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -2200,3 +2200,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; +} |