~vcs-imports/smpeg/main

Viewing all changes in revision 283.

  • Committer: icculus
  • Date: 2005-10-12 22:24:55 UTC
  • Revision ID: Arch-1:smpeg@arch.ubuntu.com%smpeg--MAIN--0--patch-282

To: smpeg@icculus.org
From: jorgefm at cirsa.com
Date: Mon, 11 Apr 2005 11:57:09 +0200
Subject: [smpeg] fast exit patch

Hi all,

I'm happy to see smpeg project still alive :-)

I've attached a patch to accelerate the exit from the
audio and video threads when we want to exit. Before
the SDL_WaitThreads i set a flag to force the exit from
the inner loops. I had up to two second delays in the
SMPEG_stop() call!

I hope this help.
Jorge

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: