summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/video_decoder.c')
-rw-r--r--src/xine-engine/video_decoder.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c
index 74c7271a3..0d6fe341d 100644
--- a/src/xine-engine/video_decoder.c
+++ b/src/xine-engine/video_decoder.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: video_decoder.c,v 1.42 2001/08/20 23:00:05 jcdutton Exp $
+ * $Id: video_decoder.c,v 1.43 2001/08/25 08:48:12 guenter Exp $
*
*/
@@ -56,6 +56,9 @@ void *video_decoder_loop (void *this_gen) {
video_decoder_t *decoder;
spu_decoder_t *spu_decoder;
+
+ profiler_start_count (0);
+
while (running) {
/* printf ("video_decoder: getting buffer...\n"); */
@@ -138,9 +141,7 @@ void *video_decoder_loop (void *this_gen) {
}
- profiler_start_count (0);
decoder->decode_data (this->cur_video_decoder_plugin, buf);
- profiler_stop_count (0);
}
break;
@@ -191,6 +192,8 @@ void *video_decoder_loop (void *this_gen) {
buf->free_buffer (buf);
}
+ profiler_stop_count (0);
+
pthread_exit(NULL);
}