changeset 33686:74fa17c7b9b8

Prefer previously assigned guiInfo.StreamTyp over stream->type.
author ib
date Wed, 29 Jun 2011 10:51:22 +0000
parents ca6c9a80a062
children f23d139ded5b
files gui/interface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Wed Jun 29 10:49:43 2011 +0000
+++ b/gui/interface.c	Wed Jun 29 10:51:22 2011 +0000
@@ -658,7 +658,7 @@
         stream = arg;
         guiInfo.StreamType = stream->type;
 
-        switch (stream->type) {
+        switch (guiInfo.StreamType) {
 #ifdef CONFIG_DVDREAD
         case STREAMTYPE_DVD:
             guiGetEvent(guiSetDVD, stream->priv);