diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-02-04 21:24:52 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-02-04 21:24:52 +0000 |
commit | 1e09c9327a5c61b74242e77d90692fb03e61dd26 (patch) | |
tree | 97221562883b024bb3c9a98104cd5bc6612eadc6 /src | |
parent | 1fe4e4910b45da16c96c75845f17dc34b1972059 (diff) | |
download | xine-lib-1e09c9327a5c61b74242e77d90692fb03e61dd26.tar.gz xine-lib-1e09c9327a5c61b74242e77d90692fb03e61dd26.tar.bz2 |
Well, noone seemed to be interrested to fix it....
CVS patchset: 4103
CVS date: 2003/02/04 21:24:52
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 438593817..cd573dd4b 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.226 2003/02/01 19:22:31 guenter Exp $ + * $Id: xine.c,v 1.227 2003/02/04 21:24:52 f1rmb Exp $ * * top-level xine functions * @@ -213,10 +213,10 @@ void xine_stop (xine_stream_t *stream) { pthread_mutex_lock (&stream->frontend_lock); - if (stream->audio_out) + if (stream->audio_out && stream->audio_out->set_flush_mode) stream->audio_out->set_flush_mode (stream->audio_out, 1); - if (stream->video_out) + if (stream->video_out && stream->video_out->set_flush_mode) stream->video_out->set_flush_mode (stream->video_out, 1); xine_stop_internal (stream); @@ -233,10 +233,10 @@ void xine_stop (xine_stream_t *stream) { if (stream->slave && (stream->slave_affection & XINE_MASTER_SLAVE_STOP)) xine_stop(stream->slave); - if (stream->video_out) + if (stream->video_out && stream->video_out->set_flush_mode) stream->video_out->set_flush_mode (stream->video_out, 0); - if (stream->audio_out) + if (stream->audio_out && stream->audio_out->set_flush_mode) stream->audio_out->set_flush_mode (stream->audio_out, 0); pthread_mutex_unlock (&stream->frontend_lock); |