Commit c55b2310 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

video_view: simplfications

parent e8da5a5a
......@@ -64,16 +64,9 @@ typedef struct video_list_item
void
genlist_item_selected_cb(void *data, Evas_Object *obj, void *event_info)
{
video_list_item *vli = data;
struct stat sb;
stat(vli->p_media_item->psz_path, &sb);
video_list_item *vli = (video_list_item*)data;
//FIXME: This should probably go away since we now have a flattened video list.
if (S_ISREG(sb.st_mode))
{
intf_create_video_player(vli->videoview->p_intf, vli->p_media_item->psz_path);
}
intf_create_video_player(vli->videoview->p_intf, vli->p_media_item->psz_path);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment