From: Michael R. <mr...@us...> - 2002-09-09 15:17:16
|
Update of /cvsroot/xine/xine-ui/src/xitk In directory usw-pr-cvs1:/tmp/cvs-serv28340/src/xitk Modified Files: actions.c Log Message: seeking in stopped streams works now Index: actions.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/actions.c,v retrieving revision 1.82 retrieving revision 1.83 diff -u -r1.82 -r1.83 --- actions.c 7 Sep 2002 21:00:59 -0000 1.82 +++ actions.c 9 Sep 2002 15:17:13 -0000 1.83 @@ -388,6 +388,9 @@ if(!xine_get_stream_info(gGui->xine, XINE_STREAM_INFO_SEEKABLE) || (gGui->ignore_status == 1)) return; + + if(xine_get_status(gGui->xine) != XINE_STATUS_PLAY) + xine_open(gGui->xine, gGui->filename); gGui->ignore_status = 1; @@ -402,6 +405,9 @@ int err; if(!xine_get_stream_info(gGui->xine, XINE_STREAM_INFO_SEEKABLE) || (gGui->ignore_status == 1)) + return; + + if(xine_get_status(gGui->xine) != XINE_STATUS_PLAY) return; gGui->ignore_status = 1; |