diff options
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r-- | src/xine-engine/xine.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 694729a66..40164625b 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.c,v 1.71 2001/10/20 22:18:59 miguelfreitas Exp $ + * $Id: xine.c,v 1.72 2001/10/22 17:10:21 guenter Exp $ * * top-level xine functions * @@ -671,3 +671,9 @@ void xine_get_audio_lang (xine_t *this, char *str) { } +int xine_is_stream_seekable (xine_t *this) { + + if (this->cur_input_plugin) + return this->cur_input_plugin->get_capabilities (this->cur_input_plugin) & INPUT_CAP_SEEKABLE; + return 0; +} |