summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/emotion_smart.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2004-07-23 03:15:30 +0000
committerCarsten Haitzler <raster@rasterman.com>2004-07-23 03:15:30 +0000
commite9e141a84455b5e1f9809f2f75c326706119d3ec (patch)
tree14f6c4091e0393c4b23b4b70015d6603c7c554ba /legacy/emotion/src/lib/emotion_smart.c
parent581c097de2dac4fff3699787548896648c5c80d3 (diff)
1. create new xine_t per video - xine has a single internal clock so pause 1
video - all pause as clock stops. xine issue - but this works around it. SVN revision: 10971
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index 89ca196fb0..f8d7552f2d 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -168,9 +168,10 @@ emotion_object_file_set(Evas_Object *obj, const char *file)
168 int w, h; 168 int w, h;
169 169
170 sd->file = strdup(file); 170 sd->file = strdup(file);
171 if (sd->video) 171 if ((sd->video) && (sd->module))
172 { 172 {
173 sd->module->file_close(sd->video); 173 sd->module->file_close(sd->video);
174 sd->video = NULL;
174 evas_object_image_size_set(sd->obj, 0, 0); 175 evas_object_image_size_set(sd->obj, 0, 0);
175 } 176 }
176 if (sd->module) _emotion_module_close(sd->module); 177 if (sd->module) _emotion_module_close(sd->module);
@@ -191,6 +192,7 @@ emotion_object_file_set(Evas_Object *obj, const char *file)
191 if (sd->video) 192 if (sd->video)
192 { 193 {
193 sd->module->file_close(sd->video); 194 sd->module->file_close(sd->video);
195 sd->video = NULL;
194 evas_object_image_size_set(sd->obj, 0, 0); 196 evas_object_image_size_set(sd->obj, 0, 0);
195 } 197 }
196 if (sd->module) _emotion_module_close(sd->module); 198 if (sd->module) _emotion_module_close(sd->module);