parent
eeecc60efc
commit
f7cc0332f5
|
@ -99,7 +99,7 @@ _emotion_module_open(const char *name, Evas_Object *obj, Emotion_Video_Module **
|
||||||
char buf[4096];
|
char buf[4096];
|
||||||
Smart_Data *sd;
|
Smart_Data *sd;
|
||||||
|
|
||||||
E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME);
|
E_SMART_OBJ_GET_RETURN(sd, obj, E_OBJ_NAME, 0);
|
||||||
snprintf(buf, sizeof(buf), "%s%s", PACKAGE_LIB_DIR"/emotion/",
|
snprintf(buf, sizeof(buf), "%s%s", PACKAGE_LIB_DIR"/emotion/",
|
||||||
name);
|
name);
|
||||||
handle = dlopen(buf, RTLD_NOW | RTLD_GLOBAL);
|
handle = dlopen(buf, RTLD_NOW | RTLD_GLOBAL);
|
||||||
|
|
|
@ -450,11 +450,7 @@ static unsigned char
|
||||||
em_file_open(const char *file, Evas_Object *obj, void *ef)
|
em_file_open(const char *file, Evas_Object *obj, void *ef)
|
||||||
{
|
{
|
||||||
Emotion_Xine_Video *ev;
|
Emotion_Xine_Video *ev;
|
||||||
int pos_stream = 0;
|
|
||||||
int pos_time = 0;
|
|
||||||
int length_time = 0;
|
|
||||||
uint32_t v;
|
|
||||||
|
|
||||||
ev = (Emotion_Xine_Video *)ef;
|
ev = (Emotion_Xine_Video *)ef;
|
||||||
if (!ev) return 0;
|
if (!ev) return 0;
|
||||||
_em_slave_event(ev, 2, strdup(file));
|
_em_slave_event(ev, 2, strdup(file));
|
||||||
|
@ -475,9 +471,6 @@ static void
|
||||||
em_play(void *ef, double pos)
|
em_play(void *ef, double pos)
|
||||||
{
|
{
|
||||||
Emotion_Xine_Video *ev;
|
Emotion_Xine_Video *ev;
|
||||||
int pos_stream = 0;
|
|
||||||
int pos_time = 0;
|
|
||||||
int length_time = 0;
|
|
||||||
double *ppos;
|
double *ppos;
|
||||||
|
|
||||||
ev = (Emotion_Xine_Video *)ef;
|
ev = (Emotion_Xine_Video *)ef;
|
||||||
|
|
Loading…
Reference in New Issue