stop the playback with loadfile because all streams are not seekable
authorMathieu Schroeter <mathieu.schroeter@mycable.ch>
Tue Mar 04 22:05:22 2008 +0100 (23 months ago)
changeset 23739c1e16381fd
parent 2369cb52ea195fd
child 2384a972586b12e
stop the playback with loadfile because all streams are not seekable
src/wrapper_mplayer.c
       1 --- a/src/wrapper_mplayer.c	Tue Mar 04 21:26:31 2008 +0100
       2 +++ b/src/wrapper_mplayer.c	Tue Mar 04 22:05:22 2008 +0100
       3 @@ -554,8 +554,7 @@
       4      break;
       5  
       6    case SLAVE_STOP:
       7 -    slave_set_property_int (player, PROPERTY_LOOP, -1);
       8 -    send_to_slave (mplayer, "seek 100.00 1");
       9 +    send_to_slave (mplayer, "loadfile \"\"");
      10  
      11      /* wait that the thread will found the EOF */
      12      sem_wait (&mplayer->sem);